Debugging Tools for Windows

!wudfext.wudfobject

The !wudfext.wudfobject extension displays information about a WDF object, as well as its parent and child relationships.

Syntax

!wudfext.wudfobject pWDFObject [Flags] [TypeName

Parameters

pWDFObject
Specifies the address of the WDF interface to display information about.
Flags
Optional. Specifies the type of information to be displayed. Flags can be any combination of the following bits. The default value is 0x01.
Bit 0 (0x01)
Steps through the object hierarchy to obtain the parent and child relationships.
Bit 1 (0x02)
Displays only summary information about the object.
Bit 8 (0x80)
Displays details about the internal framework.
TypeName
Optional. Specifies the type of the interface (for example, IWDFDevice). If a value for TypeName is provided, !wudfext.wudfobject uses the value as the type of the interface. If a value for TypeName is not provided or if an asterisk (*) is provided, !wudfext.wudfobject attempts to automatically determine the type of the supplied interface.

DLL

Windows NT 4.0 Unavailable
Windows 2000 Unavailable
Windows XP and later Wudfext.dll

Comments

You can use !wudfext.wudfobject to list, for example, the child objects of an IWDFDevice object, which generally include the device’s queues.

You can also use !wudfext.wudfobject to find WDF objects that are associated with a particular device, to check the state of a WDF object (for example, whether the WDF object is in the process of deletion), or to determine the WDF object’s current reference count.

The !wudfext.wudfobject extension also displays the callback functions and context objects that the driver associated with each framework object and attempts to determine the framework object's type. This last feature might not work with certain compilers.

The following are some examples of the !wudfext.wudfobject display:

Additional Information

For more information, see User-Mode Driver Framework Debugging.

Build machine: CAPEBUILD