diff options
Diffstat (limited to 'make/stub_includes/win32/WindowsDWM.h')
-rw-r--r-- | make/stub_includes/win32/WindowsDWM.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/make/stub_includes/win32/WindowsDWM.h b/make/stub_includes/win32/WindowsDWM.h new file mode 100644 index 000000000..357602dae --- /dev/null +++ b/make/stub_includes/win32/WindowsDWM.h @@ -0,0 +1,33 @@ +#ifndef WGL_DWM_VERSION_1_X + +#define DWM_BB_ENABLE 1 +#define DWM_EC_DISABLECOMPOSITION 0 +#define DWM_EC_ENABLECOMPOSITION 1 + +typedef struct tagDWM_BLURBEHIND { + DWORD dwFlags; + int fEnable; /* BOOL */ + HRGN hRgnBlur; + int fTransitionOnMaximized; /* BOOL */ +} DWM_BLURBEHIND, *PDWM_BLURBEHIND; + +typedef struct tagMARGINS { + int cxLeftWidth; + int cxRightWidth; + int cyTopHeight; + int cyBottomHeight; +} MARGINS, *PMARGINS; + +#endif /* WGL_DWM_VERSION_1_X */ + +#ifndef WGL_DWM_VERSION_1_X +#define WGL_DWM_VERSION_1_X + +BOOL DwmIsExtensionAvailable(); +BOOL DwmIsCompositionEnabled(); +BOOL DwmEnableComposition( UINT uCompositionAction ); +BOOL DwmEnableBlurBehindWindow(HWND, CONST DWM_BLURBEHIND *); +BOOL DwmExtendFrameIntoClientArea(HWND, CONST MARGINS *); + +#endif /* WGL_DWM_VERSION_1_X */ + |