Jacek Caban : dwmapi.h: Added some missing declarations.
Alexandre Julliard
julliard at winehq.org
Thu Jun 20 15:31:16 CDT 2013
Module: wine
Branch: master
Commit: 92bdc3705860303c0c540aee7f6b73b598f71b19
URL: http://source.winehq.org/git/wine.git/?a=commit;h=92bdc3705860303c0c540aee7f6b73b598f71b19
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Jun 20 15:28:59 2013 +0200
dwmapi.h: Added some missing declarations.
---
include/dwmapi.h | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/include/dwmapi.h b/include/dwmapi.h
index b2546ae..f85999a 100644
--- a/include/dwmapi.h
+++ b/include/dwmapi.h
@@ -32,6 +32,59 @@ extern "C" {
DECLARE_HANDLE(HTHUMBNAIL);
typedef HTHUMBNAIL *PHTHUMBNAIL;
+#include <pshpack1.h>
+
+typedef ULONGLONG DWM_FRAME_COUNT;
+typedef ULONGLONG QPC_TIME;
+
+typedef struct _UNSIGNED_RATIO {
+ UINT32 uiNumerator;
+ UINT32 uiDenominator;
+} UNSIGNED_RATIO;
+
+typedef struct _DWM_TIMING_INFO {
+ UINT32 cbSize;
+ UNSIGNED_RATIO rateRefresh;
+ QPC_TIME qpcRefreshPeriod;
+ UNSIGNED_RATIO rateCompose;
+ QPC_TIME qpcVBlank;
+ DWM_FRAME_COUNT cRefresh;
+ UINT cDXRefresh;
+ QPC_TIME qpcCompose;
+ DWM_FRAME_COUNT cFrame;
+ UINT cDXPresent;
+ DWM_FRAME_COUNT cRefreshFrame;
+ DWM_FRAME_COUNT cFrameSubmitted;
+ UINT cDXPresentSubmitted;
+ DWM_FRAME_COUNT cFrameConfirmed;
+ UINT cDXPresentConfirmed;
+ DWM_FRAME_COUNT cRefreshConfirmed;
+ UINT cDXRefreshConfirmed;
+ DWM_FRAME_COUNT cFramesLate;
+ UINT cFramesOutstanding;
+ DWM_FRAME_COUNT cFrameDisplayed;
+ QPC_TIME qpcFrameDisplayed;
+ DWM_FRAME_COUNT cRefreshFrameDisplayed;
+ DWM_FRAME_COUNT cFrameComplete;
+ QPC_TIME qpcFrameComplete;
+ DWM_FRAME_COUNT cFramePending;
+ QPC_TIME qpcFramePending;
+ DWM_FRAME_COUNT cFramesDisplayed;
+ DWM_FRAME_COUNT cFramesComplete;
+ DWM_FRAME_COUNT cFramesPending;
+ DWM_FRAME_COUNT cFramesAvailable;
+ DWM_FRAME_COUNT cFramesDropped;
+ DWM_FRAME_COUNT cFramesMissed;
+ DWM_FRAME_COUNT cRefreshNextDisplayed;
+ DWM_FRAME_COUNT cRefreshNextPresented;
+ DWM_FRAME_COUNT cRefreshesDisplayed;
+ DWM_FRAME_COUNT cRefreshesPresented;
+ DWM_FRAME_COUNT cRefreshStarted;
+ ULONGLONG cPixelsReceived;
+ ULONGLONG cPixelsDrawn;
+ DWM_FRAME_COUNT cBuffersEmpty;
+} DWM_TIMING_INFO;
+
typedef struct _MilMatrix3x2D
{
DOUBLE S_11;
@@ -42,6 +95,8 @@ typedef struct _MilMatrix3x2D
DOUBLE DY;
} MilMatrix3x2D;
+#include <poppack.h>
+
#define DWM_BB_ENABLE 0x00000001
#define DWM_BB_BLURREGION 0x00000002
#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
@@ -60,6 +115,7 @@ DWMAPI DwmEnableComposition(UINT);
DWMAPI DwmEnableMMCSS(BOOL);
DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
+DWMAPI DwmGetCompositionTimingInfo(HWND,DWM_TIMING_INFO*);
DWMAPI DwmIsCompositionEnabled(BOOL*);
DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL);
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
More information about the wine-cvs
mailing list