ReactOS 0.4.15-dev-7942-gd23573b
dwmapi.h
Go to the documentation of this file.
1/*
2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
6 *
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
11 *
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with this library; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
15 */
16
17#ifndef __WINE_DWMAPI_H
18#define __WINE_DWMAPI_H
19
20#include "wtypes.h"
21#include "uxtheme.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27#ifndef DWMAPI
28# define DWMAPI STDAPI
29# define DWMAPI_(type) STDAPI_(type)
30#endif
31
32DECLARE_HANDLE(HTHUMBNAIL);
33typedef HTHUMBNAIL *PHTHUMBNAIL;
34
35#include <pshpack1.h>
36
37static const UINT c_DwmMaxQueuedBuffers = 8;
38static const UINT c_DwmMaxMonitors = 16;
39static const UINT c_DwmMaxAdapters = 16;
40
43
61};
62
68};
69
75};
76
82
83typedef struct _UNSIGNED_RATIO {
87
88typedef struct _DWM_TIMING_INFO {
130
131typedef struct _MilMatrix3x2D
132{
140
141#define DWM_FRAME_DURATION_DEFAULT -1
142
143#define DWM_EC_DISABLECOMPOSITION 0
144#define DWM_EC_ENABLECOMPOSITION 1
145
146#define DWM_BB_ENABLE 0x00000001
147#define DWM_BB_BLURREGION 0x00000002
148#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
149
150typedef struct _DWM_BLURBEHIND
151{
157
158#define DWM_SIT_DISPLAYFRAME 0x00000001
159
160#define DWM_CLOAKED_APP 0x00000001
161#define DWM_CLOAKED_SHELL 0x00000002
162#define DWM_CLOAKED_INHERITED 0x00000004
163
164#define DWM_TNP_RECTDESTINATION 0x00000001
165#define DWM_TNP_RECTSOURCE 0x00000002
166#define DWM_TNP_OPACITY 0x00000004
167#define DWM_TNP_VISIBLE 0x00000008
168#define DWM_TNP_SOURCECLIENTAREAONLY 0x00000010
169
171{
179
190
191#include <poppack.h>
192
200DWMAPI DwmFlush(void);
216
217#ifdef __cplusplus
218}
219#endif
220
221#endif /* __WINE_DWMAPI_H */
unsigned int UINT32
DWMAPI DwmSetPresentParameters(HWND, DWM_PRESENT_PARAMETERS *)
Definition: dwmapi_main.c:307
static const UINT c_DwmMaxAdapters
Definition: dwmapi.h:39
DWMAPI DwmGetGraphicsStreamClient(UINT, UUID *)
Definition: dwmapi_main.c:135
DWMWINDOWATTRIBUTE
Definition: dwmapi.h:44
@ DWMWA_FORCE_ICONIC_REPRESENTATION
Definition: dwmapi.h:51
@ DWMWA_HAS_ICONIC_BITMAP
Definition: dwmapi.h:54
@ DWMWA_CLOAK
Definition: dwmapi.h:57
@ DWMWA_CAPTION_BUTTON_BOUNDS
Definition: dwmapi.h:49
@ DWMWA_CLOAKED
Definition: dwmapi.h:58
@ DWMWA_NCRENDERING_ENABLED
Definition: dwmapi.h:45
@ DWMWA_DISALLOW_PEEK
Definition: dwmapi.h:55
@ DWMWA_LAST
Definition: dwmapi.h:60
@ DWMWA_FREEZE_REPRESENTATION
Definition: dwmapi.h:59
@ DWMWA_EXTENDED_FRAME_BOUNDS
Definition: dwmapi.h:53
@ DWMWA_TRANSITIONS_FORCEDISABLED
Definition: dwmapi.h:47
@ DWMWA_ALLOW_NCPAINT
Definition: dwmapi.h:48
@ DWMWA_EXCLUDED_FROM_PEEK
Definition: dwmapi.h:56
@ DWMWA_NONCLIENT_RTL_LAYOUT
Definition: dwmapi.h:50
@ DWMWA_NCRENDERING_POLICY
Definition: dwmapi.h:46
@ DWMWA_FLIP3D_POLICY
Definition: dwmapi.h:52
struct _DWM_BLURBEHIND * PDWM_BLURBEHIND
DWMNCRENDERINGPOLICY
Definition: dwmapi.h:63
@ DWMNCRP_ENABLED
Definition: dwmapi.h:66
@ DWMNCRP_DISABLED
Definition: dwmapi.h:65
@ DWMNCRP_USEWINDOWSTYLE
Definition: dwmapi.h:64
@ DWMNCRP_LAST
Definition: dwmapi.h:67
HTHUMBNAIL * PHTHUMBNAIL
Definition: dwmapi.h:33
#define DWMAPI_(type)
Definition: dwmapi.h:29
struct _DWM_THUMBNAIL_PROPERTIES DWM_THUMBNAIL_PROPERTIES
_DWM_SOURCE_FRAME_SAMPLING
Definition: dwmapi.h:77
@ DWM_SOURCE_FRAME_SAMPLING_COVERAGE
Definition: dwmapi.h:79
@ DWM_SOURCE_FRAME_SAMPLING_LAST
Definition: dwmapi.h:80
@ DWM_SOURCE_FRAME_SAMPLING_POINT
Definition: dwmapi.h:78
DWMFLIP3DWINDOWPOLICY
Definition: dwmapi.h:70
@ DWMFLIP3D_LAST
Definition: dwmapi.h:74
@ DWMFLIP3D_DEFAULT
Definition: dwmapi.h:71
@ DWMFLIP3D_EXCLUDEBELOW
Definition: dwmapi.h:72
@ DWMFLIP3D_EXCLUDEABOVE
Definition: dwmapi.h:73
struct _DWM_TIMING_INFO DWM_TIMING_INFO
DWMAPI DwmGetGraphicsStreamTransformHint(UINT, MilMatrix3x2D *)
Definition: dwmapi_main.c:175
DWMAPI DwmSetIconicThumbnail(HWND, HBITMAP, DWORD)
Definition: dwmapi_main.c:325
static const UINT c_DwmMaxMonitors
Definition: dwmapi.h:38
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD)
Definition: dwmapi_main.c:123
struct _DWM_THUMBNAIL_PROPERTIES * PDWM_THUMBNAIL_PROPERTIES
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL)
Definition: dwmapi_main.c:155
struct _MilMatrix3x2D MilMatrix3x2D
DWMAPI DwmInvalidateIconicBitmaps(HWND)
Definition: dwmapi_main.c:111
struct _DWM_PRESENT_PARAMETERS DWM_PRESENT_PARAMETERS
DWMAPI DwmIsCompositionEnabled(BOOL *)
Definition: dwmapi_main.c:44
DWMAPI DwmGetCompositionTimingInfo(HWND, DWM_TIMING_INFO *)
Definition: dwmapi_main.c:246
struct _DWM_BLURBEHIND DWM_BLURBEHIND
ULONGLONG QPC_TIME
Definition: dwmapi.h:42
DWMAPI DwmGetColorizationColor(DWORD *, BOOL *)
Definition: dwmapi_main.c:89
DWMAPI DwmGetTransportAttributes(BOOL *, BOOL *, DWORD *)
Definition: dwmapi_main.c:145
struct _UNSIGNED_RATIO UNSIGNED_RATIO
DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL)
Definition: dwmapi_main.c:217
static const UINT c_DwmMaxQueuedBuffers
Definition: dwmapi.h:37
DWMAPI DwmEnableComposition(UINT)
Definition: dwmapi_main.c:69
DWMAPI DwmGetWindowAttribute(HWND, DWORD, PVOID, DWORD)
Definition: dwmapi_main.c:207
ULONGLONG DWM_FRAME_COUNT
Definition: dwmapi.h:41
DWMAPI DwmEnableBlurBehindWindow(HWND, const DWM_BLURBEHIND *)
Definition: dwmapi_main.c:185
#define DWMAPI
Definition: dwmapi.h:28
DWMAPI DwmAttachMilContent(HWND)
Definition: dwmapi_main.c:280
LRESULT *DWMAPI DwmDetachMilContent(HWND)
Definition: dwmapi_main.c:289
DWMAPI DwmExtendFrameIntoClientArea(HWND, const MARGINS *)
Definition: dwmapi_main.c:79
DWMAPI DwmUpdateThumbnailProperties(HTHUMBNAIL, const DWM_THUMBNAIL_PROPERTIES *)
Definition: dwmapi_main.c:298
DWMAPI DwmEnableMMCSS(BOOL)
Definition: dwmapi_main.c:165
enum _DWM_SOURCE_FRAME_SAMPLING DWM_SOURCE_FRAME_SAMPLING
DWMAPI DwmSetIconicLivePreviewBitmap(HWND, HBITMAP, POINT *, DWORD)
Definition: dwmapi_main.c:316
DWMAPI DwmFlush(void)
Definition: dwmapi_main.c:99
BOOL WINAPI DwmDefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
Definition: dwmapi_main.c:195
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DECLARE_HANDLE(name)
Definition: mimeole.idl:23
static HBITMAP
Definition: button.c:44
unsigned int UINT
Definition: ndis.h:50
DWORD dwFlags
Definition: dwmapi.h:152
BOOL fTransitionOnMaximized
Definition: dwmapi.h:155
BOOL fEnable
Definition: dwmapi.h:153
HRGN hRgnBlur
Definition: dwmapi.h:154
DWM_FRAME_COUNT cRefreshStart
Definition: dwmapi.h:183
UNSIGNED_RATIO rateSource
Definition: dwmapi.h:186
DWM_SOURCE_FRAME_SAMPLING eSampling
Definition: dwmapi.h:188
DWM_FRAME_COUNT cRefreshNextDisplayed
Definition: dwmapi.h:121
DWM_FRAME_COUNT cFramesComplete
Definition: dwmapi.h:116
DWM_FRAME_COUNT cRefreshFrameDisplayed
Definition: dwmapi.h:110
DWM_FRAME_COUNT cRefreshNextPresented
Definition: dwmapi.h:122
DWM_FRAME_COUNT cFramePending
Definition: dwmapi.h:113
QPC_TIME qpcFramePending
Definition: dwmapi.h:114
DWM_FRAME_COUNT cFramesDisplayed
Definition: dwmapi.h:115
UNSIGNED_RATIO rateRefresh
Definition: dwmapi.h:90
DWM_FRAME_COUNT cFrameConfirmed
Definition: dwmapi.h:102
DWM_FRAME_COUNT cFramesAvailable
Definition: dwmapi.h:118
DWM_FRAME_COUNT cRefreshesPresented
Definition: dwmapi.h:124
ULONGLONG cPixelsReceived
Definition: dwmapi.h:126
DWM_FRAME_COUNT cRefreshStarted
Definition: dwmapi.h:125
UINT cDXPresent
Definition: dwmapi.h:98
UINT cDXPresentSubmitted
Definition: dwmapi.h:101
ULONGLONG cPixelsDrawn
Definition: dwmapi.h:127
UNSIGNED_RATIO rateCompose
Definition: dwmapi.h:92
UINT cDXPresentConfirmed
Definition: dwmapi.h:103
DWM_FRAME_COUNT cFramesPending
Definition: dwmapi.h:117
DWM_FRAME_COUNT cRefreshFrame
Definition: dwmapi.h:99
DWM_FRAME_COUNT cRefreshesDisplayed
Definition: dwmapi.h:123
DWM_FRAME_COUNT cFramesLate
Definition: dwmapi.h:106
QPC_TIME qpcFrameComplete
Definition: dwmapi.h:112
UINT cFramesOutstanding
Definition: dwmapi.h:107
DWM_FRAME_COUNT cBuffersEmpty
Definition: dwmapi.h:128
UINT cDXRefreshConfirmed
Definition: dwmapi.h:105
DWM_FRAME_COUNT cFrame
Definition: dwmapi.h:97
UINT cDXRefresh
Definition: dwmapi.h:95
QPC_TIME qpcCompose
Definition: dwmapi.h:96
DWM_FRAME_COUNT cRefresh
Definition: dwmapi.h:94
DWM_FRAME_COUNT cFrameComplete
Definition: dwmapi.h:111
QPC_TIME qpcFrameDisplayed
Definition: dwmapi.h:109
DWM_FRAME_COUNT cFramesDropped
Definition: dwmapi.h:119
DWM_FRAME_COUNT cFrameDisplayed
Definition: dwmapi.h:108
QPC_TIME qpcVBlank
Definition: dwmapi.h:93
DWM_FRAME_COUNT cRefreshConfirmed
Definition: dwmapi.h:104
QPC_TIME qpcRefreshPeriod
Definition: dwmapi.h:91
UINT32 cbSize
Definition: dwmapi.h:89
DWM_FRAME_COUNT cFrameSubmitted
Definition: dwmapi.h:100
DWM_FRAME_COUNT cFramesMissed
Definition: dwmapi.h:120
Definition: misc.c:279
DOUBLE DY
Definition: dwmapi.h:138
DOUBLE S_11
Definition: dwmapi.h:133
DOUBLE S_21
Definition: dwmapi.h:135
DOUBLE S_22
Definition: dwmapi.h:136
DOUBLE S_12
Definition: dwmapi.h:134
DOUBLE DX
Definition: dwmapi.h:137
UINT32 uiNumerator
Definition: dwmapi.h:84
UINT32 uiDenominator
Definition: dwmapi.h:85
uint64_t ULONGLONG
Definition: typedefs.h:67
double DOUBLE
Definition: typedefs.h:70
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
CONST void * LPCVOID
Definition: windef.h:191
unsigned char BYTE
Definition: xxhash.c:193