Export (0) Print
Expand All

WDF_OBJECT_ATTRIBUTES_INIT function

[Applies to KMDF and UMDF]

The WDF_OBJECT_ATTRIBUTES_INIT function initializes a driver's WDF_OBJECT_ATTRIBUTES structure.

Syntax


VOID WDF_OBJECT_ATTRIBUTES_INIT(
  _Out_  PWDF_OBJECT_ATTRIBUTES Attributes
);

Parameters

Attributes [out]

A pointer to the driver's WDF_OBJECT_ATTRIBUTES structure.

Return value

None

Remarks

The WDF_OBJECT_ATTRIBUTES_INIT function sets the ExecutionLevel member of the specified WDF_OBJECT_ATTRIBUTES structure to WdfExecutionLevelInheritFromParent, and it sets the SynchronizationScope member to WdfSynchronizationScopeInheritFromParent.

For code examples that use WDF_OBJECT_ATTRIBUTES_INIT, see WdfObjectCreate and WdfObjectGetTypedContext.

Requirements

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfobject.h (include Wdf.h)

See also

WDF_OBJECT_ATTRIBUTES

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft