Bewerken

Delen via


WDF_PDO_EVENT_CALLBACKS_INIT function (wdfpdo.h)

[Applies to KMDF only]

The WDF_PDO_EVENT_CALLBACKS_INIT function initializes a WDF_PDO_EVENT_CALLBACKS structure.

Syntax

void WDF_PDO_EVENT_CALLBACKS_INIT(
  [out] PWDF_PDO_EVENT_CALLBACKS Callbacks
);

Parameters

[out] Callbacks

A pointer to the driver's WDF_PDO_EVENT_CALLBACKS structure.

Return value

None

Remarks

The WDF_PDO_EVENT_CALLBACKS_INIT function zeros the specified WDF_PDO_EVENT_CALLBACKS structure and sets the structure's Size member.

Examples

For a code example that uses WDF_PDO_EVENT_CALLBACKS_INIT, see WdfPdoInitSetEventCallbacks.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Header wdfpdo.h (include Wdf.h)

See also

WDF_PDO_EVENT_CALLBACKS

WdfPdoInitSetEventCallbacks