Previous Next

VideoPortGetAssociatedDeviceExtension

The VideoPortGetAssociatedDeviceExtension function returns the device extension for the parent of the specified device object.

PVOID
  VideoPortGetAssociatedDeviceExtension(
    IN PVOID  DeviceObject
    );

Parameters

DeviceObject
Is the device object of a child device.

Return Value

VideoPortGetAssociatedDeviceExtension returns a pointer to the device extension of DeviceObject's parent.

Headers

Declared in video.h. Include video.h.

Comments

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.