EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

QueryDListForApplication function

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

Syntax


HRESULT APIENTRY* QueryDListForApplication(
  _Out_  BOOL *pDefaultToDiscrete,
  _In_   HANDLE hAdapter,
  _In_   PFND3DDDI_ESCAPECB pfnEscapeCB
);

Parameters

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]

Return value

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

Remarks

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.

Requirements

Minimum supported client

Windows 8.1 Preview

Minimum supported server

Windows Server 2012 R2 Preview

Header

D3dumddi.h (include D3d10umddi.h)

 

 

Send comments about this topic to Microsoft

Build date: 6/21/2013

表示:
© 2014 Microsoft