IWDFInterrupt::GetInfo method

The GetInfo method retrieves information about a specified interrupt.

Syntax


void GetInfo(
   WDF_INTERRUPT_INFO *Info
);

Parameters

Info

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

Return value

This method does not return a value.

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

Target platform

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.11

Header

Wudfddi.h

DLL

WUDFx.dll

See also

IWDFInterrupt
OnPrepareHardware
OnReleaseHardware
WDF_INTERRUPT_INFO
WDF_INTERRUPT_INFO_INIT

 

 

Send comments about this topic to Microsoft

Show: