Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 3.41 KB

nc-d3dumddi-pfnd3dddi_querydlistforapplication1.md

File metadata and controls

81 lines (61 loc) · 3.41 KB
UID title description old-location tech.root 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 req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dumddi.PFND3DDDI_QUERYDLISTFORAPPLICATION1
PFND3DDDI_QUERYDLISTFORAPPLICATION1 (d3dumddi.h)
Called during Microsoft Direct3D initialization on a hybrid system to determine which GPU an application should run on. A dList is a list of applications that need cross-adapter shared surfaces for high-performance rendering on the discrete GPU.
display\querydlistforapplication1.htm
display
11/02/2021
PFND3DDDI_QUERYDLISTFORAPPLICATION1 callback function
PFND3DDDI_QUERYDLISTFORAPPLICATION1, PFND3DDDI_QUERYDLISTFORAPPLICATION1 callback, QueryDListForApplication, QueryDListForApplication callback function [Display Devices], d3dumddi/QueryDListForApplication, display.querydlistforapplication1
d3dumddi.h
D3d10umddi.h
Desktop
Windows 8.1,WDDM 1.3 and later
Windows Server 2012 R2
Windows
PFND3DDDI_QUERYDLISTFORAPPLICATION1
d3dumddi/PFND3DDDI_QUERYDLISTFORAPPLICATION1
APIRef
kbSyntax
UserDefined
D3dumddi.h
PFND3DDDI_QUERYDLISTFORAPPLICATION1

PFND3DDDI_QUERYDLISTFORAPPLICATION1 callback function

-description

The PFND3DDDI_QUERYDLISTFORAPPLICATION1 function queries a dList for an application.

-parameters

-param unnamedParam1 [out]

If TRUE, the application should be run on the discrete GPU. Otherwise, the application should run on the integrated GPU.

-param unnamedParam2 [in]

A handle to the graphics adapter object. This handle is passed to the pfnEscapeCb callback function pointed to by unnamedParam3.

-param unnamedParam3 [in]

Pointer to a pfnEscapeCb callback function that shares info with the display miniport driver.

-returns

Returns S_OK, or an appropriate error result if the operation is not successful.

-remarks

Starting with WDDM 2.9, drivers must support PFND3DDDI_QUERYDLISTFORAPPLICATION2 instead of PFND3DDDI_QUERYDLISTFORAPPLICATION1.

In WDDM versions prior to WDDM 2.9, PFND3DDDI_QUERYDLISTFORAPPLICATION1 is called by the user-mode graphics runtime (DXGI) during Microsoft Direct3D initialization on a hybrid system to determine which GPU an application should run on. A dList is a list of applications that need cross-adapter shared surfaces for high-performance rendering on the discrete GPU.

For more information on how to call this function and set up the DLL that exports it, see Hybrid system DDI.

For more general information on hybrid systems, see Using cross-adapter resources in a hybrid system.

-see-also

PFND3DDDI_QUERYDLISTFORAPPLICATION2

pfnEscapeCb