Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDXGIFactory4::EnumWarpAdapter method

Provides an adapter which can be provided to D3D12CreateDevice to use the WARP renderer.

Syntax


HRESULT EnumWarpAdapter(
  [in]  REFIID riid,
  [out] void   **ppvAdapter
);

Parameters

riid [in]

Type: REFIID

The globally unique identifier (GUID) of the IDXGIFactory4 object referenced by the ppvAdapter parameter.

ppvAdapter [out]

Type: void**

The address of an IDXGIAdapter interface pointer to the adapter. This parameter must not be NULL.

Return value

Type: HRESULT

Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR. See also Direct3D 12 Return Codes.

Remarks

For more information, see DXGI 1.4 Improvements.

Requirements

Header

DXGI1_4.h

Library

Dxgi.lib

See also

DXGI Interfaces
IDXGIFactory4

 

 

Show:
© 2017 Microsoft