[This documentation is preliminary and is subject to change.]
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.
HRESULT APIENTRY* QueryDListForApplication( _Out_ BOOL *pDefaultToDiscrete, _In_ HANDLE hAdapter, _In_ PFND3DDDI_ESCAPECB pfnEscapeCB );
- pDefaultToDiscrete [out]
If TRUE, the application should be run on the discrete GPU. Otherwise, the application should run on the integrated GPU.
- hAdapter [in]
A handle to the graphics adapter object.
- pfnEscapeCB [in]
Returns S_OK, or an appropriate error result if the operation is not successful.
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.
Minimum supported client
|Windows 8.1 Preview|
Minimum supported server
|Windows Server 2012 R2 Preview|
Build date: 6/21/2013