VideoPortEnumerateChildren - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

VIDEOPORT_DEPRECATED VIDEOPORT_API VP_STATUS VideoPortEnumerateChildren(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PVOID Reserved
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportenumeratechildren)

VideoPortEnumerateChildren function

Description

The VideoPortEnumerateChildren function allows a video miniport driver to force a reenumeration of its child devices.

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

Reserved [in]

Must be set to NULL.

Return value

VideoPortEnumerateChildren returns NO_ERROR.

Remarks

Some devices generate an interrupt when new hardware is connected to the system, or when existing hardware is disconnected from the system. For these devices, VideoPortEnumerateChildren can make such system changes as seamless as possible. The following is one possible scenario that forces the reenumeration of child devices through VideoPortEnumerateChildren:

VideoPortEnumerateChildren causes HwVidGetVideoChildDescriptor to be called, allowing the Plug and Play Manager to enumerate all of the adapter's child devices.

See also

HwVidDpcRoutine

HwVidGetVideoChildDescriptor

HwVidInterrupt

VideoPortQueueDpc