Advertisement
Guest User

Untitled

a guest
Dec 25th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. MIDL_INTERFACE("790a45f7-0d42-4876-983a-0a55cfe6f4aa")
  2. IDXGISwapChain1 : public IDXGISwapChain
  3. {
  4. public:
  5. virtual HRESULT STDMETHODCALLTYPE GetDesc1(
  6. /* [annotation][out] */
  7. _Out_ DXGI_SWAP_CHAIN_DESC1 *pDesc) = 0;
  8.  
  9. virtual HRESULT STDMETHODCALLTYPE GetFullscreenDesc(
  10. /* [annotation][out] */
  11. _Out_ DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc) = 0;
  12.  
  13. virtual HRESULT STDMETHODCALLTYPE GetHwnd(
  14. /* [annotation][out] */
  15. _Out_ HWND *pHwnd) = 0;
  16.  
  17. virtual HRESULT STDMETHODCALLTYPE GetCoreWindow(
  18. /* [annotation][in] */
  19. _In_ REFIID refiid,
  20. /* [annotation][out] */
  21. _Out_ void **ppUnk) = 0;
  22.  
  23. virtual HRESULT STDMETHODCALLTYPE Present1(
  24. /* [in] */ UINT SyncInterval,
  25. /* [in] */ UINT PresentFlags,
  26. /* [annotation][in] */
  27. _In_ const DXGI_PRESENT_PARAMETERS *pPresentParameters) = 0;
  28.  
  29. virtual BOOL STDMETHODCALLTYPE IsTemporaryMonoSupported( void) = 0;
  30.  
  31. virtual HRESULT STDMETHODCALLTYPE GetRestrictToOutput(
  32. /* [annotation][out] */
  33. _Out_ IDXGIOutput **ppRestrictToOutput) = 0;
  34.  
  35. virtual HRESULT STDMETHODCALLTYPE SetBackgroundColor(
  36. /* [annotation][in] */
  37. _In_ const DXGI_RGBA *pColor) = 0;
  38.  
  39. virtual HRESULT STDMETHODCALLTYPE GetBackgroundColor(
  40. /* [annotation][out] */
  41. _Out_ DXGI_RGBA *pColor) = 0;
  42.  
  43. virtual HRESULT STDMETHODCALLTYPE SetRotation(
  44. /* [annotation][in] */
  45. _In_ DXGI_MODE_ROTATION Rotation) = 0;
  46.  
  47. virtual HRESULT STDMETHODCALLTYPE GetRotation(
  48. /* [annotation][out] */
  49. _Out_ DXGI_MODE_ROTATION *pRotation) = 0;
  50.  
  51. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement