How to register acpi event notify?(AcpiInterfaces.RegisterForDeviceNotifications)
问题 now I want to add the function in my acpi driver . the function is:get the BIOS Notify . I search some doc, And Write code NTSTATUS XxxAddDevice( __in struct _DRIVER_OBJECT *DriverObject, __in struct _DEVICE_OBJECT *PhysicalDeviceObject ) { . . . status = STATUS_SUCCESS; DebugPrint(("AddDevice: %p to %p->%p \n",fdo,fdoData->NextLowerDO,PhysicalDeviceObject)); DebugPrint(("DeviceObject Flag = 0x%08x\n",fdo->Flags)); DebugPrint(("DevicePnPState = %d\n", fdoData->DevicePnPState)); { //PACPI