Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b4793827
Commit
b4793827
authored
May 02, 2019
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
May 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
da0f196c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
0 deletions
+63
-0
dwmapi.h
include/dwmapi.h
+63
-0
No files found.
include/dwmapi.h
View file @
b4793827
...
@@ -34,9 +34,46 @@ typedef HTHUMBNAIL *PHTHUMBNAIL;
...
@@ -34,9 +34,46 @@ typedef HTHUMBNAIL *PHTHUMBNAIL;
#include <pshpack1.h>
#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
DWM_FRAME_COUNT
;
typedef
ULONGLONG
QPC_TIME
;
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
{
typedef
enum
_DWM_SOURCE_FRAME_SAMPLING
{
DWM_SOURCE_FRAME_SAMPLING_POINT
,
DWM_SOURCE_FRAME_SAMPLING_POINT
,
DWM_SOURCE_FRAME_SAMPLING_COVERAGE
,
DWM_SOURCE_FRAME_SAMPLING_COVERAGE
,
...
@@ -101,6 +138,11 @@ typedef struct _MilMatrix3x2D
...
@@ -101,6 +138,11 @@ typedef struct _MilMatrix3x2D
DOUBLE
DY
;
DOUBLE
DY
;
}
MilMatrix3x2D
;
}
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_ENABLE 0x00000001
#define DWM_BB_BLURREGION 0x00000002
#define DWM_BB_BLURREGION 0x00000002
#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
...
@@ -113,6 +155,18 @@ typedef struct _DWM_BLURBEHIND
...
@@ -113,6 +155,18 @@ typedef struct _DWM_BLURBEHIND
BOOL
fTransitionOnMaximized
;
BOOL
fTransitionOnMaximized
;
}
DWM_BLURBEHIND
,
*
PDWM_BLURBEHIND
;
}
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
typedef
struct
_DWM_THUMBNAIL_PROPERTIES
{
{
DWORD
dwFlags
;
DWORD
dwFlags
;
...
@@ -136,16 +190,25 @@ typedef struct _DWM_PRESENT_PARAMETERS {
...
@@ -136,16 +190,25 @@ typedef struct _DWM_PRESENT_PARAMETERS {
#include <poppack.h>
#include <poppack.h>
DWMAPI
DwmAttachMilContent
(
HWND
);
DWMAPI_
(
BOOL
)
DwmDefWindowProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
LRESULT
*
);
DWMAPI_
(
BOOL
)
DwmDefWindowProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
,
LRESULT
*
);
DWMAPI
DwmDetachMilContent
(
HWND
);
DWMAPI
DwmEnableBlurBehindWindow
(
HWND
,
const
DWM_BLURBEHIND
*
);
DWMAPI
DwmEnableBlurBehindWindow
(
HWND
,
const
DWM_BLURBEHIND
*
);
DWMAPI
DwmEnableComposition
(
UINT
);
DWMAPI
DwmEnableComposition
(
UINT
);
DWMAPI
DwmEnableMMCSS
(
BOOL
);
DWMAPI
DwmEnableMMCSS
(
BOOL
);
DWMAPI
DwmExtendFrameIntoClientArea
(
HWND
,
const
MARGINS
*
);
DWMAPI
DwmExtendFrameIntoClientArea
(
HWND
,
const
MARGINS
*
);
DWMAPI
DwmFlush
(
void
);
DWMAPI
DwmGetColorizationColor
(
DWORD
*
,
BOOL
);
DWMAPI
DwmGetColorizationColor
(
DWORD
*
,
BOOL
);
DWMAPI
DwmGetCompositionTimingInfo
(
HWND
,
DWM_TIMING_INFO
*
);
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
DwmInvalidateIconicBitmaps
(
HWND
);
DWMAPI
DwmIsCompositionEnabled
(
BOOL
*
);
DWMAPI
DwmIsCompositionEnabled
(
BOOL
*
);
DWMAPI
DwmRegisterThumbnail
(
HWND
,
HWND
,
PHTHUMBNAIL
);
DWMAPI
DwmRegisterThumbnail
(
HWND
,
HWND
,
PHTHUMBNAIL
);
DWMAPI
DwmSetIconicLivePreviewBitmap
(
HWND
,
HBITMAP
,
POINT
*
,
DWORD
);
DWMAPI
DwmSetIconicThumbnail
(
HWND
,
HBITMAP
,
DWORD
);
DWMAPI
DwmSetPresentParameters
(
HWND
,
DWM_PRESENT_PARAMETERS
*
);
DWMAPI
DwmSetPresentParameters
(
HWND
,
DWM_PRESENT_PARAMETERS
*
);
DWMAPI
DwmSetWindowAttribute
(
HWND
,
DWORD
,
LPCVOID
,
DWORD
);
DWMAPI
DwmSetWindowAttribute
(
HWND
,
DWORD
,
LPCVOID
,
DWORD
);
DWMAPI
DwmUnregisterThumbnail
(
HTHUMBNAIL
);
DWMAPI
DwmUnregisterThumbnail
(
HTHUMBNAIL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment