include: Add missing defines, enums and functions for dwmapi.h.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
da0f196c93
commit
b479382737
|
@ -34,9 +34,46 @@ typedef HTHUMBNAIL *PHTHUMBNAIL;
|
|||
|
||||
#include <pshpack1.h>
|
||||
|
||||
static const UINT c_DwmMaxQueuedBuffers = 8;
|
||||
static const UINT c_DwmMaxMonitors = 16;
|
||||
static const UINT c_DwmMaxAdapters = 16;
|
||||
|
||||
typedef ULONGLONG DWM_FRAME_COUNT;
|
||||
typedef ULONGLONG QPC_TIME;
|
||||
|
||||
enum DWMWINDOWATTRIBUTE {
|
||||
DWMWA_NCRENDERING_ENABLED = 1,
|
||||
DWMWA_NCRENDERING_POLICY,
|
||||
DWMWA_TRANSITIONS_FORCEDISABLED,
|
||||
DWMWA_ALLOW_NCPAINT,
|
||||
DWMWA_CAPTION_BUTTON_BOUNDS,
|
||||
DWMWA_NONCLIENT_RTL_LAYOUT,
|
||||
DWMWA_FORCE_ICONIC_REPRESENTATION,
|
||||
DWMWA_FLIP3D_POLICY,
|
||||
DWMWA_EXTENDED_FRAME_BOUNDS,
|
||||
DWMWA_HAS_ICONIC_BITMAP,
|
||||
DWMWA_DISALLOW_PEEK,
|
||||
DWMWA_EXCLUDED_FROM_PEEK,
|
||||
DWMWA_CLOAK,
|
||||
DWMWA_CLOAKED,
|
||||
DWMWA_FREEZE_REPRESENTATION,
|
||||
DWMWA_LAST
|
||||
};
|
||||
|
||||
enum DWMNCRENDERINGPOLICY {
|
||||
DWMNCRP_USEWINDOWSTYLE,
|
||||
DWMNCRP_DISABLED,
|
||||
DWMNCRP_ENABLED,
|
||||
DWMNCRP_LAST
|
||||
};
|
||||
|
||||
enum DWMFLIP3DWINDOWPOLICY {
|
||||
DWMFLIP3D_DEFAULT,
|
||||
DWMFLIP3D_EXCLUDEBELOW,
|
||||
DWMFLIP3D_EXCLUDEABOVE,
|
||||
DWMFLIP3D_LAST
|
||||
};
|
||||
|
||||
typedef enum _DWM_SOURCE_FRAME_SAMPLING {
|
||||
DWM_SOURCE_FRAME_SAMPLING_POINT,
|
||||
DWM_SOURCE_FRAME_SAMPLING_COVERAGE,
|
||||
|
@ -101,6 +138,11 @@ typedef struct _MilMatrix3x2D
|
|||
DOUBLE DY;
|
||||
} MilMatrix3x2D;
|
||||
|
||||
#define DWM_FRAME_DURATION_DEFAULT -1
|
||||
|
||||
#define DWM_EC_DISABLECOMPOSITION 0
|
||||
#define DWM_EC_ENABLECOMPOSITION 1
|
||||
|
||||
#define DWM_BB_ENABLE 0x00000001
|
||||
#define DWM_BB_BLURREGION 0x00000002
|
||||
#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
|
||||
|
@ -113,6 +155,18 @@ typedef struct _DWM_BLURBEHIND
|
|||
BOOL fTransitionOnMaximized;
|
||||
} DWM_BLURBEHIND, *PDWM_BLURBEHIND;
|
||||
|
||||
#define DWM_SIT_DISPLAYFRAME 0x00000001
|
||||
|
||||
#define DWM_CLOAKED_APP 0x00000001
|
||||
#define DWM_CLOAKED_SHELL 0x00000002
|
||||
#define DWM_CLOAKED_INHERITED 0x00000004
|
||||
|
||||
#define DWM_TNP_RECTDESTINATION 0x00000001
|
||||
#define DWM_TNP_RECTSOURCE 0x00000002
|
||||
#define DWM_TNP_OPACITY 0x00000004
|
||||
#define DWM_TNP_VISIBLE 0x00000008
|
||||
#define DWM_TNP_SOURCECLIENTAREAONLY 0x00000010
|
||||
|
||||
typedef struct _DWM_THUMBNAIL_PROPERTIES
|
||||
{
|
||||
DWORD dwFlags;
|
||||
|
@ -136,16 +190,25 @@ typedef struct _DWM_PRESENT_PARAMETERS {
|
|||
|
||||
#include <poppack.h>
|
||||
|
||||
DWMAPI DwmAttachMilContent(HWND);
|
||||
DWMAPI_(BOOL) DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*);
|
||||
DWMAPI DwmDetachMilContent(HWND);
|
||||
DWMAPI DwmEnableBlurBehindWindow(HWND, const DWM_BLURBEHIND *);
|
||||
DWMAPI DwmEnableComposition(UINT);
|
||||
DWMAPI DwmEnableMMCSS(BOOL);
|
||||
DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
|
||||
DWMAPI DwmFlush(void);
|
||||
DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
|
||||
DWMAPI DwmGetCompositionTimingInfo(HWND,DWM_TIMING_INFO*);
|
||||
DWMAPI DwmGetGraphicsStreamClient(UINT, UUID *);
|
||||
DWMAPI DwmGetGraphicsStreamTransformHint(UINT, MilMatrix3x2D *);
|
||||
DWMAPI DwmGetTransportAttributes(BOOL*, BOOL*, DWORD*);
|
||||
DWMAPI DwmGetWindowAttribute(HWND, DWORD, PVOID, DWORD);
|
||||
DWMAPI DwmInvalidateIconicBitmaps(HWND);
|
||||
DWMAPI DwmIsCompositionEnabled(BOOL*);
|
||||
DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL);
|
||||
DWMAPI DwmSetIconicLivePreviewBitmap(HWND, HBITMAP, POINT*, DWORD);
|
||||
DWMAPI DwmSetIconicThumbnail(HWND, HBITMAP, DWORD);
|
||||
DWMAPI DwmSetPresentParameters(HWND, DWM_PRESENT_PARAMETERS *);
|
||||
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
|
||||
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
|
||||
|
|
Loading…
Reference in New Issue