Obtaining Information About a General I/O Target
To obtain information about an I/O target, your driver can call the following methods that the I/O target object defines:
WdfIoTargetGetDevice
Returns the framework device object that is associated with a local or remote I/O target.
WdfIoTargetQueryTargetProperty or WdfIoTargetAllocAndQueryTargetProperty
Retrieves device properties that are associated with a local or remote I/O target's device.
WdfIoTargetGetState
Returns state information for a local or remote I/O target.
WdfIoTargetWdmGetTargetDeviceObject
Returns a pointer to the Windows Driver Model (WDM) device object that is associated with a local or remote I/O target.
WdfIoTargetWdmGetTargetPhysicalDevice
Returns a pointer to the WDM physical device object (PDO) that represents a remote I/O target's device.
WdfIoTargetWdmGetTargetFileObject
Returns a pointer to the WDM file object that is associated with a remote I/O target.
WdfIoTargetWdmGetTargetFileHandle
Returns a handle to the file that is associated with a remote I/O target.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om