Framework General Object Methods

In this section

TopicDescription

WdfObjectAddCustomType

The WdfObjectAddCustomType macro associates a framework object with a custom type.

WdfObjectAddCustomTypeWithData

The WdfObjectAddCustomTypeWithData macro associates a framework object with a custom type, and optionally associates this pair with a data buffer and event callback functions.

WdfObjectAllocateContext method

The WdfObjectAllocateContext method allocates context space for a specified framework object.

WdfObjectContextGetObject method

The WdfObjectContextGetObject method returns a handle to the framework object that a specified context space belongs to.

WdfObjectCreate method

The WdfObjectCreate method creates a general framework object.

WdfObjectDelete method

The WdfObjectDelete method deletes a framework object and its child objects.

WdfObjectDereference

The WdfObjectDereference macro decrements the reference count for a specified framework object.

WdfObjectDereferenceActual method

The WdfObjectDereferenceActual method decrements the reference count for a specified framework object and assigns a tag value, line number, and file name to the reference.

WdfObjectDereferenceWithTag

The WdfObjectDereferenceWithTag macro decrements the reference count for a specified framework object and assigns the driver's current file name and line number to the reference. This macro also assigns a tag value to the reference.

WdfObjectGetCustomTypeData

The WdfObjectGetCustomTypeData macro retrieves the data that the driver previously associated with a framework object and custom type.

WdfObjectGetTypedContext

The WdfObjectGetTypedContext macro returns a pointer to an object's context space.

WdfObjectGetTypedContextWorker

The WdfObjectGetTypedContextWorker method is reserved for internal use only. Use the WdfObjectGetTypedContext macro instead.

WdfObjectIsCustomType

The WdfObjectIsCustomType macro determines whether a framework object is of a specified custom type.

WdfObjectQuery method

The WdfObjectQuery method is not implemented.

WdfObjectReference

The WdfObjectReference macro increments the reference count for a specified framework object.

WdfObjectReferenceActual method

The WdfObjectReferenceActual method increments the reference count for a specified framework object and assigns a tag value, line number, and file name to the reference.

WdfObjectReferenceWithTag

The WdfObjectReferenceWithTag macro increments the reference count for a specified framework object and assigns the driver's current file name and line number to the reference. The macro also assigns a tag value to the reference.

 

 

 

Send comments about this topic to Microsoft

Build date: 4/23/2013

Show: