DXGK_VIDPNTOPOLOGY_INTERFACE::pfnCreateNewPathInfo routine

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

Syntax


DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO pfnCreateNewPathInfo;

NTSTATUS APIENTRY pfnCreateNewPathInfo(
  _In_  const D3DKMDT_HVIDPNSOURCEMODESET hVidPnTopology,
  _Out_       D3DKMDT_VIDPN_PRESENT_PATH  **ppNewVidPnPresentPathInfo
)
{ ... }

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.

ppNewVidPnPresentPathInfo [out]

[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 codeDescription
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.

Requirements

Target platform

Desktop

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

pfnAddPath
pfnReleasePathInfo
D3DKMDT_VIDPN_PRESENT_PATH

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft