Commit 1a9830ad authored by Philip Rebohle's avatar Philip Rebohle Committed by Alexandre Julliard

include: Add IDXGIFactory6.

parent 3d05e4da
......@@ -34,6 +34,13 @@ typedef enum DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS
DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_CURSOR_STRETCHED = 0x4,
} DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS;
typedef enum DXGI_GPU_PREFERENCE
{
DXGI_GPU_PREFERENCE_UNSPECIFIED = 0x0,
DXGI_GPU_PREFERENCE_MINIMUM_POWER = 0x1,
DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE = 0x2,
} DXGI_GPU_PREFERENCE;
typedef struct DXGI_ADAPTER_DESC3
{
WCHAR Description[128];
......@@ -96,3 +103,19 @@ interface IDXGIOutput6 : IDXGIOutput5
[out] UINT *flags
);
}
[
object,
uuid(c1b6694f-ff09-44a9-b03c-77900a0a1d17),
local,
pointer_default(unique)
]
interface IDXGIFactory6 : IDXGIFactory5
{
HRESULT EnumAdapterByGpuPreference(
[in] UINT adapter_idx,
[in] DXGI_GPU_PREFERENCE gpu_preference,
[in] REFIID iid,
[out] void **adapter
);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment