summaryrefslogtreecommitdiff
path: root/dispatch/dxgiint.h
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-01-31 17:36:50 +0000
committerJose Fonseca <jfonseca@vmware.com>2016-03-05 17:17:30 +0000
commit376992b0363f5e2db80fd1b5f4930e07859ba598 (patch)
treea2588516327f30c3ef8f18088a9c6e48a5576be5 /dispatch/dxgiint.h
parent010f9960823f44f0e5d5bc17d4f29a6e3b5aa162 (diff)
dispatch: Use DEFINE_GUID on IID definitions.
So they behave like normal IID definitions, thereby avoiding missing/duplicate symbols.
Diffstat (limited to 'dispatch/dxgiint.h')
-rw-r--r--dispatch/dxgiint.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dispatch/dxgiint.h b/dispatch/dxgiint.h
index d3dd7e0e..a745c8f5 100644
--- a/dispatch/dxgiint.h
+++ b/dispatch/dxgiint.h
@@ -33,7 +33,7 @@
#include <dxgi.h>
-static const GUID IID_IDXGISwapChainDWM = {0xF69F223B,0x45D3,0x4AA0,{0x98,0xC8,0xC4,0x0C,0x2B,0x23,0x10,0x29}};
+DEFINE_GUID(IID_IDXGISwapChainDWM,0xF69F223B,0x45D3,0x4AA0,0x98,0xC8,0xC4,0x0C,0x2B,0x23,0x10,0x29);
struct IDXGISwapChainDWM: public IDXGIDeviceSubObject
{
virtual HRESULT STDMETHODCALLTYPE Present(UINT SyncInterval, UINT Flags) = 0;
@@ -46,14 +46,14 @@ struct IDXGISwapChainDWM: public IDXGIDeviceSubObject
virtual HRESULT STDMETHODCALLTYPE GetLastPresentCount(UINT *pLastPresentCount) = 0;
};
-static const GUID IID_IDXGIFactoryDWM = {0x713F394E,0x92CA,0x47E7,{0xAB,0x81,0x11,0x59,0xC2,0x79,0x1E,0x54}};
+DEFINE_GUID(IID_IDXGIFactoryDWM,0x713F394E,0x92CA,0x47E7,0xAB,0x81,0x11,0x59,0xC2,0x79,0x1E,0x54);
struct IDXGIFactoryDWM: public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateSwapChain(IUnknown *pDevice, DXGI_SWAP_CHAIN_DESC *pDesc, IDXGIOutput *pOutput, IDXGISwapChainDWM **ppSwapChain) = 0;
};
-static const GUID IID_IWarpPrivateAPI = {0xF13EBCD1,0x672C,0x4F8B,{0xA6,0x31,0x95,0x39,0xCA,0x74,0x8D,0x71}};
+DEFINE_GUID(IID_IWarpPrivateAPI,0xF13EBCD1,0x672C,0x4F8B,0xA6,0x31,0x95,0x39,0xCA,0x74,0x8D,0x71);
struct IWarpPrivateAPI: public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE WarpEscape(void *pData) = 0;