// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API ULONG VideoPortGetAssociatedDeviceID(
[in] IN PVOID DeviceObject
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortGetAssociatedDeviceID function obtains the child ID for a specified device object.
DeviceObject [in]Pointer to the child device object, a PDO.
VideoPortGetAssociatedDeviceID returns the child ID for the given device object.
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.