my ifs filter need hardware(USB KEY) Plug Play Notification,i use this function:
DEFINE_GUID(GUID_CLASS_USBKEY, ,0x4d36e967, 0xe325, 0x11ce, 0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18);
return IoRegisterPlugPlayNotification(EventCategoryDeviceInterfaceChange,
PNPNOTIFY_DEVICE_INTERFACE_INCLUDE_EXISTING_INTERFACES,
(PVOID)&GUID_CLASS_USBKEY,
g_KfilterDriverObject,
KfUsbKeyNotification,
NULL,
&g_pNotificationEntry
);
but my filter not receive Plug Play Notification, why?