Expand Minimize

WDF_PNPPOWER_EVENT_CALLBACKS_INIT function

[Applies to KMDF and UMDF]

The WDF_PNPPOWER_EVENT_CALLBACKS_INIT function initializes a driver's WDF_PNPPOWER_EVENT_CALLBACKS structure.

Syntax


VOID WDF_PNPPOWER_EVENT_CALLBACKS_INIT(
  _Out_  PWDF_PNPPOWER_EVENT_CALLBACKS Callbacks
);

Parameters

Callbacks [out]

A pointer to a driver-allocated WDF_PNPPOWER_EVENT_CALLBACKS structure.

Return value

None

Remarks

The WDF_PNPPOWER_EVENT_CALLBACKS_INIT function zeros the specified WDF_PNPPOWER_EVENT_CALLBACKS structure and sets the structure's Size member.

Examples

For a code example that uses WDF_PNPPOWER_EVENT_CALLBACKS_INIT, see WdfDeviceInitSetPnpPowerEventCallbacks.

Requirements

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfdevice.h (include Wdf.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft