File: WindowsDWM.h

package info (click to toggle)
libjogl2-java 2.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 41,648 kB
  • ctags: 65,492
  • sloc: java: 208,711; ansic: 68,727; xml: 6,504; objc: 3,079; sh: 2,414; cpp: 152; awk: 46; makefile: 24
file content (36 lines) | stat: -rw-r--r-- 960 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef WGL_DWM_VERSION_1_X

#define DWM_BB_ENABLE                 0x00000001
#define DWM_BB_BLURREGION             0x00000002
#define DWM_BB_TRANSITIONONMAXIMIZED  0x00000004
#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 */