12 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 13 #define __REQUIRED_RPCNDR_H_VERSION__ 475 17 #ifndef __REQUIRED_RPCSAL_H_VERSION__ 18 #define __REQUIRED_RPCSAL_H_VERSION__ 100 24 #ifndef __RPCNDR_H_VERSION__ 25 #error this stub requires an updated version of <rpcndr.h> 28 #ifndef COM_NO_WINDOWS_H 36 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 42 #ifndef __IDXGIDisplayControl_FWD_DEFINED__ 43 #define __IDXGIDisplayControl_FWD_DEFINED__ 49 #ifndef __IDXGIOutputDuplication_FWD_DEFINED__ 50 #define __IDXGIOutputDuplication_FWD_DEFINED__ 56 #ifndef __IDXGISurface2_FWD_DEFINED__ 57 #define __IDXGISurface2_FWD_DEFINED__ 63 #ifndef __IDXGIResource1_FWD_DEFINED__ 64 #define __IDXGIResource1_FWD_DEFINED__ 70 #ifndef __IDXGIDevice2_FWD_DEFINED__ 71 #define __IDXGIDevice2_FWD_DEFINED__ 77 #ifndef __IDXGISwapChain1_FWD_DEFINED__ 78 #define __IDXGISwapChain1_FWD_DEFINED__ 84 #ifndef __IDXGIFactory2_FWD_DEFINED__ 85 #define __IDXGIFactory2_FWD_DEFINED__ 91 #ifndef __IDXGIAdapter2_FWD_DEFINED__ 92 #define __IDXGIAdapter2_FWD_DEFINED__ 98 #ifndef __IDXGIOutput1_FWD_DEFINED__ 99 #define __IDXGIOutput1_FWD_DEFINED__ 124 #ifndef __IDXGIDisplayControl_INTERFACE_DEFINED__ 125 #define __IDXGIDisplayControl_INTERFACE_DEFINED__ 133 #if defined(__cplusplus) && !defined(CINTERFACE) 135 MIDL_INTERFACE(
"ea9dbf1a-c88e-4486-854a-98aa0138f30c")
139 virtual BOOL STDMETHODCALLTYPE IsStereoEnabled(
void) = 0;
141 virtual void STDMETHODCALLTYPE SetStereoEnabled(
153 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
159 ULONG ( STDMETHODCALLTYPE *AddRef )(
165 BOOL ( STDMETHODCALLTYPE *IsStereoEnabled )(
168 void ( STDMETHODCALLTYPE *SetStereoEnabled )(
185 #define IDXGIDisplayControl_QueryInterface(This,riid,ppvObject) \ 186 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 188 #define IDXGIDisplayControl_AddRef(This) \ 189 ( (This)->lpVtbl -> AddRef(This) ) 191 #define IDXGIDisplayControl_Release(This) \ 192 ( (This)->lpVtbl -> Release(This) ) 195 #define IDXGIDisplayControl_IsStereoEnabled(This) \ 196 ( (This)->lpVtbl -> IsStereoEnabled(This) ) 198 #define IDXGIDisplayControl_SetStereoEnabled(This,enabled) \ 199 ( (This)->lpVtbl -> SetStereoEnabled(This,enabled) ) 268 #ifndef __IDXGIOutputDuplication_INTERFACE_DEFINED__ 269 #define __IDXGIOutputDuplication_INTERFACE_DEFINED__ 277 #if defined(__cplusplus) && !defined(CINTERFACE) 279 MIDL_INTERFACE(
"191cfac3-a341-470d-b26e-a864f428319c")
283 virtual void STDMETHODCALLTYPE GetDesc(
287 virtual HRESULT STDMETHODCALLTYPE AcquireNextFrame(
289 _In_
UINT TimeoutInMilliseconds,
295 virtual HRESULT STDMETHODCALLTYPE GetFrameDirtyRects(
297 _In_
UINT DirtyRectsBufferSize,
299 _Out_writes_bytes_to_(DirtyRectsBufferSize, *pDirtyRectsBufferSizeRequired) RECT *pDirtyRectsBuffer,
301 _Out_
UINT *pDirtyRectsBufferSizeRequired) = 0;
303 virtual HRESULT STDMETHODCALLTYPE GetFrameMoveRects(
305 _In_
UINT MoveRectsBufferSize,
307 _Out_writes_bytes_to_(MoveRectsBufferSize, *pMoveRectsBufferSizeRequired)
DXGI_OUTDUPL_MOVE_RECT *pMoveRectBuffer,
309 _Out_
UINT *pMoveRectsBufferSizeRequired) = 0;
311 virtual HRESULT STDMETHODCALLTYPE GetFramePointerShape(
313 _In_
UINT PointerShapeBufferSize,
315 _Out_writes_bytes_to_(PointerShapeBufferSize, *pPointerShapeBufferSizeRequired)
void *pPointerShapeBuffer,
317 _Out_
UINT *pPointerShapeBufferSizeRequired,
321 virtual HRESULT STDMETHODCALLTYPE MapDesktopSurface(
325 virtual HRESULT STDMETHODCALLTYPE UnMapDesktopSurface(
void) = 0;
327 virtual HRESULT STDMETHODCALLTYPE ReleaseFrame(
void) = 0;
338 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
344 ULONG ( STDMETHODCALLTYPE *AddRef )(
350 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
358 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
365 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
374 HRESULT ( STDMETHODCALLTYPE *GetParent )(
381 void ( STDMETHODCALLTYPE *GetDesc )(
386 HRESULT ( STDMETHODCALLTYPE *AcquireNextFrame )(
395 HRESULT ( STDMETHODCALLTYPE *GetFrameDirtyRects )(
404 HRESULT ( STDMETHODCALLTYPE *GetFrameMoveRects )(
413 HRESULT ( STDMETHODCALLTYPE *GetFramePointerShape )(
424 HRESULT ( STDMETHODCALLTYPE *MapDesktopSurface )(
429 HRESULT ( STDMETHODCALLTYPE *UnMapDesktopSurface )(
432 HRESULT ( STDMETHODCALLTYPE *ReleaseFrame )(
448 #define IDXGIOutputDuplication_QueryInterface(This,riid,ppvObject) \ 449 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 451 #define IDXGIOutputDuplication_AddRef(This) \ 452 ( (This)->lpVtbl -> AddRef(This) ) 454 #define IDXGIOutputDuplication_Release(This) \ 455 ( (This)->lpVtbl -> Release(This) ) 458 #define IDXGIOutputDuplication_SetPrivateData(This,Name,DataSize,pData) \ 459 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 461 #define IDXGIOutputDuplication_SetPrivateDataInterface(This,Name,pUnknown) \ 462 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 464 #define IDXGIOutputDuplication_GetPrivateData(This,Name,pDataSize,pData) \ 465 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 467 #define IDXGIOutputDuplication_GetParent(This,riid,ppParent) \ 468 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 471 #define IDXGIOutputDuplication_GetDesc(This,pDesc) \ 472 ( (This)->lpVtbl -> GetDesc(This,pDesc) ) 474 #define IDXGIOutputDuplication_AcquireNextFrame(This,TimeoutInMilliseconds,pFrameInfo,ppDesktopResource) \ 475 ( (This)->lpVtbl -> AcquireNextFrame(This,TimeoutInMilliseconds,pFrameInfo,ppDesktopResource) ) 477 #define IDXGIOutputDuplication_GetFrameDirtyRects(This,DirtyRectsBufferSize,pDirtyRectsBuffer,pDirtyRectsBufferSizeRequired) \ 478 ( (This)->lpVtbl -> GetFrameDirtyRects(This,DirtyRectsBufferSize,pDirtyRectsBuffer,pDirtyRectsBufferSizeRequired) ) 480 #define IDXGIOutputDuplication_GetFrameMoveRects(This,MoveRectsBufferSize,pMoveRectBuffer,pMoveRectsBufferSizeRequired) \ 481 ( (This)->lpVtbl -> GetFrameMoveRects(This,MoveRectsBufferSize,pMoveRectBuffer,pMoveRectsBufferSizeRequired) ) 483 #define IDXGIOutputDuplication_GetFramePointerShape(This,PointerShapeBufferSize,pPointerShapeBuffer,pPointerShapeBufferSizeRequired,pPointerShapeInfo) \ 484 ( (This)->lpVtbl -> GetFramePointerShape(This,PointerShapeBufferSize,pPointerShapeBuffer,pPointerShapeBufferSizeRequired,pPointerShapeInfo) ) 486 #define IDXGIOutputDuplication_MapDesktopSurface(This,pLockedRect) \ 487 ( (This)->lpVtbl -> MapDesktopSurface(This,pLockedRect) ) 489 #define IDXGIOutputDuplication_UnMapDesktopSurface(This) \ 490 ( (This)->lpVtbl -> UnMapDesktopSurface(This) ) 492 #define IDXGIOutputDuplication_ReleaseFrame(This) \ 493 ( (This)->lpVtbl -> ReleaseFrame(This) ) 528 #ifndef __IDXGISurface2_INTERFACE_DEFINED__ 529 #define __IDXGISurface2_INTERFACE_DEFINED__ 537 #if defined(__cplusplus) && !defined(CINTERFACE) 539 MIDL_INTERFACE(
"aba496dd-b617-4cb8-a866-bc44d7eb1fa2")
543 virtual HRESULT STDMETHODCALLTYPE GetResource(
547 _COM_Outptr_
void **ppParentResource,
549 _Out_
UINT *pSubresourceIndex) = 0;
560 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
566 ULONG ( STDMETHODCALLTYPE *AddRef )(
572 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
580 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
587 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
596 HRESULT ( STDMETHODCALLTYPE *GetParent )(
603 HRESULT ( STDMETHODCALLTYPE *GetDevice )(
610 HRESULT ( STDMETHODCALLTYPE *GetDesc )(
615 HRESULT ( STDMETHODCALLTYPE *Map )(
621 HRESULT ( STDMETHODCALLTYPE *Unmap )(
624 HRESULT ( STDMETHODCALLTYPE *GetDC )(
630 HRESULT ( STDMETHODCALLTYPE *ReleaseDC )(
635 HRESULT ( STDMETHODCALLTYPE *GetResource )(
657 #define IDXGISurface2_QueryInterface(This,riid,ppvObject) \ 658 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 660 #define IDXGISurface2_AddRef(This) \ 661 ( (This)->lpVtbl -> AddRef(This) ) 663 #define IDXGISurface2_Release(This) \ 664 ( (This)->lpVtbl -> Release(This) ) 667 #define IDXGISurface2_SetPrivateData(This,Name,DataSize,pData) \ 668 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 670 #define IDXGISurface2_SetPrivateDataInterface(This,Name,pUnknown) \ 671 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 673 #define IDXGISurface2_GetPrivateData(This,Name,pDataSize,pData) \ 674 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 676 #define IDXGISurface2_GetParent(This,riid,ppParent) \ 677 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 680 #define IDXGISurface2_GetDevice(This,riid,ppDevice) \ 681 ( (This)->lpVtbl -> GetDevice(This,riid,ppDevice) ) 684 #define IDXGISurface2_GetDesc(This,pDesc) \ 685 ( (This)->lpVtbl -> GetDesc(This,pDesc) ) 687 #define IDXGISurface2_Map(This,pLockedRect,MapFlags) \ 688 ( (This)->lpVtbl -> Map(This,pLockedRect,MapFlags) ) 690 #define IDXGISurface2_Unmap(This) \ 691 ( (This)->lpVtbl -> Unmap(This) ) 694 #define IDXGISurface2_GetDC(This,Discard,phdc) \ 695 ( (This)->lpVtbl -> GetDC(This,Discard,phdc) ) 697 #define IDXGISurface2_ReleaseDC(This,pDirtyRect) \ 698 ( (This)->lpVtbl -> ReleaseDC(This,pDirtyRect) ) 701 #define IDXGISurface2_GetResource(This,riid,ppParentResource,pSubresourceIndex) \ 702 ( (This)->lpVtbl -> GetResource(This,riid,ppParentResource,pSubresourceIndex) ) 715 #ifndef __IDXGIResource1_INTERFACE_DEFINED__ 716 #define __IDXGIResource1_INTERFACE_DEFINED__ 724 #if defined(__cplusplus) && !defined(CINTERFACE) 726 MIDL_INTERFACE(
"30961379-4609-4a41-998e-54fe567ee0c1")
730 virtual HRESULT STDMETHODCALLTYPE CreateSubresourceSurface(
735 virtual HRESULT STDMETHODCALLTYPE CreateSharedHandle(
737 _In_opt_
const SECURITY_ATTRIBUTES *pAttributes,
741 _In_opt_ LPCWSTR lpName,
743 _Out_ HANDLE *pHandle) = 0;
754 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
760 ULONG ( STDMETHODCALLTYPE *AddRef )(
766 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
774 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
781 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
790 HRESULT ( STDMETHODCALLTYPE *GetParent )(
797 HRESULT ( STDMETHODCALLTYPE *GetDevice )(
804 HRESULT ( STDMETHODCALLTYPE *GetSharedHandle )(
809 HRESULT ( STDMETHODCALLTYPE *GetUsage )(
813 HRESULT ( STDMETHODCALLTYPE *SetEvictionPriority )(
817 HRESULT ( STDMETHODCALLTYPE *GetEvictionPriority )(
822 HRESULT ( STDMETHODCALLTYPE *CreateSubresourceSurface )(
828 HRESULT ( STDMETHODCALLTYPE *CreateSharedHandle )(
852 #define IDXGIResource1_QueryInterface(This,riid,ppvObject) \ 853 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 855 #define IDXGIResource1_AddRef(This) \ 856 ( (This)->lpVtbl -> AddRef(This) ) 858 #define IDXGIResource1_Release(This) \ 859 ( (This)->lpVtbl -> Release(This) ) 862 #define IDXGIResource1_SetPrivateData(This,Name,DataSize,pData) \ 863 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 865 #define IDXGIResource1_SetPrivateDataInterface(This,Name,pUnknown) \ 866 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 868 #define IDXGIResource1_GetPrivateData(This,Name,pDataSize,pData) \ 869 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 871 #define IDXGIResource1_GetParent(This,riid,ppParent) \ 872 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 875 #define IDXGIResource1_GetDevice(This,riid,ppDevice) \ 876 ( (This)->lpVtbl -> GetDevice(This,riid,ppDevice) ) 879 #define IDXGIResource1_GetSharedHandle(This,pSharedHandle) \ 880 ( (This)->lpVtbl -> GetSharedHandle(This,pSharedHandle) ) 882 #define IDXGIResource1_GetUsage(This,pUsage) \ 883 ( (This)->lpVtbl -> GetUsage(This,pUsage) ) 885 #define IDXGIResource1_SetEvictionPriority(This,EvictionPriority) \ 886 ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) ) 888 #define IDXGIResource1_GetEvictionPriority(This,pEvictionPriority) \ 889 ( (This)->lpVtbl -> GetEvictionPriority(This,pEvictionPriority) ) 892 #define IDXGIResource1_CreateSubresourceSurface(This,index,ppSurface) \ 893 ( (This)->lpVtbl -> CreateSubresourceSurface(This,index,ppSurface) ) 895 #define IDXGIResource1_CreateSharedHandle(This,pAttributes,dwAccess,lpName,pHandle) \ 896 ( (This)->lpVtbl -> CreateSharedHandle(This,pAttributes,dwAccess,lpName,pHandle) ) 925 #ifndef __IDXGIDevice2_INTERFACE_DEFINED__ 926 #define __IDXGIDevice2_INTERFACE_DEFINED__ 934 #if defined(__cplusplus) && !defined(CINTERFACE) 936 MIDL_INTERFACE(
"05008617-fbfd-4051-a790-144884b4f6a9")
940 virtual HRESULT STDMETHODCALLTYPE OfferResources(
942 _In_
UINT NumResources,
948 virtual HRESULT STDMETHODCALLTYPE ReclaimResources(
950 _In_
UINT NumResources,
954 _Out_writes_all_opt_(NumResources)
BOOL *pDiscarded) = 0;
956 virtual HRESULT STDMETHODCALLTYPE EnqueueSetEvent(
958 _In_ HANDLE hEvent) = 0;
969 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
975 ULONG ( STDMETHODCALLTYPE *AddRef )(
981 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
989 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
996 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
1005 HRESULT ( STDMETHODCALLTYPE *GetParent )(
1012 HRESULT ( STDMETHODCALLTYPE *GetAdapter )(
1017 HRESULT ( STDMETHODCALLTYPE *CreateSurface )(
1028 HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )(
1036 HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )(
1040 HRESULT ( STDMETHODCALLTYPE *GetGPUThreadPriority )(
1045 HRESULT ( STDMETHODCALLTYPE *SetMaximumFrameLatency )(
1049 HRESULT ( STDMETHODCALLTYPE *GetMaximumFrameLatency )(
1054 HRESULT ( STDMETHODCALLTYPE *OfferResources )(
1063 HRESULT ( STDMETHODCALLTYPE *ReclaimResources )(
1072 HRESULT ( STDMETHODCALLTYPE *EnqueueSetEvent )(
1090 #define IDXGIDevice2_QueryInterface(This,riid,ppvObject) \ 1091 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 1093 #define IDXGIDevice2_AddRef(This) \ 1094 ( (This)->lpVtbl -> AddRef(This) ) 1096 #define IDXGIDevice2_Release(This) \ 1097 ( (This)->lpVtbl -> Release(This) ) 1100 #define IDXGIDevice2_SetPrivateData(This,Name,DataSize,pData) \ 1101 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 1103 #define IDXGIDevice2_SetPrivateDataInterface(This,Name,pUnknown) \ 1104 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 1106 #define IDXGIDevice2_GetPrivateData(This,Name,pDataSize,pData) \ 1107 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 1109 #define IDXGIDevice2_GetParent(This,riid,ppParent) \ 1110 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 1113 #define IDXGIDevice2_GetAdapter(This,pAdapter) \ 1114 ( (This)->lpVtbl -> GetAdapter(This,pAdapter) ) 1116 #define IDXGIDevice2_CreateSurface(This,pDesc,NumSurfaces,Usage,pSharedResource,ppSurface) \ 1117 ( (This)->lpVtbl -> CreateSurface(This,pDesc,NumSurfaces,Usage,pSharedResource,ppSurface) ) 1119 #define IDXGIDevice2_QueryResourceResidency(This,ppResources,pResidencyStatus,NumResources) \ 1120 ( (This)->lpVtbl -> QueryResourceResidency(This,ppResources,pResidencyStatus,NumResources) ) 1122 #define IDXGIDevice2_SetGPUThreadPriority(This,Priority) \ 1123 ( (This)->lpVtbl -> SetGPUThreadPriority(This,Priority) ) 1125 #define IDXGIDevice2_GetGPUThreadPriority(This,pPriority) \ 1126 ( (This)->lpVtbl -> GetGPUThreadPriority(This,pPriority) ) 1129 #define IDXGIDevice2_SetMaximumFrameLatency(This,MaxLatency) \ 1130 ( (This)->lpVtbl -> SetMaximumFrameLatency(This,MaxLatency) ) 1132 #define IDXGIDevice2_GetMaximumFrameLatency(This,pMaxLatency) \ 1133 ( (This)->lpVtbl -> GetMaximumFrameLatency(This,pMaxLatency) ) 1136 #define IDXGIDevice2_OfferResources(This,NumResources,ppResources,Priority) \ 1137 ( (This)->lpVtbl -> OfferResources(This,NumResources,ppResources,Priority) ) 1139 #define IDXGIDevice2_ReclaimResources(This,NumResources,ppResources,pDiscarded) \ 1140 ( (This)->lpVtbl -> ReclaimResources(This,NumResources,ppResources,pDiscarded) ) 1142 #define IDXGIDevice2_EnqueueSetEvent(This,hEvent) \ 1143 ( (This)->lpVtbl -> EnqueueSetEvent(This,hEvent) ) 1159 #define DXGI_ENUM_MODES_STEREO ( 4UL ) 1161 #define DXGI_ENUM_MODES_DISABLED_STEREO ( 8UL ) 1163 #define DXGI_SHARED_RESOURCE_READ ( 0x80000000L ) 1165 #define DXGI_SHARED_RESOURCE_WRITE ( 1 ) 1223 #ifndef __IDXGISwapChain1_INTERFACE_DEFINED__ 1224 #define __IDXGISwapChain1_INTERFACE_DEFINED__ 1232 #if defined(__cplusplus) && !defined(CINTERFACE) 1234 MIDL_INTERFACE(
"790a45f7-0d42-4876-983a-0a55cfe6f4aa")
1238 virtual HRESULT STDMETHODCALLTYPE GetDesc1(
1242 virtual HRESULT STDMETHODCALLTYPE GetFullscreenDesc(
1246 virtual HRESULT STDMETHODCALLTYPE GetHwnd(
1248 _Out_ HWND *pHwnd) = 0;
1250 virtual HRESULT STDMETHODCALLTYPE GetCoreWindow(
1254 _COM_Outptr_
void **ppUnk) = 0;
1256 virtual HRESULT STDMETHODCALLTYPE Present1(
1262 virtual BOOL STDMETHODCALLTYPE IsTemporaryMonoSupported(
void) = 0;
1264 virtual HRESULT STDMETHODCALLTYPE GetRestrictToOutput(
1268 virtual HRESULT STDMETHODCALLTYPE SetBackgroundColor(
1272 virtual HRESULT STDMETHODCALLTYPE GetBackgroundColor(
1276 virtual HRESULT STDMETHODCALLTYPE SetRotation(
1280 virtual HRESULT STDMETHODCALLTYPE GetRotation(
1293 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1299 ULONG ( STDMETHODCALLTYPE *AddRef )(
1305 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
1313 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
1318 _In_opt_
const IUnknown *
pUnknown);
1320 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
1329 HRESULT ( STDMETHODCALLTYPE *GetParent )(
1336 HRESULT ( STDMETHODCALLTYPE *GetDevice )(
1343 HRESULT ( STDMETHODCALLTYPE *Present )(
1348 HRESULT ( STDMETHODCALLTYPE *GetBuffer )(
1356 HRESULT ( STDMETHODCALLTYPE *SetFullscreenState )(
1362 HRESULT ( STDMETHODCALLTYPE *GetFullscreenState )(
1369 HRESULT ( STDMETHODCALLTYPE *GetDesc )(
1374 HRESULT ( STDMETHODCALLTYPE *ResizeBuffers )(
1382 HRESULT ( STDMETHODCALLTYPE *ResizeTarget )(
1387 HRESULT ( STDMETHODCALLTYPE *GetContainingOutput )(
1392 HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )(
1397 HRESULT ( STDMETHODCALLTYPE *GetLastPresentCount )(
1402 HRESULT ( STDMETHODCALLTYPE *GetDesc1 )(
1407 HRESULT ( STDMETHODCALLTYPE *GetFullscreenDesc )(
1412 HRESULT ( STDMETHODCALLTYPE *GetHwnd )(
1417 HRESULT ( STDMETHODCALLTYPE *GetCoreWindow )(
1422 _COM_Outptr_
void **
ppUnk);
1424 HRESULT ( STDMETHODCALLTYPE *Present1 )(
1431 BOOL ( STDMETHODCALLTYPE *IsTemporaryMonoSupported )(
1434 HRESULT ( STDMETHODCALLTYPE *GetRestrictToOutput )(
1439 HRESULT ( STDMETHODCALLTYPE *SetBackgroundColor )(
1444 HRESULT ( STDMETHODCALLTYPE *GetBackgroundColor )(
1449 HRESULT ( STDMETHODCALLTYPE *SetRotation )(
1454 HRESULT ( STDMETHODCALLTYPE *GetRotation )(
1472 #define IDXGISwapChain1_QueryInterface(This,riid,ppvObject) \ 1473 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 1475 #define IDXGISwapChain1_AddRef(This) \ 1476 ( (This)->lpVtbl -> AddRef(This) ) 1478 #define IDXGISwapChain1_Release(This) \ 1479 ( (This)->lpVtbl -> Release(This) ) 1482 #define IDXGISwapChain1_SetPrivateData(This,Name,DataSize,pData) \ 1483 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 1485 #define IDXGISwapChain1_SetPrivateDataInterface(This,Name,pUnknown) \ 1486 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 1488 #define IDXGISwapChain1_GetPrivateData(This,Name,pDataSize,pData) \ 1489 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 1491 #define IDXGISwapChain1_GetParent(This,riid,ppParent) \ 1492 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 1495 #define IDXGISwapChain1_GetDevice(This,riid,ppDevice) \ 1496 ( (This)->lpVtbl -> GetDevice(This,riid,ppDevice) ) 1499 #define IDXGISwapChain1_Present(This,SyncInterval,Flags) \ 1500 ( (This)->lpVtbl -> Present(This,SyncInterval,Flags) ) 1502 #define IDXGISwapChain1_GetBuffer(This,Buffer,riid,ppSurface) \ 1503 ( (This)->lpVtbl -> GetBuffer(This,Buffer,riid,ppSurface) ) 1505 #define IDXGISwapChain1_SetFullscreenState(This,Fullscreen,pTarget) \ 1506 ( (This)->lpVtbl -> SetFullscreenState(This,Fullscreen,pTarget) ) 1508 #define IDXGISwapChain1_GetFullscreenState(This,pFullscreen,ppTarget) \ 1509 ( (This)->lpVtbl -> GetFullscreenState(This,pFullscreen,ppTarget) ) 1511 #define IDXGISwapChain1_GetDesc(This,pDesc) \ 1512 ( (This)->lpVtbl -> GetDesc(This,pDesc) ) 1514 #define IDXGISwapChain1_ResizeBuffers(This,BufferCount,Width,Height,NewFormat,SwapChainFlags) \ 1515 ( (This)->lpVtbl -> ResizeBuffers(This,BufferCount,Width,Height,NewFormat,SwapChainFlags) ) 1517 #define IDXGISwapChain1_ResizeTarget(This,pNewTargetParameters) \ 1518 ( (This)->lpVtbl -> ResizeTarget(This,pNewTargetParameters) ) 1520 #define IDXGISwapChain1_GetContainingOutput(This,ppOutput) \ 1521 ( (This)->lpVtbl -> GetContainingOutput(This,ppOutput) ) 1523 #define IDXGISwapChain1_GetFrameStatistics(This,pStats) \ 1524 ( (This)->lpVtbl -> GetFrameStatistics(This,pStats) ) 1526 #define IDXGISwapChain1_GetLastPresentCount(This,pLastPresentCount) \ 1527 ( (This)->lpVtbl -> GetLastPresentCount(This,pLastPresentCount) ) 1530 #define IDXGISwapChain1_GetDesc1(This,pDesc) \ 1531 ( (This)->lpVtbl -> GetDesc1(This,pDesc) ) 1533 #define IDXGISwapChain1_GetFullscreenDesc(This,pDesc) \ 1534 ( (This)->lpVtbl -> GetFullscreenDesc(This,pDesc) ) 1536 #define IDXGISwapChain1_GetHwnd(This,pHwnd) \ 1537 ( (This)->lpVtbl -> GetHwnd(This,pHwnd) ) 1539 #define IDXGISwapChain1_GetCoreWindow(This,refiid,ppUnk) \ 1540 ( (This)->lpVtbl -> GetCoreWindow(This,refiid,ppUnk) ) 1542 #define IDXGISwapChain1_Present1(This,SyncInterval,PresentFlags,pPresentParameters) \ 1543 ( (This)->lpVtbl -> Present1(This,SyncInterval,PresentFlags,pPresentParameters) ) 1545 #define IDXGISwapChain1_IsTemporaryMonoSupported(This) \ 1546 ( (This)->lpVtbl -> IsTemporaryMonoSupported(This) ) 1548 #define IDXGISwapChain1_GetRestrictToOutput(This,ppRestrictToOutput) \ 1549 ( (This)->lpVtbl -> GetRestrictToOutput(This,ppRestrictToOutput) ) 1551 #define IDXGISwapChain1_SetBackgroundColor(This,pColor) \ 1552 ( (This)->lpVtbl -> SetBackgroundColor(This,pColor) ) 1554 #define IDXGISwapChain1_GetBackgroundColor(This,pColor) \ 1555 ( (This)->lpVtbl -> GetBackgroundColor(This,pColor) ) 1557 #define IDXGISwapChain1_SetRotation(This,Rotation) \ 1558 ( (This)->lpVtbl -> SetRotation(This,Rotation) ) 1560 #define IDXGISwapChain1_GetRotation(This,pRotation) \ 1561 ( (This)->lpVtbl -> GetRotation(This,pRotation) ) 1574 #ifndef __IDXGIFactory2_INTERFACE_DEFINED__ 1575 #define __IDXGIFactory2_INTERFACE_DEFINED__ 1583 #if defined(__cplusplus) && !defined(CINTERFACE) 1585 MIDL_INTERFACE(
"50c83a1c-e072-4c48-87b0-3630fa36a6d0")
1589 virtual BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled(
void) = 0;
1591 virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd(
1593 _In_ IUnknown *pDevice,
1605 virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow(
1607 _In_ IUnknown *pDevice,
1609 _In_ IUnknown *pWindow,
1617 virtual HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid(
1619 _In_ HANDLE hResource,
1621 _Out_ LUID *pLuid) = 0;
1623 virtual HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow(
1625 _In_ HWND WindowHandle,
1629 _Out_ DWORD *pdwCookie) = 0;
1631 virtual HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent(
1635 _Out_ DWORD *pdwCookie) = 0;
1637 virtual void STDMETHODCALLTYPE UnregisterStereoStatus(
1639 _In_ DWORD dwCookie) = 0;
1641 virtual HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow(
1643 _In_ HWND WindowHandle,
1647 _Out_ DWORD *pdwCookie) = 0;
1649 virtual HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent(
1653 _Out_ DWORD *pdwCookie) = 0;
1655 virtual void STDMETHODCALLTYPE UnregisterOcclusionStatus(
1657 _In_ DWORD dwCookie) = 0;
1659 virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition(
1661 _In_ IUnknown *pDevice,
1678 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1684 ULONG ( STDMETHODCALLTYPE *AddRef )(
1690 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
1698 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
1703 _In_opt_
const IUnknown *
pUnknown);
1705 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
1714 HRESULT ( STDMETHODCALLTYPE *GetParent )(
1721 HRESULT ( STDMETHODCALLTYPE *EnumAdapters )(
1727 HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )(
1732 HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )(
1737 HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )(
1746 HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )(
1752 HRESULT ( STDMETHODCALLTYPE *EnumAdapters1 )(
1758 BOOL ( STDMETHODCALLTYPE *IsCurrent )(
1761 BOOL ( STDMETHODCALLTYPE *IsWindowedStereoEnabled )(
1764 HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForHwnd )(
1779 HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForCoreWindow )(
1792 HRESULT ( STDMETHODCALLTYPE *GetSharedResourceAdapterLuid )(
1799 HRESULT ( STDMETHODCALLTYPE *RegisterStereoStatusWindow )(
1808 HRESULT ( STDMETHODCALLTYPE *RegisterStereoStatusEvent )(
1815 void ( STDMETHODCALLTYPE *UnregisterStereoStatus )(
1820 HRESULT ( STDMETHODCALLTYPE *RegisterOcclusionStatusWindow )(
1829 HRESULT ( STDMETHODCALLTYPE *RegisterOcclusionStatusEvent )(
1836 void ( STDMETHODCALLTYPE *UnregisterOcclusionStatus )(
1841 HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForComposition )(
1865 #define IDXGIFactory2_QueryInterface(This,riid,ppvObject) \ 1866 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 1868 #define IDXGIFactory2_AddRef(This) \ 1869 ( (This)->lpVtbl -> AddRef(This) ) 1871 #define IDXGIFactory2_Release(This) \ 1872 ( (This)->lpVtbl -> Release(This) ) 1875 #define IDXGIFactory2_SetPrivateData(This,Name,DataSize,pData) \ 1876 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 1878 #define IDXGIFactory2_SetPrivateDataInterface(This,Name,pUnknown) \ 1879 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 1881 #define IDXGIFactory2_GetPrivateData(This,Name,pDataSize,pData) \ 1882 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 1884 #define IDXGIFactory2_GetParent(This,riid,ppParent) \ 1885 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 1888 #define IDXGIFactory2_EnumAdapters(This,Adapter,ppAdapter) \ 1889 ( (This)->lpVtbl -> EnumAdapters(This,Adapter,ppAdapter) ) 1891 #define IDXGIFactory2_MakeWindowAssociation(This,WindowHandle,Flags) \ 1892 ( (This)->lpVtbl -> MakeWindowAssociation(This,WindowHandle,Flags) ) 1894 #define IDXGIFactory2_GetWindowAssociation(This,pWindowHandle) \ 1895 ( (This)->lpVtbl -> GetWindowAssociation(This,pWindowHandle) ) 1897 #define IDXGIFactory2_CreateSwapChain(This,pDevice,pDesc,ppSwapChain) \ 1898 ( (This)->lpVtbl -> CreateSwapChain(This,pDevice,pDesc,ppSwapChain) ) 1900 #define IDXGIFactory2_CreateSoftwareAdapter(This,Module,ppAdapter) \ 1901 ( (This)->lpVtbl -> CreateSoftwareAdapter(This,Module,ppAdapter) ) 1904 #define IDXGIFactory2_EnumAdapters1(This,Adapter,ppAdapter) \ 1905 ( (This)->lpVtbl -> EnumAdapters1(This,Adapter,ppAdapter) ) 1907 #define IDXGIFactory2_IsCurrent(This) \ 1908 ( (This)->lpVtbl -> IsCurrent(This) ) 1911 #define IDXGIFactory2_IsWindowedStereoEnabled(This) \ 1912 ( (This)->lpVtbl -> IsWindowedStereoEnabled(This) ) 1914 #define IDXGIFactory2_CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) \ 1915 ( (This)->lpVtbl -> CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) ) 1917 #define IDXGIFactory2_CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) \ 1918 ( (This)->lpVtbl -> CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) ) 1920 #define IDXGIFactory2_GetSharedResourceAdapterLuid(This,hResource,pLuid) \ 1921 ( (This)->lpVtbl -> GetSharedResourceAdapterLuid(This,hResource,pLuid) ) 1923 #define IDXGIFactory2_RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) \ 1924 ( (This)->lpVtbl -> RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) ) 1926 #define IDXGIFactory2_RegisterStereoStatusEvent(This,hEvent,pdwCookie) \ 1927 ( (This)->lpVtbl -> RegisterStereoStatusEvent(This,hEvent,pdwCookie) ) 1929 #define IDXGIFactory2_UnregisterStereoStatus(This,dwCookie) \ 1930 ( (This)->lpVtbl -> UnregisterStereoStatus(This,dwCookie) ) 1932 #define IDXGIFactory2_RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) \ 1933 ( (This)->lpVtbl -> RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) ) 1935 #define IDXGIFactory2_RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) \ 1936 ( (This)->lpVtbl -> RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) ) 1938 #define IDXGIFactory2_UnregisterOcclusionStatus(This,dwCookie) \ 1939 ( (This)->lpVtbl -> UnregisterOcclusionStatus(This,dwCookie) ) 1941 #define IDXGIFactory2_CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) \ 1942 ( (This)->lpVtbl -> CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) ) 1999 #ifndef __IDXGIAdapter2_INTERFACE_DEFINED__ 2000 #define __IDXGIAdapter2_INTERFACE_DEFINED__ 2008 #if defined(__cplusplus) && !defined(CINTERFACE) 2010 MIDL_INTERFACE(
"0AA1AE0A-FA0E-4B84-8644-E05FF8E5ACB5")
2014 virtual HRESULT STDMETHODCALLTYPE GetDesc2(
2027 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2033 ULONG ( STDMETHODCALLTYPE *AddRef )(
2039 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2047 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2052 _In_opt_
const IUnknown *
pUnknown);
2054 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2063 HRESULT ( STDMETHODCALLTYPE *GetParent )(
2070 HRESULT ( STDMETHODCALLTYPE *EnumOutputs )(
2076 HRESULT ( STDMETHODCALLTYPE *GetDesc )(
2081 HRESULT ( STDMETHODCALLTYPE *CheckInterfaceSupport )(
2088 HRESULT ( STDMETHODCALLTYPE *GetDesc1 )(
2093 HRESULT ( STDMETHODCALLTYPE *GetDesc2 )(
2111 #define IDXGIAdapter2_QueryInterface(This,riid,ppvObject) \ 2112 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 2114 #define IDXGIAdapter2_AddRef(This) \ 2115 ( (This)->lpVtbl -> AddRef(This) ) 2117 #define IDXGIAdapter2_Release(This) \ 2118 ( (This)->lpVtbl -> Release(This) ) 2121 #define IDXGIAdapter2_SetPrivateData(This,Name,DataSize,pData) \ 2122 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 2124 #define IDXGIAdapter2_SetPrivateDataInterface(This,Name,pUnknown) \ 2125 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 2127 #define IDXGIAdapter2_GetPrivateData(This,Name,pDataSize,pData) \ 2128 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 2130 #define IDXGIAdapter2_GetParent(This,riid,ppParent) \ 2131 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 2134 #define IDXGIAdapter2_EnumOutputs(This,Output,ppOutput) \ 2135 ( (This)->lpVtbl -> EnumOutputs(This,Output,ppOutput) ) 2137 #define IDXGIAdapter2_GetDesc(This,pDesc) \ 2138 ( (This)->lpVtbl -> GetDesc(This,pDesc) ) 2140 #define IDXGIAdapter2_CheckInterfaceSupport(This,InterfaceName,pUMDVersion) \ 2141 ( (This)->lpVtbl -> CheckInterfaceSupport(This,InterfaceName,pUMDVersion) ) 2144 #define IDXGIAdapter2_GetDesc1(This,pDesc) \ 2145 ( (This)->lpVtbl -> GetDesc1(This,pDesc) ) 2148 #define IDXGIAdapter2_GetDesc2(This,pDesc) \ 2149 ( (This)->lpVtbl -> GetDesc2(This,pDesc) ) 2162 #ifndef __IDXGIOutput1_INTERFACE_DEFINED__ 2163 #define __IDXGIOutput1_INTERFACE_DEFINED__ 2171 #if defined(__cplusplus) && !defined(CINTERFACE) 2173 MIDL_INTERFACE(
"00cddea8-939b-4b83-a340-a685226666cc")
2177 virtual HRESULT STDMETHODCALLTYPE GetDisplayModeList1(
2181 _Inout_
UINT *pNumModes,
2185 virtual HRESULT STDMETHODCALLTYPE FindClosestMatchingMode1(
2191 _In_opt_ IUnknown *pConcernedDevice) = 0;
2193 virtual HRESULT STDMETHODCALLTYPE GetDisplaySurfaceData1(
2197 virtual HRESULT STDMETHODCALLTYPE DuplicateOutput(
2199 _In_ IUnknown *pDevice,
2212 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2218 ULONG ( STDMETHODCALLTYPE *AddRef )(
2224 HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2232 HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2237 _In_opt_
const IUnknown *
pUnknown);
2239 HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2248 HRESULT ( STDMETHODCALLTYPE *GetParent )(
2255 HRESULT ( STDMETHODCALLTYPE *GetDesc )(
2260 HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )(
2269 HRESULT ( STDMETHODCALLTYPE *FindClosestMatchingMode )(
2278 HRESULT ( STDMETHODCALLTYPE *WaitForVBlank )(
2281 HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
2287 void ( STDMETHODCALLTYPE *ReleaseOwnership )(
2290 HRESULT ( STDMETHODCALLTYPE *GetGammaControlCapabilities )(
2295 HRESULT ( STDMETHODCALLTYPE *SetGammaControl )(
2300 HRESULT ( STDMETHODCALLTYPE *GetGammaControl )(
2305 HRESULT ( STDMETHODCALLTYPE *SetDisplaySurface )(
2310 HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData )(
2315 HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )(
2320 HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList1 )(
2329 HRESULT ( STDMETHODCALLTYPE *FindClosestMatchingMode1 )(
2338 HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData1 )(
2343 HRESULT ( STDMETHODCALLTYPE *DuplicateOutput )(
2363 #define IDXGIOutput1_QueryInterface(This,riid,ppvObject) \ 2364 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 2366 #define IDXGIOutput1_AddRef(This) \ 2367 ( (This)->lpVtbl -> AddRef(This) ) 2369 #define IDXGIOutput1_Release(This) \ 2370 ( (This)->lpVtbl -> Release(This) ) 2373 #define IDXGIOutput1_SetPrivateData(This,Name,DataSize,pData) \ 2374 ( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) ) 2376 #define IDXGIOutput1_SetPrivateDataInterface(This,Name,pUnknown) \ 2377 ( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) ) 2379 #define IDXGIOutput1_GetPrivateData(This,Name,pDataSize,pData) \ 2380 ( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) ) 2382 #define IDXGIOutput1_GetParent(This,riid,ppParent) \ 2383 ( (This)->lpVtbl -> GetParent(This,riid,ppParent) ) 2386 #define IDXGIOutput1_GetDesc(This,pDesc) \ 2387 ( (This)->lpVtbl -> GetDesc(This,pDesc) ) 2389 #define IDXGIOutput1_GetDisplayModeList(This,EnumFormat,Flags,pNumModes,pDesc) \ 2390 ( (This)->lpVtbl -> GetDisplayModeList(This,EnumFormat,Flags,pNumModes,pDesc) ) 2392 #define IDXGIOutput1_FindClosestMatchingMode(This,pModeToMatch,pClosestMatch,pConcernedDevice) \ 2393 ( (This)->lpVtbl -> FindClosestMatchingMode(This,pModeToMatch,pClosestMatch,pConcernedDevice) ) 2395 #define IDXGIOutput1_WaitForVBlank(This) \ 2396 ( (This)->lpVtbl -> WaitForVBlank(This) ) 2398 #define IDXGIOutput1_TakeOwnership(This,pDevice,Exclusive) \ 2399 ( (This)->lpVtbl -> TakeOwnership(This,pDevice,Exclusive) ) 2401 #define IDXGIOutput1_ReleaseOwnership(This) \ 2402 ( (This)->lpVtbl -> ReleaseOwnership(This) ) 2404 #define IDXGIOutput1_GetGammaControlCapabilities(This,pGammaCaps) \ 2405 ( (This)->lpVtbl -> GetGammaControlCapabilities(This,pGammaCaps) ) 2407 #define IDXGIOutput1_SetGammaControl(This,pArray) \ 2408 ( (This)->lpVtbl -> SetGammaControl(This,pArray) ) 2410 #define IDXGIOutput1_GetGammaControl(This,pArray) \ 2411 ( (This)->lpVtbl -> GetGammaControl(This,pArray) ) 2413 #define IDXGIOutput1_SetDisplaySurface(This,pScanoutSurface) \ 2414 ( (This)->lpVtbl -> SetDisplaySurface(This,pScanoutSurface) ) 2416 #define IDXGIOutput1_GetDisplaySurfaceData(This,pDestination) \ 2417 ( (This)->lpVtbl -> GetDisplaySurfaceData(This,pDestination) ) 2419 #define IDXGIOutput1_GetFrameStatistics(This,pStats) \ 2420 ( (This)->lpVtbl -> GetFrameStatistics(This,pStats) ) 2423 #define IDXGIOutput1_GetDisplayModeList1(This,EnumFormat,Flags,pNumModes,pDesc) \ 2424 ( (This)->lpVtbl -> GetDisplayModeList1(This,EnumFormat,Flags,pNumModes,pDesc) ) 2426 #define IDXGIOutput1_FindClosestMatchingMode1(This,pModeToMatch,pClosestMatch,pConcernedDevice) \ 2427 ( (This)->lpVtbl -> FindClosestMatchingMode1(This,pModeToMatch,pClosestMatch,pConcernedDevice) ) 2429 #define IDXGIOutput1_GetDisplaySurfaceData1(This,pDestination) \ 2430 ( (This)->lpVtbl -> GetDisplaySurfaceData1(This,pDestination) ) 2432 #define IDXGIOutput1_DuplicateOutput(This,pDevice,ppOutputDuplication) \ 2433 ( (This)->lpVtbl -> DuplicateOutput(This,pDevice,ppOutputDuplication) ) 2451 DEFINE_GUID(
IID_IDXGIDisplayControl,0xea9dbf1a,0xc88e,0x4486,0x85,0x4a,0x98,0xaa,0x01,0x38,0xf3,0x0c);
2452 DEFINE_GUID(
IID_IDXGIOutputDuplication,0x191cfac3,0xa341,0x470d,0xb2,0x6e,0xa8,0x64,0xf4,0x28,0x31,0x9c);
2453 DEFINE_GUID(
IID_IDXGISurface2,0xaba496dd,0xb617,0x4cb8,0xa8,0x66,0xbc,0x44,0xd7,0xeb,0x1f,0xa2);
2454 DEFINE_GUID(
IID_IDXGIResource1,0x30961379,0x4609,0x4a41,0x99,0x8e,0x54,0xfe,0x56,0x7e,0xe0,0xc1);
2455 DEFINE_GUID(
IID_IDXGIDevice2,0x05008617,0xfbfd,0x4051,0xa7,0x90,0x14,0x48,0x84,0xb4,0xf6,0xa9);
2456 DEFINE_GUID(
IID_IDXGISwapChain1,0x790a45f7,0x0d42,0x4876,0x98,0x3a,0x0a,0x55,0xcf,0xe6,0xf4,0xaa);
2457 DEFINE_GUID(
IID_IDXGIFactory2,0x50c83a1c,0xe072,0x4c48,0x87,0xb0,0x36,0x30,0xfa,0x36,0xa6,0xd0);
2458 DEFINE_GUID(
IID_IDXGIAdapter2,0x0AA1AE0A,0xFA0E,0x4B84,0x86,0x44,0xE0,0x5F,0xF8,0xE5,0xAC,0xB5);
2459 DEFINE_GUID(
IID_IDXGIOutput1,0x00cddea8,0x939b,0x4b83,0xa3,0x40,0xa6,0x85,0x22,0x66,0x66,0xcc);
Definition: dxgi1_2.h:239
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:984
DXGI_SCALING
Definition: dxgi1_2.h:1178
UINT Flags
Definition: dxgi1_2.h:1198
Definition: dxgi1_2.h:1971
UINT UINT Width
Definition: dxgi1_2.h:1376
_Out_opt_ BOOL _COM_Outptr_opt_result_maybenull_ IDXGIOutput ** ppTarget
Definition: dxgi1_2.h:1365
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:2214
BOOL(STDMETHODCALLTYPE *IsCurrent)(IDXGIFactory2 *This)
DXGI_GRAPHICS_PREEMPTION_GRANULARITY GraphicsPreemptionGranularity
Definition: dxgi1_2.h:1990
_In_ REFIID refiid
Definition: dxgi1_2.h:1420
_In_ DWORD dwCookie
Definition: dxgi1_2.h:1818
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0002_v0_0_c_ifspec
UINT UINT _In_ const DXGI_PRESENT_PARAMETERS * pPresentParameters
Definition: dxgi1_2.h:1426
DXGI_MODE_ROTATION Rotation
Definition: dxgi1_2.h:224
_In_ const DXGI_SURFACE_DESC UINT DXGI_USAGE Usage
Definition: dxgi1_2.h:1020
Definition: dxgi1_2.h:238
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:2235
UINT _COM_Outptr_ IDXGISurface2 ** ppSurface
Definition: dxgi1_2.h:824
Definition: dxgi1_2.h:2208
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:1295
Definition: dxgi1_2.h:1964
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGIDisplayControl *This
BOOL RectsCoalesced
Definition: dxgi1_2.h:256
UINT Pitch
Definition: dxgi1_2.h:247
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:562
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGIAdapter2 *This)
_Out_ UINT * pLastPresentCount
Definition: dxgi1_2.h:1400
_Out_ DXGI_OUTPUT_DESC * pDesc
Definition: dxgi1_2.h:2258
DXGI_OUTDUPL_POINTER_SHAPE_TYPE
Definition: dxgi1_2.h:234
struct DXGI_OUTDUPL_POINTER_POSITION DXGI_OUTDUPL_POINTER_POSITION
Definition: dxgi1_2.h:1183
interface IDXGIFactory1 IDXGIFactory1
Definition: dxgi.h:121
_In_ REFIID _COM_Outptr_ void ** ppParentResource
Definition: dxgi1_2.h:638
_In_ IUnknown _In_ HWND _In_ const DXGI_SWAP_CHAIN_DESC1 _In_opt_ const DXGI_SWAP_CHAIN_FULLSCREEN_DESC * pFullscreenDesc
Definition: dxgi1_2.h:1767
interface IDXGIOutputDuplication IDXGIOutputDuplication
Definition: dxgi1_2.h:51
interface IDXGIResource IDXGIResource
Definition: dxgi.h:58
_In_ HANDLE hEvent
Definition: dxgi1_2.h:1075
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGISurface2 *This)
_In_ IUnknown _In_ HWND _In_ const DXGI_SWAP_CHAIN_DESC1 _In_opt_ const DXGI_SWAP_CHAIN_FULLSCREEN_DESC _In_opt_ IDXGIOutput * pRestrictToOutput
Definition: dxgi1_2.h:1767
_In_ UINT _Out_ UINT _Out_ DXGI_OUTDUPL_POINTER_SHAPE_INFO * pPointerShapeInfo
Definition: dxgi1_2.h:420
_COM_Outptr_ IDXGIOutput ** ppOutput
Definition: dxgi1_2.h:1390
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0001_v0_0_c_ifspec
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:2246
_In_ REFIID riid
Definition: dxgi1_2.h:2066
_In_ const DXGI_SURFACE_DESC UINT DXGI_USAGE _In_opt_ const DXGI_SHARED_RESOURCE * pSharedResource
Definition: dxgi1_2.h:1020
Definition: dxgi1_2.h:915
_In_ IUnknown _In_ IUnknown * pWindow
Definition: dxgi1_2.h:1782
BOOL Visible
Definition: dxgi1_2.h:231
_In_ const DXGI_MODE_DESC * pModeToMatch
Definition: dxgi1_2.h:2272
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:1717
BOOL Windowed
Definition: dxgi1_2.h:1206
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGISwapChain1 *This
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0007_v0_0_s_ifspec
DEFINE_GUID(IID_IDXGIDisplayControl, 0xea9dbf1a, 0xc88e, 0x4486, 0x85, 0x4a, 0x98, 0xaa, 0x01, 0x38, 0xf3, 0x0c)
SIZE_T SharedSystemMemory
Definition: dxgi1_2.h:1987
struct IDXGISurface2Vtbl IDXGISurface2Vtbl
_Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus
_In_ DXGI_MODE_ROTATION Rotation
Definition: dxgi1_2.h:1452
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:777
Definition: dxgi1_2.h:1974
_In_ const DXGI_GAMMA_CONTROL * pArray
Definition: dxgi1_2.h:2298
_Out_ DXGI_MAPPED_RECT * pLockedRect
Definition: dxgi1_2.h:618
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:1332
Definition: dxgi1_2.h:916
_In_ UINT _Out_ DXGI_OUTDUPL_FRAME_INFO _COM_Outptr_ IDXGIResource ** ppDesktopResource
Definition: dxgi1_2.h:389
DXGI_MODE_SCALING Scaling
Definition: dxgi1_2.h:1174
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:1327
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0004_v0_0_s_ifspec
UINT _In_ REFIID riid
Definition: dxgi1_2.h:1350
_In_ HANDLE _Out_ DWORD * pdwCookie
Definition: dxgi1_2.h:1811
DXGI_FORMAT EnumFormat
Definition: dxgi1_2.h:2262
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:788
EXTERN_C const IID IID_IDXGIResource1
Definition: dxgi1_2.h:722
DXGI_MODE_DESC ModeDesc
Definition: dxgi1_2.h:223
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:2066
_In_ const DXGI_MODE_DESC _Out_ DXGI_MODE_DESC _In_opt_ IUnknown * pConcernedDevice
Definition: dxgi1_2.h:2272
EXTERN_C const IID IID_IDXGIDisplayControl
Definition: dxgi1_2.h:131
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0009_v0_0_c_ifspec
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGIOutput1 *This)
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:562
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:1323
_In_ IUnknown * pDevice
Definition: dxgi1_2.h:1740
Definition: dxgitype.h:75
_In_ UINT _Out_ UINT * pPointerShapeBufferSizeRequired
Definition: dxgi1_2.h:420
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
Definition: dxgi1_2.h:237
Definition: dxgi1_2.h:228
POINT SourcePoint
Definition: dxgi1_2.h:217
_In_ UINT _Out_writes_bytes_to_(DirtyRectsBufferSize, *pDirtyRectsBufferSizeRequired) RECT *pDirtyRectsBuffer
struct DXGI_PRESENT_PARAMETERS DXGI_PRESENT_PARAMETERS
_In_ REFGUID Name
Definition: dxgi1_2.h:353
EXTERN_C const IID IID_IDXGIAdapter2
Definition: dxgi1_2.h:2006
UINT NumResources
Definition: dxgi1_2.h:1034
void(STDMETHODCALLTYPE *SetStereoEnabled)(IDXGIDisplayControl *This
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:992
_Out_ DXGI_MAPPED_RECT * pLockedRect
Definition: dxgi1_2.h:427
UINT Width
Definition: dxgi1_2.h:1169
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:1680
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:1693
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:971
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGIFactory2 *This
DXGI_COMPUTE_PREEMPTION_GRANULARITY
Definition: dxgi1_2.h:1968
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGISurface2 *This
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:1308
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0005_v0_0_s_ifspec
_In_ IUnknown _In_ HWND hWnd
Definition: dxgi1_2.h:1767
_In_ IDXGISurface * pDestination
Definition: dxgi1_2.h:2313
_In_reads_(NumResources) IUnknown *const *ppResources
WCHAR Description[128]
Definition: dxgi1_2.h:1980
_In_ REFGUID Name
Definition: dxgi1_2.h:984
UINT AccumulatedFrames
Definition: dxgi1_2.h:255
_In_ IUnknown _COM_Outptr_ IDXGIOutputDuplication ** ppOutputDuplication
Definition: dxgi1_2.h:2346
UINT BufferCount
Definition: dxgi1_2.h:1194
_Field_size_full_opt_(DirtyRectsCount) RECT *pDirtyRects
Definition: dxgi1_2.h:520
UINT Buffer
Definition: dxgi1_2.h:1350
interface IDXGIDisplayControl IDXGIDisplayControl
Definition: dxgi1_2.h:44
UINT DXGI_USAGE
Definition: dxgi.h:167
UINT MaxLatency
Definition: dxgi1_2.h:1047
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
Definition: dxgicommon.h:19
BOOL Stereo
Definition: dxgi1_2.h:1191
_Out_ HWND * pWindowHandle
Definition: dxgi1_2.h:1735
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
struct DXGI_OUTDUPL_MOVE_RECT DXGI_OUTDUPL_MOVE_RECT
Definition: dxgi1_2.h:750
_In_ HWND _In_ UINT _Out_ DWORD * pdwCookie
Definition: dxgi1_2.h:1802
Definition: dxgi1_2.h:2023
DXGI_MODE_SCANLINE_ORDER ScanlineOrdering
Definition: dxgi1_2.h:1173
UINT VendorId
Definition: dxgi1_2.h:1981
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:756
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:2029
_In_ UINT PointerShapeBufferSize
Definition: dxgi1_2.h:416
DXGI_OUTDUPL_POINTER_POSITION PointerPosition
Definition: dxgi1_2.h:258
Definition: dxgi1_2.h:1965
_Out_ DXGI_OUTDUPL_DESC * pDesc
Definition: dxgi1_2.h:384
HWND WindowHandle
Definition: dxgi1_2.h:1729
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:2242
_Out_ DXGI_RGBA * pColor
Definition: dxgi1_2.h:1447
struct IDXGIDisplayControlVtbl IDXGIDisplayControlVtbl
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
interface IDXGIAdapter2 IDXGIAdapter2
Definition: dxgi1_2.h:93
UINT Width
Definition: dxgi1_2.h:245
_Out_ DXGI_ADAPTER_DESC2 * pDesc
Definition: dxgi1_2.h:2096
DXGI_FORMAT
Definition: dxgiformat.h:10
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:2050
_In_ HWND _In_ UINT wMsg
Definition: dxgi1_2.h:1802
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGIResource1 *This
struct DXGI_MODE_DESC1 DXGI_MODE_DESC1
interface IDXGIOutput1 IDXGIOutput1
Definition: dxgi1_2.h:100
interface IDXGISurface IDXGISurface
Definition: d2d1.h:53
UINT UINT Flags
Definition: dxgi1_2.h:1345
DXGI_FORMAT UINT _Inout_ UINT * pNumModes
Definition: dxgi1_2.h:2262
UINT Flags
Definition: dxgi1_2.h:1989
_Out_ DXGI_SWAP_CHAIN_DESC1 * pDesc
Definition: dxgi1_2.h:1405
BOOL Fullscreen
Definition: dxgi1_2.h:1358
_Out_ DXGI_ADAPTER_DESC * pDesc
Definition: dxgi1_2.h:2079
void(STDMETHODCALLTYPE *ReleaseOwnership)(IDXGIOutput1 *This)
Definition: dxgi1_2.h:149
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0000_v0_0_c_ifspec
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:2251
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGIFactory2 *This)
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition: glext.h:8417
Definition: dxgi1_2.h:1209
SIZE_T DedicatedVideoMemory
Definition: dxgi1_2.h:1985
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:1712
_In_ UINT _Out_ DXGI_OUTDUPL_FRAME_INFO * pFrameInfo
Definition: dxgi1_2.h:389
EXTERN_C const IID IID_IDXGISurface2
Definition: dxgi1_2.h:535
UINT _COM_Outptr_ IDXGIOutput ** ppOutput
Definition: dxgi1_2.h:2072
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0001_v0_0_s_ifspec
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:2214
DXGI_SWAP_EFFECT SwapEffect
Definition: dxgi1_2.h:1196
_In_ UINT _Out_ UINT * pDirtyRectsBufferSizeRequired
Definition: dxgi1_2.h:402
struct DXGI_OUTDUPL_DESC DXGI_OUTDUPL_DESC
Definition: dxgicommon.h:9
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0004_v0_0_c_ifspec
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:2061
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:756
_In_ const DXGI_SURFACE_DESC * pDesc
Definition: dxgi1_2.h:1020
UINT index
Definition: dxgi1_2.h:824
_In_ UINT MoveRectsBufferSize
Definition: dxgi1_2.h:407
interface IDXGISwapChain1 IDXGISwapChain1
Definition: dxgi1_2.h:79
struct IDXGIDevice2Vtbl IDXGIDevice2Vtbl
Definition: dxgi1_2.h:1978
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:599
DXGI_MODE_SCANLINE_ORDER
Definition: dxgitype.h:91
interface IDXGISwapChain IDXGISwapChain
Definition: dxgi.h:100
_In_ REFGUID InterfaceName
Definition: dxgi1_2.h:2084
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:377
_COM_Outptr_ IDXGIAdapter ** pAdapter
Definition: dxgi1_2.h:1015
_Out_ DXGI_ADAPTER_DESC1 * pDesc
Definition: dxgi1_2.h:2091
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:2227
_In_ REFIID _COM_Outptr_ void _Out_ UINT * pSubresourceIndex
Definition: dxgi1_2.h:638
UINT UINT PresentFlags
Definition: dxgi1_2.h:1426
Definition: dxgitype.h:115
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:372
EXTERN_C const IID IID_IDXGIOutputDuplication
Definition: dxgi1_2.h:275
Definition: dxgi1_2.h:251
HMODULE Module
Definition: dxgi1_2.h:1748
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGIOutput1 *This
SIZE_T DedicatedSystemMemory
Definition: dxgi1_2.h:1986
_In_ REFGUID Name
Definition: dxgi1_2.h:769
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:1008
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGIDisplayControl *This)
BOOL(STDMETHODCALLTYPE *IsTemporaryMonoSupported)(IDXGISwapChain1 *This)
DXGI_SAMPLE_DESC SampleDesc
Definition: dxgi1_2.h:1192
interface IDXGIAdapter1 IDXGIAdapter1
Definition: dxgi.h:128
_In_opt_ const SECURITY_ATTRIBUTES _In_ DWORD _In_opt_ LPCWSTR _Out_ HANDLE * pHandle
Definition: dxgi1_2.h:831
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:361
Definition: dxgi1_2.h:221
_Out_ DXGI_MAPPED_RECT UINT MapFlags
Definition: dxgi1_2.h:618
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0005_v0_0_c_ifspec
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGISwapChain1 *This)
_Out_ DXGI_GAMMA_CONTROL * pArray
Definition: dxgi1_2.h:2303
POINT Position
Definition: dxgi1_2.h:230
_In_ HANDLE hResource
Definition: dxgi1_2.h:1795
UINT Output
Definition: dxgi1_2.h:2072
_In_ const DXGI_SURFACE_DESC UINT NumSurfaces
Definition: dxgi1_2.h:1020
void(STDMETHODCALLTYPE *UnregisterStereoStatus)(IDXGIFactory2 *This
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:2029
struct IDXGIOutputDuplicationVtbl IDXGIOutputDuplicationVtbl
_In_ REFGUID Name
Definition: dxgi1_2.h:1308
_In_ IUnknown _In_ DXGI_SWAP_CHAIN_DESC _COM_Outptr_ IDXGISwapChain ** ppSwapChain
Definition: dxgi1_2.h:1740
DXGI_FORMAT Format
Definition: dxgi1_2.h:1172
UINT _COM_Outptr_ IDXGIAdapter1 ** ppAdapter
Definition: dxgi1_2.h:1754
UINT UINT UINT DXGI_FORMAT NewFormat
Definition: dxgi1_2.h:1376
_In_ REFGUID Name
Definition: dxgi1_2.h:2227
_In_ const DXGI_RGBA * pColor
Definition: dxgi1_2.h:1442
DXGI_MODE_SCALING Scaling
Definition: dxgi1_2.h:1205
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:340
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:2042
UINT SyncInterval
Definition: dxgi1_2.h:1345
UINT Height
Definition: dxgi1_2.h:246
interface IDXGIFactory2 IDXGIFactory2
Definition: dxgi1_2.h:86
Definition: dxgi1_2.h:519
_In_ REFIID riid
Definition: dxgi1_2.h:2251
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:155
_In_ IDXGIResource * pDestination
Definition: dxgi1_2.h:2341
Definition: dxgi1_2.h:1975
_In_ IUnknown _In_ const DXGI_SWAP_CHAIN_DESC1 _In_opt_ IDXGIOutput * pRestrictToOutput
Definition: dxgi1_2.h:1844
Definition: dxgi1_2.h:1963
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:583
DXGI_COMPUTE_PREEMPTION_GRANULARITY ComputePreemptionGranularity
Definition: dxgi1_2.h:1991
UINT Revision
Definition: dxgi1_2.h:1984
_In_ REFIID riid
Definition: dxgi1_2.h:1008
_In_ const DXGI_MODE_DESC * pNewTargetParameters
Definition: dxgi1_2.h:1385
BOOL _Out_ HDC * phdc
Definition: dxgi1_2.h:626
_In_ REFIID _COM_Outptr_ void ** ppDevice
Definition: dxgi1_2.h:1339
DXGI_ALPHA_MODE
Definition: dxgi1_2.h:513
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0002_v0_0_s_ifspec
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGIOutputDuplication *This
Definition: dxgi1_2.h:1167
_In_ REFIID _COM_Outptr_ void ** ppDevice
Definition: dxgi1_2.h:800
UINT PointerShapeBufferSize
Definition: dxgi1_2.h:260
BOOL enabled
Definition: dxgi1_2.h:170
UINT Width
Definition: dxgi1_2.h:1188
interface IDXGISurface1 IDXGISurface1
Definition: dxgi.h:79
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGIResource1 *This)
struct IDXGIFactory2Vtbl IDXGIFactory2Vtbl
struct DXGI_OUTDUPL_POINTER_SHAPE_INFO DXGI_OUTDUPL_POINTER_SHAPE_INFO
_In_ const DXGI_MODE_DESC1 * pModeToMatch
Definition: dxgi1_2.h:2332
Definition: dxgi1_2.h:556
GLuint index
Definition: glext.h:6671
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:340
UINT Adapter
Definition: dxgi1_2.h:1723
UINT TotalMetadataBufferSize
Definition: dxgi1_2.h:259
DXGI_MODE_SCALING
Definition: dxgitype.h:99
DXGI_FORMAT Format
Definition: dxgi1_2.h:1190
POINT HotSpot
Definition: dxgi1_2.h:248
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:784
DXGI_RATIONAL RefreshRate
Definition: dxgi1_2.h:1203
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0007_v0_0_c_ifspec
struct IDXGIOutput1Vtbl IDXGIOutput1Vtbl
Definition: dxgitype.h:82
_DXGI_OFFER_RESOURCE_PRIORITY
Definition: dxgi1_2.h:912
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
Definition: dxgi1_2.h:242
DXGI_USAGE BufferUsage
Definition: dxgi1_2.h:1193
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:353
_In_opt_ RECT * pDirtyRect
Definition: dxgi1_2.h:633
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
_In_ UINT DirtyRectsBufferSize
Definition: dxgi1_2.h:398
Definition: dxgi1_2.h:517
interface IDXGIDevice1 IDXGIDevice1
Definition: dxgi.h:135
DXGI_RATIONAL RefreshRate
Definition: dxgi1_2.h:1171
_In_ HANDLE hEvent
Definition: dxgi1_2.h:1811
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:368
UINT Type
Definition: dxgi1_2.h:244
unsigned int BOOL
Definition: gctypes.h:51
_Out_ DXGI_FRAME_STATISTICS * pStats
Definition: dxgi1_2.h:2318
RECT * pScrollRect
Definition: dxgi1_2.h:1214
_In_ REFIID _COM_Outptr_ void ** ppParent
Definition: dxgi1_2.h:793
Definition: dxgi1_2.h:215
_In_ const DXGI_SURFACE_DESC UINT DXGI_USAGE _In_opt_ const DXGI_SHARED_RESOURCE _COM_Outptr_ IDXGISurface ** ppSurface
Definition: dxgi1_2.h:1020
UINT _COM_Outptr_ IDXGIAdapter ** ppAdapter
Definition: dxgi1_2.h:1723
DXGI_SWAP_EFFECT
Definition: dxgi.h:258
_Out_opt_ BOOL * pFullscreen
Definition: dxgi1_2.h:1365
_In_opt_ const SECURITY_ATTRIBUTES _In_ DWORD dwAccess
Definition: dxgi1_2.h:831
struct IDXGISwapChain1Vtbl IDXGISwapChain1Vtbl
UINT SubSysId
Definition: dxgi1_2.h:1983
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:971
void(STDMETHODCALLTYPE *GetDesc)(IDXGIOutputDuplication *This
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:575
_In_ UINT _In_ DXGI_OFFER_RESOURCE_PRIORITY Priority
Definition: dxgi1_2.h:1061
Definition: dxgi1_2.h:1972
Definition: dxgi1_2.h:1674
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:594
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGIAdapter2 *This
_In_ const DXGI_MODE_DESC _Out_ DXGI_MODE_DESC * pClosestMatch
Definition: dxgi1_2.h:2272
DXGI_MODE_SCANLINE_ORDER ScanlineOrdering
Definition: dxgi1_2.h:1204
_In_opt_ const SECURITY_ATTRIBUTES _In_ DWORD _In_opt_ LPCWSTR lpName
Definition: dxgi1_2.h:831
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:1701
DXGI_USAGE * pUsage
Definition: dxgi1_2.h:811
Definition: dxgi1_2.h:516
Definition: dxgi1_2.h:1201
_Out_ DXGI_GAMMA_CONTROL_CAPABILITIES * pGammaCaps
Definition: dxgi1_2.h:2293
EXTERN_C const IID IID_IDXGIDevice2
Definition: dxgi1_2.h:932
LARGE_INTEGER LastPresentTime
Definition: dxgi1_2.h:253
interface IDXGIOutput IDXGIOutput
Definition: dxgi.h:93
BOOL(STDMETHODCALLTYPE *IsStereoEnabled)(IDXGIDisplayControl *This)
_In_ REFIID _COM_Outptr_ void ** ppDevice
Definition: dxgi1_2.h:606
Definition: glslang_tab.cpp:135
Definition: dxgi1_2.h:1961
Definition: dxgi1_2.h:965
RECT DestinationRect
Definition: dxgi1_2.h:218
struct DXGI_ADAPTER_DESC2 DXGI_ADAPTER_DESC2
_In_ HANDLE _Out_ LUID * pLuid
Definition: dxgi1_2.h:1795
HMODULE _COM_Outptr_ IDXGIAdapter ** ppAdapter
Definition: dxgi1_2.h:1748
BOOL _In_opt_ IDXGIOutput * pTarget
Definition: dxgi1_2.h:1358
_Out_ DXGI_SURFACE_DESC * pDesc
Definition: dxgi1_2.h:613
enum _DXGI_OFFER_RESOURCE_PRIORITY DXGI_OFFER_RESOURCE_PRIORITY
Definition: glslang_tab.cpp:136
EXTERN_C const IID IID_IDXGIFactory2
Definition: dxgi1_2.h:1581
UINT Height
Definition: dxgi1_2.h:1189
INT Priority
Definition: dxgi1_2.h:1038
DXGI_RESIDENCY
Definition: dxgi.h:242
Definition: dxgi1_2.h:917
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:155
Definition: dxgi1_2.h:334
UINT UINT UINT Height
Definition: dxgi1_2.h:1376
_In_ IUnknown _In_ DXGI_SWAP_CHAIN_DESC * pDesc
Definition: dxgi1_2.h:1740
_In_ UINT _Out_writes_all_opt_(NumResources) BOOL *pDiscarded)
BOOL ProtectedContentMaskedOut
Definition: dxgi1_2.h:257
BOOL DesktopImageInSystemMemory
Definition: dxgi1_2.h:225
_In_ REFGUID _Inout_ UINT _Out_writes_bytes_ pDataSize void * pData
Definition: dxgi1_2.h:1003
EXTERN_C const IID IID_IDXGISwapChain1
Definition: dxgi1_2.h:1230
_Out_ HWND * pHwnd
Definition: dxgi1_2.h:1415
HWND UINT Flags
Definition: dxgi1_2.h:1729
DXGI_MODE_ROTATION
Definition: dxgitype.h:106
_In_ IUnknown * pDevice
Definition: dxgi1_2.h:2284
BOOL Stereo
Definition: dxgi1_2.h:1175
_In_ REFGUID Name
Definition: dxgi1_2.h:575
interface IDXGIAdapter IDXGIAdapter
Definition: dxgi.h:86
_In_ REFGUID Name
Definition: dxgi1_2.h:2042
UINT DirtyRectsCount
Definition: dxgi1_2.h:1211
interface IDXGIResource1 IDXGIResource1
Definition: dxgi1_2.h:65
Definition: dxgi1_2.h:518
UINT Height
Definition: dxgi1_2.h:1170
_In_ REFGUID UINT DataSize
Definition: dxgi1_2.h:769
struct IDXGIAdapter2Vtbl IDXGIAdapter2Vtbl
_Out_ DXGI_SWAP_CHAIN_DESC * pDesc
Definition: dxgi1_2.h:1372
UINT EvictionPriority
Definition: dxgi1_2.h:815
UINT UINT UINT DXGI_FORMAT UINT SwapChainFlags
Definition: dxgi1_2.h:1376
_Out_ DXGI_MODE_ROTATION * pRotation
Definition: dxgi1_2.h:1457
_In_ REFGUID Name
Definition: dxgi1_2.h:1693
POINT * pScrollOffset
Definition: dxgi1_2.h:1215
DXGI_FORMAT UINT Flags
Definition: dxgi1_2.h:2262
_In_ REFGUID UINT _In_reads_bytes_(DataSize) const void *pData)
_Out_ DXGI_FRAME_STATISTICS * pStats
Definition: dxgi1_2.h:1395
BOOL Discard
Definition: dxgi1_2.h:626
BEGIN_INTERFACE REFIID _COM_Outptr_ void ** ppvObject
Definition: dxgi1_2.h:1295
UINT BufferCount
Definition: dxgi1_2.h:1376
Definition: dxgi1_2.h:1289
_In_ IUnknown BOOL Exclusive
Definition: dxgi1_2.h:2284
LARGE_INTEGER LastMouseUpdateTime
Definition: dxgi1_2.h:254
Definition: dxgi1_2.h:1962
interface IDXGIDevice2 IDXGIDevice2
Definition: dxgi1_2.h:72
_In_ REFGUID _Out_ LARGE_INTEGER * pUMDVersion
Definition: dxgi1_2.h:2084
Definition: dxgi1_2.h:1182
_In_ REFIID riid
Definition: dxgi1_2.h:377
_Out_ IDXGIOutput ** ppRestrictToOutput
Definition: dxgi1_2.h:1437
BEGIN_INTERFACE HRESULT(STDMETHODCALLTYPE *QueryInterface)(IDXGIDevice2 *This
_Out_ HANDLE * pSharedHandle
Definition: dxgi1_2.h:807
Definition: dxgi1_2.h:1181
_Out_ DXGI_SWAP_CHAIN_FULLSCREEN_DESC * pDesc
Definition: dxgi1_2.h:1410
Definition: dxgi1_2.h:1186
_In_ IDXGISurface * pScanoutSurface
Definition: dxgi1_2.h:2308
_Out_ UINT * pMaxLatency
Definition: dxgi1_2.h:1052
DXGI_SCALING Scaling
Definition: dxgi1_2.h:1195
Definition: dxgi1_2.h:1973
_In_ REFGUID _In_opt_ const IUnknown * pUnknown
Definition: dxgi1_2.h:1316
DXGI_FORMAT UINT _Inout_ UINT _Out_writes_to_opt_ pNumModes DXGI_MODE_DESC1 * pDesc
Definition: dxgi1_2.h:2327
_In_opt_ const SECURITY_ATTRIBUTES * pAttributes
Definition: dxgi1_2.h:831
struct DXGI_SWAP_CHAIN_DESC1 DXGI_SWAP_CHAIN_DESC1
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0009_v0_0_s_ifspec
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGIDevice2 *This)
_In_ REFIID _COM_Outptr_ void ** ppUnk
Definition: dxgi1_2.h:1420
interface IDXGISurface2 IDXGISurface2
Definition: dxgi1_2.h:58
_In_ REFIID riid
Definition: dxgi1_2.h:1717
_In_ UINT _Out_ UINT * pMoveRectsBufferSizeRequired
Definition: dxgi1_2.h:411
DXGI_ALPHA_MODE AlphaMode
Definition: dxgi1_2.h:1197
UINT _In_ REFIID _COM_Outptr_ void ** ppSurface
Definition: dxgi1_2.h:1350
LUID AdapterLuid
Definition: dxgi1_2.h:1988
struct DXGI_OUTDUPL_FRAME_INFO DXGI_OUTDUPL_FRAME_INFO
_Out_ INT * pPriority
Definition: dxgi1_2.h:1043
BEGIN_INTERFACE REFIID riid
Definition: dxgi1_2.h:1680
EXTERN_C const IID IID_IDXGIOutput1
Definition: dxgi1_2.h:2169
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:999
The text renderer interface represents a set of application-defined callbacks that perform rendering ...
Definition: d3d8types.h:57
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:1708
DXGI_GRAPHICS_PREEMPTION_GRANULARITY
Definition: dxgi1_2.h:1958
ULONG(STDMETHODCALLTYPE *AddRef)(IDXGIOutputDuplication *This)
interface IDXGIObject IDXGIObject
Definition: dxgi.h:44
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:2057
struct DXGI_SWAP_CHAIN_FULLSCREEN_DESC DXGI_SWAP_CHAIN_FULLSCREEN_DESC
DXGI_FORMAT UINT _Inout_ UINT _Out_writes_to_opt_ pNumModes DXGI_MODE_DESC * pDesc
Definition: dxgi1_2.h:2267
_Out_ UINT * pEvictionPriority
Definition: dxgi1_2.h:820
_In_ UINT TimeoutInMilliseconds
Definition: dxgi1_2.h:389
UINT DeviceId
Definition: dxgi1_2.h:1982
_In_ REFGUID _Inout_ UINT * pDataSize
Definition: dxgi1_2.h:590
RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0000_v0_0_s_ifspec
struct IDXGIResource1Vtbl IDXGIResource1Vtbl