VideoPortGetAssociatedDeviceExtension function (video.h)

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

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API PVOID VideoPortGetAssociatedDeviceExtension(
  [in] IN PVOID DeviceObject
);

Parameters

[in] DeviceObject

Is the device object of a child device.

Return value

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

Remarks

The miniport driver of a child device can call this function to obtain a description of its parent through the parent's device extension.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 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