summaryrefslogtreecommitdiff
path: root/dwm_load.h
blob: 34ef87babb68f9ab3f54cd9c99074216b5df70d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#ifndef DWM_LOAD_H
#define DWM_LOAD_H

#include <dwmapi.h>

#ifdef __cplusplus
extern "C" {
#endif

BOOL dwmload_DefWindowProc(
    HWND hwnd,
    UINT msg,
    WPARAM wParam,
    LPARAM lParam,
    LRESULT *plResult
);
#define DwmDefWindowProc dwmload_DefWindowProc

HRESULT dwmload_EnableBlurBehindWindow(
    HWND hWnd,
    const DWM_BLURBEHIND *pBlurBehind
);
#define DwmEnableBlurBehindWindow dwmload_EnableBlurBehindWindow

HRESULT dwmload_EnableComposition(
    UINT uCompositionAction
);
#define DwmEnableComposition dwmload_EnableComposition

HRESULT dwmload_EnableMMCSS(
    BOOL fEnableMMCSS
);
#define DwmEnableMMCSS dwmload_EnableMMCSS

HRESULT dwmload_ExtendFrameIntoClientArea(
    HWND hWnd,
    const MARGINS *pMarInset
);
#define DwmExtendFrameIntoClientArea dwmload_ExtendFrameIntoClientArea

HRESULT dwmload_GetColorizationColor(
    DWORD *pcrColorization,
    BOOL *pfOpaqueBlend
);
#define DwmGetColorizationColor dwmload_GetColorizationColor

HRESULT dwmload_GetCompositionTimingInfo(
    HWND hwnd,
    DWM_TIMING_INFO *pTimingInfo
);
#define DwmGetCompositionTimingInfo dwmload_GetCompositionTimingInfo

HRESULT dwmload_GetWindowAttribute(
    HWND hwnd,
    DWORD dwAttribute,
    PVOID pvAttribute,
    DWORD cbAttribute
);
#define DwmGetWindowAttribute dwmload_GetWindowAttribute

HRESULT dwmload_IsCompositionEnabled(
    BOOL *pfEnabled
);
#define DwmIsCompositionEnabled dwmload_IsCompositionEnabled

HRESULT dwmload_ModifyPreviousDxFrameDuration(
    HWND hwnd,
    INT cRefreshes,
    BOOL fRelative
);
#define DwmModifyPreviousDxFrameDuration dwmload_ModifyPreviousDxFrameDuration

HRESULT dwmload_QueryThumbnailSourceSize(
    HTHUMBNAIL hThumbnail,
    PSIZE pSize
);
#define DwmQueryThumbnailSourceSize dwmload_QueryThumbnailSourceSize

HRESULT dwmload_RegisterThumbnail(
    HWND hwndDestination,
    HWND *hwndSource,
    PHTHUMBNAIL phThumbnailId
);
#define DwmRegisterThumbnail dwmload_RegisterThumbnail

HRESULT dwmload_SetDxFrameDuration(
    HWND hwnd,
    INT cRefreshes
);
#define DwmSetDxFrameDuration dwmload_SetDxFrameDuration

HRESULT dwmload_SetPresentParameters(
    HWND hwnd,
    DWM_PRESENT_PARAMETERS *pPresentParams
);
#define DwmSetPresentParameters dwmload_SetPresentParameters

HRESULT dwmload_SetWindowAttribute(
    HWND hwnd,
    DWORD dwAttribute,
    LPCVOID pvAttribute,
    DWORD cbAttribute
);
#define DwmSetWindowAttribute dwmload_SetWindowAttribute

HRESULT dwmload_UnregisterThumbnail(
    HTHUMBNAIL hThumbnailId
);
#define DwmUnregisterThumbnail dwmload_UnregisterThumbnail

HRESULT dwmload_UpdateThumbnailProperties(
    HTHUMBNAIL hThumbnailId,
    const DWM_THUMBNAIL_PROPERTIES *ptnProperties
);
#define DwmUpdateThumbnailProperties dwmload_UpdateThumbnailProperties

#endif/*DWM_LOAD_H*/