DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO - NtDoc

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

DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO DxgkddiVidpntopologyCreatenewpathinfo;

NTSTATUS DxgkddiVidpntopologyCreatenewpathinfo(
  [in]  IN_CONST_D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology,
  [out] DEREF_OUT_PPD3DKMDT_VIDPN_PRESENT_PATH ppNewVidPnPresentPathInfo
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO callback function

Description

The pfnCreateNewPathInfo function returns a pointer to a D3DKMDT_VIDPN_PRESENT_PATH structure that the display miniport driver populates before calling pfnAddPath.

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.

ppNewVidPnPresentPathInfo [out]

A pointer to a variable that receives a pointer to a D3DKMDT_VIDPN_PRESENT_PATH structure allocated by the VidPN manager.

Return value

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

After you call pfnCreateNewPathInfo to obtain a D3DKMDT_VIDPN_PRESENT_PATH structure, you must do one, but not both, of the following:

The D3DKMDT_HVIDPNTOPOLOGY data type is defined in D3dkmdt.h.

See also

D3DKMDT_VIDPN_PRESENT_PATH

pfnAddPath

pfnReleasePathInfo