// wdfdevice.h
VOID WDF_DEVICE_STATE_INIT(
[out] PWDF_DEVICE_STATE PnpDeviceState
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_DEVICE_STATE_INIT function initializes a driver's WDF_DEVICE_STATE structure.
PnpDeviceState [out]A pointer to a driver-allocated WDF_DEVICE_STATE structure.
The WDF_DEVICE_STATE_INIT function initializes all of the WDF_DEVICE_STATE structure's WDF_TRI_STATE-typed members to WdfUseDefault.
For a code example that uses WDF_DEVICE_STATE_INIT, see WdfDeviceSetDeviceState.