IPnpCallbackHardwareInterrupt::OnD0ExitPreInterruptsDisabled method (wudfddi.h)
Warning
UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.
A driver's OnD0ExitPreInterruptsDisabled event callback function performs device-specific operations that are required before the driver disables the device's hardware interrupts.
Syntax
HRESULT OnD0ExitPreInterruptsDisabled(
IWDFDevice3 *pDevice,
[in] WDF_POWER_DEVICE_STATE TargetState
);
Parameters
pDevice
A pointer to an IWDFDevice3 interface.
[in] TargetState
A WDF_POWER_DEVICE_STATE enumerator value that identifies the target device power state that the device is about to enter.
Return value
If successful, OnD0ExitPreInterruptsDisabled, returns S_OK. Otherwise, it returns an appropriate failure status.
Requirements
Requirement | Value |
---|---|
End of support | Unavailable in UMDF 2.0 and later. |
Target Platform | Desktop |
Minimum UMDF version | 1.11 |
Header | wudfddi.h |