Skip to content

Latest commit

 

History

History
72 lines (55 loc) · 2.25 KB

nf-wdfdevice-wdf_device_state_init.md

File metadata and controls

72 lines (55 loc) · 2.25 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdfdevice.WDF_DEVICE_STATE_INIT
WDF_DEVICE_STATE_INIT function (wdfdevice.h)
The WDF_DEVICE_STATE_INIT function initializes a driver's WDF_DEVICE_STATE structure.
wdf\wdf_device_state_init.htm
wdf
02/26/2018
WDF_DEVICE_STATE_INIT function
DFDeviceObjectGeneralRef_702c7f79-a50f-4115-ba93-82388ccbf063.xml, WDF_DEVICE_STATE_INIT, WDF_DEVICE_STATE_INIT function, kmdf.wdf_device_state_init, wdf.wdf_device_state_init, wdfdevice/WDF_DEVICE_STATE_INIT
wdfdevice.h
Wdf.h
Universal
1.0
2.0
Windows
WDF_DEVICE_STATE_INIT
wdfdevice/WDF_DEVICE_STATE_INIT
APIRef
kbSyntax
HeaderDef
wdfdevice.h
WDF_DEVICE_STATE_INIT

WDF_DEVICE_STATE_INIT function

-description

[Applies to KMDF and UMDF]

The WDF_DEVICE_STATE_INIT function initializes a driver's WDF_DEVICE_STATE structure.

-parameters

-param PnpDeviceState [out]

A pointer to a driver-allocated WDF_DEVICE_STATE structure.

-remarks

The WDF_DEVICE_STATE_INIT function initializes all of the WDF_DEVICE_STATE structure's WDF_TRI_STATE-typed members to WdfUseDefault.

Examples

For a code example that uses WDF_DEVICE_STATE_INIT, see WdfDeviceSetDeviceState.

-see-also

WDF_DEVICE_STATE