IWDFInterrupt::GetInfo 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.

The GetInfo method retrieves information about a specified interrupt.

Syntax

void GetInfo(
  PWDF_INTERRUPT_INFO InterruptInfo
);

Parameters

InterruptInfo

A pointer to a caller-allocated WDF_INTERRUPT_INFO structure that the driver has previously initialized by calling WDF_INTERRUPT_INFO_INIT.

Return value

None

Remarks

The GetInfo method can obtain interrupt information only if your driver calls it after the framework has called the driver's OnPrepareHardware callback function and before the framework has called the driver's OnReleaseHardware callback function.

For information about the order in which a driver's callback functions are called, see PnP and Power Management Scenarios in UMDF.

For more information about handling interrupts in UMDF drivers, see Accessing Hardware and Handling Interrupts.

Examples

IWDFInterrupt* pInterrupt;
WDF_INTERRUPT_INFO  Info;

WDF_INTERRUPT_INFO_INIT(&Info);
pInterrupt->GetInfo(&Info);

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.11
Header wudfddi.h
DLL WUDFx.dll

See also