DXGKDDI_VIDPNTOPOLOGY_GETNUMPATHS - NtDoc

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

DXGKDDI_VIDPNTOPOLOGY_GETNUMPATHS DxgkddiVidpntopologyGetnumpaths;

NTSTATUS DxgkddiVidpntopologyGetnumpaths(
  [in]  IN_CONST_D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology,
  [out] OUT_PSIZE_T pNumPaths
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_vidpntopology_getnumpaths)

DXGKDDI_VIDPNTOPOLOGY_GETNUMPATHS callback function

Description

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

Parameters

hVidPnTopology [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]

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 code Description
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.

See also

pfnGetNumPathsFromSource