DXGK_VIDPNTOPOLOGY_INTERFACE::pfnAcquireNextPathInfo routine

The pfnAcquireNextPathInfo function returns a descriptor of the next video present path in a specified VidPN topology, given the current path.

Syntax


DXGKDDI_VIDPNTOPOLOGY_ACQUIRENEXTPATHINFO pfnAcquireNextPathInfo;

NTSTATUS APIENTRY pfnAcquireNextPathInfo(
  _In_   const D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology,
  _In_   const D3DKMDT_VIDPN_PRESENT_PATH CONST *pVidPnPresentPathInfo,
  _Out_  const D3DKMDT_VIDPN_PRESENT_PATH **ppNextVidPnPresentPathInfo
)
{ ... }

Parameters

hVidPnTopology [in]

[in] A handle to a VidPN topology object. The display miniport driver previously obtained this handle by calling the pfnGetTopology function of the DXGK_VIDPN_INTERFACE interface.

pVidPnPresentPathInfo [in]

[in] A pointer to a D3DKMDT_VIDPN_PRESENT_PATH structure that describes the current path. The display miniport driver previously obtained this pointer by calling pfnAcquireFirstPathInfo or pfnAcquireNextPathInfo.

ppNextVidPnPresentPathInfo [out]

[out] A pointer to a variable that receives a pointer to a D3DKMDT_VIDPN_PRESENT_PATH structure that describes the next path.

Return value

The pfnAcquireNextPathInfo function returns one of the following values:

Return codeDescription
STATUS_SUCCESS

The function succeeded.

STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY

The handle supplied in hVidPnTopology was invalid.

 

Remarks

When you have finished using the D3DKMDT_VIDPN_PRESENT_PATH structure, you must release the structure by calling pfnReleasePathInfo.

You can enumerate all the paths that belong to a VidPN topology object by calling pfnAcquireFirstPathInfo and then making a sequence of calls to pfnAcquireNextPathInfo.

The D3DKMDT_HVIDPNTOPOLOGY data type is defined in D3dkmdt.h.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

pfnReleasePathInfo
pfnAcquireFirstPathInfo
pfnAcqirePathInfo
D3DKMDT_VIDPN_PRESENT_PATH

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft