-
-
[求助]RegisterForDeviceNotifications
-
发表于:
2008-11-21 05:50
8063
-
[求助]RegisterForDeviceNotifications
typedef struct _ACPI_INTERFACE_STANDARD {
//
// Generic interface header
//
USHORT Size;
USHORT Version;
PVOID Context;
PINTERFACE_REFERENCE InterfaceReference;
PINTERFACE_DEREFERENCE InterfaceDereference;
//
// ACPI interfaces
//
PGPE_CONNECT_VECTOR GpeConnectVector;
PGPE_DISCONNECT_VECTOR GpeDisconnectVector;
PGPE_ENABLE_EVENT GpeEnableEvent;
PGPE_DISABLE_EVENT GpeDisableEvent;
PGPE_CLEAR_STATUS GpeClearStatus;
PREGISTER_FOR_DEVICE_NOTIFICATIONS RegisterForDeviceNotifications;
PUNREGISTER_FOR_DEVICE_NOTIFICATIONS UnregisterForDeviceNotifications;
} ACPI_INTERFACE_STANDARD, *PACPI_INTERFACE_STANDARD;
在WDM里面找到这个有趣的struct,看起来是可以透过它来向ACPI driver Register for notification(当然在此之前必须发irp_mj_query_interface给ACPI driver,iocalldriver执行ok),不过对于下述routine的第三个参数意义不甚明了,不知道有没有高手愿意指教(自己反复try了很多次,结果都是blue screen)
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)