Initialization Functions for General Object Structures

In this section

TopicDescription

WDF_DECLARE_CONTEXT_TYPE

The WDF_DECLARE_CONTEXT_TYPE macro creates a name and an accessor method for a driver's object-specific context space.

WDF_DECLARE_CONTEXT_TYPE_WITH_NAME

The WDF_DECLARE_CONTEXT_TYPE_WITH_NAME macro creates an accessor method with a specified name for a driver's object-specific context space.

WDF_DECLARE_CUSTOM_TYPE

The WDF_DECLARE_CUSTOM_TYPE macro creates a name and an accessor method for a driver's custom type.

WDF_GET_CONTEXT_TYPE_INFO

WDF_OBJECT_ATTRIBUTES_INIT

The WDF_OBJECT_ATTRIBUTES_INIT function initializes a driver's WDF_OBJECT_ATTRIBUTES structure.

WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE

The WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE macro initializes a driver's WDF_OBJECT_ATTRIBUTES structure and inserts an object's driver-defined context information into the structure.

WDF_OBJECT_ATTRIBUTES_SET_CONTEXT_TYPE

The WDF_OBJECT_ATTRIBUTES_SET_CONTEXT_TYPE macro inserts an object's driver-defined context information into the object's WDF_OBJECT_ATTRIBUTES structure.

WDF_TYPE_NAME_POINTER_TYPE

WDF_TYPE_NAME_TO_TYPE_INFO

 

 

 

Send comments about this topic to Microsoft

Build date: 4/23/2013

Show:
© 2014 Microsoft