Export (0) Print
Expand All

DXGK_VIDPNTOPOLOGY_INTERFACE::pfnGetNumPaths routine

The pfnGetNumPaths function returns the number of video present paths in a specified VidPN topology.

Syntax


DXGKDDI_VIDPNTOPOLOGY_GETNUMPATHS pfnGetNumPaths;

NTSTATUS APIENTRY pfnGetNumPaths(
  _In_   const D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology,
  _Out_  SIZE_T *pNumPaths
)
{ ... }

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.

pNumPaths [out]

[out] A pointer to a SIZE_T-typed variable that receives the number of paths.

Return value

The pfnGetNumPaths 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

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

pfnGetNumPathsFromSource

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft