VideoPortGetAssociatedDeviceID function (video.h)
The VideoPortGetAssociatedDeviceID function obtains the child ID for a specified device object.
Syntax
VIDEOPORT_DEPRECATED VIDEOPORT_API ULONG VideoPortGetAssociatedDeviceID(
[in] IN PVOID DeviceObject
);
Parameters
[in] DeviceObject
Pointer to the child device object, a PDO.
Return value
VideoPortGetAssociatedDeviceID returns the child ID for the given device object.
Remarks
VideoPortGetAssociatedDeviceID can be used to obtain the child ID for a child device object. For example, this is useful with I2C. See Using I2C to Communicate with a Child Device for more information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows XP and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | video.h (include Video.h) |
Library | Videoprt.lib |
DLL | Videoprt.sys |
IRQL | PASSIVE_LEVEL |