Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The !wdfkd.wdfhandle extension displays information about a specified framework object handle, such as the handle type, object context pointers, and the underlying framework object pointer.
!wdfkd.wdfhandle Handle [Flags]
Parameters
Handle
A handle to a framework object.
Flags
Optional. Flags that specify the kind of information to display. Flags can be any combination of the following bits. The default value is 0x0.
Bit 4 (0x10)
The display will include the subtree of child objects for the specified handle.
Bit 5 (0x20)
The display will include context and callback function information for the specified handle. This flag is valid only when bit 4 (0x10) is set.
Bit 6 (0x40)
The display will include additional information for the specified handle. This flag is valid only when bit 4 (0x10) is set.
Bit 7 (0x80)
The handle information will be displayed in a more compact format.
Bit 8 (0x100)
The display will left align internal type information. This flag is valid only when bit 4 (0x10) is set.
DLL
Wdfkd.dll
Frameworks
KMDF 1, UMDF 2
Additional Information
For more information, see Kernel-Mode Driver Framework Debugging.
Remarks
The following example shows the output of the !wdfhandle extension with bit 4 set in the Flags parameter (so the output displays information about the child objects).
kd> !wdfhandle 0x7ca7b1c0 10
handle 0x7ca7b1c0, type is WDFDEVICE
Contexts:
context: dt 0x83584ff8 ROOT_CONTEXT (size is 0x1 bytes)
<no associated attribute callbacks>
Child WDFHANDLEs of 0x7ca7b1c0:
WDFDEVICE 0x7ca7b1c0
WDFCMRESLIST 0x7ccfb058
WDFCMRESLIST 0x7cadb058
WDFCHILDLIST 0x7c72f0c8
WDFCHILDLIST 0x7cc090c8
WDFIOTARGET 0x7c9630b8
!wdfobject 0x83584e38
In the preceding example, the input handle refers to a WDFDEVICE object. This particular device object has five child objects--two WDFCMRESLIST objects, two WDFCHILDLIST objects, and one WDFIOTARGET object.