Henri Verbeet : dxgi: Add the IDXGIFactory interface.
Alexandre Julliard
julliard at winehq.org
Wed Oct 22 08:00:06 CDT 2008
Module: wine
Branch: master
Commit: 6a517b78511cfba28ba4c785c57265c9c2d7c613
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a517b78511cfba28ba4c785c57265c9c2d7c613
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Oct 21 15:06:58 2008 +0200
dxgi: Add the IDXGIFactory interface.
---
include/dxgi.idl | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/include/dxgi.idl b/include/dxgi.idl
index 9ac585a..c1eae50 100644
--- a/include/dxgi.idl
+++ b/include/dxgi.idl
@@ -263,3 +263,34 @@ interface IDXGISwapChain : IDXGIDeviceSubObject
[out] UINT *last_present_count
);
}
+
+[
+ object,
+ local,
+ uuid(7b7166ec-21c7-44ae-b21a-c9ae321ae369)
+]
+interface IDXGIFactory : IDXGIObject
+{
+ HRESULT EnumAdapters(
+ [in] UINT adapter_idx,
+ [out] IDXGIAdapter **adapter
+ );
+ HRESULT MakeWindowAssociation(
+ [in] HWND window,
+ [in] UINT flags
+ );
+ HRESULT GetWindowAssociation(
+ [in] HWND *window
+ );
+ HRESULT CreateSwapChain(
+ [in] IUnknown *device,
+ [in] DXGI_SWAP_CHAIN_DESC *desc,
+ [out] IDXGISwapChain **swapchain
+ );
+ HRESULT CreateSoftwareAdapter(
+ [in] HMODULE swrast,
+ [out] IDXGIAdapter **adapter
+ );
+}
+
+[local] HRESULT CreateDXGIFactory(REFIID riid, void **factory);
More information about the wine-cvs
mailing list