IPnpCallbackHardwareInterrupt::OnD0ExitPreInterruptsDisabled method

[Applies to UMDF 1.x only]

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(
  [in] IWDFDevice3            *pInterrupt,
  [in] WDF_POWER_DEVICE_STATE TargetState
);

Parameters

pInterrupt [in]

A pointer to an IWDFDevice3 interface.

TargetState [in]

A WDF_POWER_DEVICE_STATE-typed enumerator 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.

Remarks

For more information, see Enabling and Disabling Interrupts.

Requirements

Target platform

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.11

Header

Wudfddi.h

See also

IPnpCallbackHardwareInterrupt
OnD0EntryPostInterruptsEnabled

 

 

Send comments about this topic to Microsoft

Show: