The VideoPortGetAssociatedDeviceExtension function returns the device extension for the parent of the specified device object.
PVOID
VideoPortGetAssociatedDeviceExtension(
IN PVOID DeviceObject
);
VideoPortGetAssociatedDeviceExtension returns a pointer to the device extension of DeviceObject's parent.
Declared in video.h. Include video.h.
The miniport driver of a child device can call this function to obtain a description of its parent through the parent's device extension.
Callers of VideoPortGetAssociatedDeviceExtension must be running at IRQL = PASSIVE_LEVEL.