VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/dwmapi.h@ 53206

Last change on this file since 53206 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
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/*
18 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
19 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
20 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
21 * a choice of LGPL license versions is made available with the language indicating
22 * that LGPLv2 or any later version may be used, or where a choice of which version
23 * of the LGPL is applied is otherwise unspecified.
24 */
25
26#ifndef __WINE_DWMAPI_H
27#define __WINE_DWMAPI_H
28
29#include "wtypes.h"
30#include "uxtheme.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36#ifndef DWMAPI
37# define DWMAPI STDAPI
38# define DWMAPI_(type) STDAPI_(type)
39#endif
40
41DECLARE_HANDLE(HTHUMBNAIL);
42typedef HTHUMBNAIL *PHTHUMBNAIL;
43
44#include <pshpack1.h>
45
46typedef ULONGLONG DWM_FRAME_COUNT;
47typedef ULONGLONG QPC_TIME;
48
49typedef struct _UNSIGNED_RATIO {
50 UINT32 uiNumerator;
51 UINT32 uiDenominator;
52} UNSIGNED_RATIO;
53
54typedef struct _DWM_TIMING_INFO {
55 UINT32 cbSize;
56 UNSIGNED_RATIO rateRefresh;
57 QPC_TIME qpcRefreshPeriod;
58 UNSIGNED_RATIO rateCompose;
59 QPC_TIME qpcVBlank;
60 DWM_FRAME_COUNT cRefresh;
61 UINT cDXRefresh;
62 QPC_TIME qpcCompose;
63 DWM_FRAME_COUNT cFrame;
64 UINT cDXPresent;
65 DWM_FRAME_COUNT cRefreshFrame;
66 DWM_FRAME_COUNT cFrameSubmitted;
67 UINT cDXPresentSubmitted;
68 DWM_FRAME_COUNT cFrameConfirmed;
69 UINT cDXPresentConfirmed;
70 DWM_FRAME_COUNT cRefreshConfirmed;
71 UINT cDXRefreshConfirmed;
72 DWM_FRAME_COUNT cFramesLate;
73 UINT cFramesOutstanding;
74 DWM_FRAME_COUNT cFrameDisplayed;
75 QPC_TIME qpcFrameDisplayed;
76 DWM_FRAME_COUNT cRefreshFrameDisplayed;
77 DWM_FRAME_COUNT cFrameComplete;
78 QPC_TIME qpcFrameComplete;
79 DWM_FRAME_COUNT cFramePending;
80 QPC_TIME qpcFramePending;
81 DWM_FRAME_COUNT cFramesDisplayed;
82 DWM_FRAME_COUNT cFramesComplete;
83 DWM_FRAME_COUNT cFramesPending;
84 DWM_FRAME_COUNT cFramesAvailable;
85 DWM_FRAME_COUNT cFramesDropped;
86 DWM_FRAME_COUNT cFramesMissed;
87 DWM_FRAME_COUNT cRefreshNextDisplayed;
88 DWM_FRAME_COUNT cRefreshNextPresented;
89 DWM_FRAME_COUNT cRefreshesDisplayed;
90 DWM_FRAME_COUNT cRefreshesPresented;
91 DWM_FRAME_COUNT cRefreshStarted;
92 ULONGLONG cPixelsReceived;
93 ULONGLONG cPixelsDrawn;
94 DWM_FRAME_COUNT cBuffersEmpty;
95} DWM_TIMING_INFO;
96
97typedef struct _MilMatrix3x2D
98{
99 DOUBLE S_11;
100 DOUBLE S_12;
101 DOUBLE S_21;
102 DOUBLE S_22;
103 DOUBLE DX;
104 DOUBLE DY;
105} MilMatrix3x2D;
106
107#include <poppack.h>
108
109#define DWM_BB_ENABLE 0x00000001
110#define DWM_BB_BLURREGION 0x00000002
111#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
112
113typedef struct _DWM_BLURBEHIND
114{
115 DWORD dwFlags;
116 BOOL fEnable;
117 HRGN hRgnBlur;
118 BOOL fTransitionOnMaximized;
119} DWM_BLURBEHIND, *PDWM_BLURBEHIND;
120
121DWMAPI DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*);
122DWMAPI DwmEnableBlurBehindWindow(HWND, const DWM_BLURBEHIND *);
123DWMAPI DwmEnableComposition(UINT);
124DWMAPI DwmEnableMMCSS(BOOL);
125DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
126DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
127DWMAPI DwmGetCompositionTimingInfo(HWND,DWM_TIMING_INFO*);
128DWMAPI DwmIsCompositionEnabled(BOOL*);
129DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL);
130DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
131DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
132
133#ifdef __cplusplus
134}
135#endif
136
137#endif /* __WINE_DWMAPI_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette