IPnpCallbackHardwareInterrupt::OnD0EntryPostInterruptsEnabled 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 OnD0EntryPostInterruptsEnabled event callback function performs device-specific operations that are required when the driver enables the device's hardware interrupts.

Syntax

HRESULT OnD0EntryPostInterruptsEnabled(
       IWDFDevice3            *pDevice,
  [in] WDF_POWER_DEVICE_STATE PreviousState
);

Parameters

pDevice

A pointer to IWDFDevice3 interface.

[in] PreviousState

A WDF_POWER_DEVICE_STATE enumerator value that identifies the previous device power state.

Return value

If successful, OnD0EntryPostInterruptsEnabled 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

See also