Skip to content

Latest commit

 

History

History
96 lines (70 loc) · 3.64 KB

nc-d3dkmddi-dxgkddi_vidpntopology_createnewpathinfo.md

File metadata and controls

96 lines (70 loc) · 3.64 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dkmddi.DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO
DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO (d3dkmddi.h)
The pfnCreateNewPathInfo function returns a pointer to a D3DKMDT_VIDPN_PRESENT_PATH structure that the display miniport driver populates before calling pfnAddPath.
display\dxgk_vidpntopology_interface_pfncreatenewpathinfo.htm
05/10/2018
DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO callback function
DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO, DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO callback, VidPnFunctions_50591912-0f93-4049-a230-1fc5d96b2132.xml, d3dkmddi/pfnCreateNewPathInfo, display.dxgk_vidpntopology_interface_pfncreatenewpathinfo, pfnCreateNewPathInfo, pfnCreateNewPathInfo callback function [Display Devices]
d3dkmddi.h
D3dkmddi.h
Desktop
PASSIVE_LEVEL
Windows
display
DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO
d3dkmddi/DXGKDDI_VIDPNTOPOLOGY_CREATENEWPATHINFO
APIRef
kbSyntax
UserDefined
d3dkmddi.h
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

-param 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.

-param ppNewVidPnPresentPathInfo [out]

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

-returns

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