Headers diff for dwmapi.dll between 6.1.7601.18917-Windows_7.0 and 6.3.9600.17415-Windows_8.1 versions



 dwmapi.h (6.1.7601.18917-Windows_7.0)   dwmapi.h (6.3.9600.17415-Windows_8.1) 
skipping to change at line 15 skipping to change at line 15
File: dwmapi.h File: dwmapi.h
Module Name: dwmapi Module Name: dwmapi
Description: DWM API declarations Description: DWM API declarations
\*=========================================================================*/ \*=========================================================================*/
#ifndef _DWMAPI_H_ #ifndef _DWMAPI_H_
#define _DWMAPI_H_ #define _DWMAPI_H_
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifndef DWMAPI #ifndef DWMAPI
#if !defined(_DWMAPI_) #if !defined(_DWMAPI_)
#define DWMAPI EXTERN_C DECLSPEC_IMPORT HRESULT STDAPICALLTYPE #define DWMAPI EXTERN_C DECLSPEC_IMPORT HRESULT STDAPICALLTYPE
#define DWMAPI_(type) EXTERN_C DECLSPEC_IMPORT type STDAPICALLTYPE #define DWMAPI_(type) EXTERN_C DECLSPEC_IMPORT type STDAPICALLTYPE
#else #else
#define DWMAPI STDAPI #define DWMAPI STDAPI
#define DWMAPI_(type) STDAPI_(type) #define DWMAPI_(type) STDAPI_(type)
#endif /* _DWMAPI_ */ #endif /* _DWMAPI_ */
#endif /* DWMAPI */ #endif /* DWMAPI */
skipping to change at line 65 skipping to change at line 70
DWMWA_TRANSITIONS_FORCEDISABLED, // [set] Potentially enable/forcibly dis able transitions DWMWA_TRANSITIONS_FORCEDISABLED, // [set] Potentially enable/forcibly dis able transitions
DWMWA_ALLOW_NCPAINT, // [set] Allow contents rendered in the non-client area to be visible on the DWM-drawn frame. DWMWA_ALLOW_NCPAINT, // [set] Allow contents rendered in the non-client area to be visible on the DWM-drawn frame.
DWMWA_CAPTION_BUTTON_BOUNDS, // [get] Bounds of the caption button ar ea in window-relative space. DWMWA_CAPTION_BUTTON_BOUNDS, // [get] Bounds of the caption button ar ea in window-relative space.
DWMWA_NONCLIENT_RTL_LAYOUT, // [set] Is non-client content RTL mirro red DWMWA_NONCLIENT_RTL_LAYOUT, // [set] Is non-client content RTL mirro red
DWMWA_FORCE_ICONIC_REPRESENTATION, // [set] Force this window to display ic onic thumbnails. DWMWA_FORCE_ICONIC_REPRESENTATION, // [set] Force this window to display ic onic thumbnails.
DWMWA_FLIP3D_POLICY, // [set] Designates how Flip3D will trea t the window. DWMWA_FLIP3D_POLICY, // [set] Designates how Flip3D will trea t the window.
DWMWA_EXTENDED_FRAME_BOUNDS, // [get] Gets the extended frame bounds rectangle in screen space DWMWA_EXTENDED_FRAME_BOUNDS, // [get] Gets the extended frame bounds rectangle in screen space
DWMWA_HAS_ICONIC_BITMAP, // [set] Indicates an available bitmap w hen there is no better thumbnail representation. DWMWA_HAS_ICONIC_BITMAP, // [set] Indicates an available bitmap w hen there is no better thumbnail representation.
DWMWA_DISALLOW_PEEK, // [set] Don't invoke Peek on the window . DWMWA_DISALLOW_PEEK, // [set] Don't invoke Peek on the window .
DWMWA_EXCLUDED_FROM_PEEK, // [set] LivePreview exclusion informati on DWMWA_EXCLUDED_FROM_PEEK, // [set] LivePreview exclusion informati on
DWMWA_CLOAK, // [set] Cloak or uncloak the window
DWMWA_CLOAKED, // [get] Gets the cloaked state of the w
indow
DWMWA_FREEZE_REPRESENTATION, // [set] Force this window to freeze the
thumbnail without live update
DWMWA_LAST DWMWA_LAST
}; };
// Non-client rendering policy attribute values // Non-client rendering policy attribute values
enum DWMNCRENDERINGPOLICY enum DWMNCRENDERINGPOLICY
{ {
DWMNCRP_USEWINDOWSTYLE, // Enable/disable non-client rendering based on wind ow style DWMNCRP_USEWINDOWSTYLE, // Enable/disable non-client rendering based on wind ow style
DWMNCRP_DISABLED, // Disabled non-client rendering; window style is ig nored DWMNCRP_DISABLED, // Disabled non-client rendering; window style is ig nored
DWMNCRP_ENABLED, // Enabled non-client rendering; window style is ign ored DWMNCRP_ENABLED, // Enabled non-client rendering; window style is ign ored
DWMNCRP_LAST DWMNCRP_LAST
skipping to change at line 86 skipping to change at line 94
// Values designating how Flip3D treats a given window. // Values designating how Flip3D treats a given window.
enum DWMFLIP3DWINDOWPOLICY enum DWMFLIP3DWINDOWPOLICY
{ {
DWMFLIP3D_DEFAULT, // Hide or include the window in Flip3D based on win dow style and visibility. DWMFLIP3D_DEFAULT, // Hide or include the window in Flip3D based on win dow style and visibility.
DWMFLIP3D_EXCLUDEBELOW, // Display the window under Flip3D and disabled. DWMFLIP3D_EXCLUDEBELOW, // Display the window under Flip3D and disabled.
DWMFLIP3D_EXCLUDEABOVE, // Display the window above Flip3D and enabled. DWMFLIP3D_EXCLUDEABOVE, // Display the window above Flip3D and enabled.
DWMFLIP3D_LAST DWMFLIP3D_LAST
}; };
// Cloaked flags describing why a window is cloaked.
#define DWM_CLOAKED_APP 0x00000001
#define DWM_CLOAKED_SHELL 0x00000002
#define DWM_CLOAKED_INHERITED 0x00000004
// Thumbnails // Thumbnails
typedef HANDLE HTHUMBNAIL; typedef HANDLE HTHUMBNAIL;
typedef HTHUMBNAIL* PHTHUMBNAIL; typedef HTHUMBNAIL* PHTHUMBNAIL;
#define DWM_TNP_RECTDESTINATION 0x00000001 #define DWM_TNP_RECTDESTINATION 0x00000001
#define DWM_TNP_RECTSOURCE 0x00000002 #define DWM_TNP_RECTSOURCE 0x00000002
#define DWM_TNP_OPACITY 0x00000004 #define DWM_TNP_OPACITY 0x00000004
#define DWM_TNP_VISIBLE 0x00000008 #define DWM_TNP_VISIBLE 0x00000008
#define DWM_TNP_SOURCECLIENTAREAONLY 0x00000010 #define DWM_TNP_SOURCECLIENTAREAONLY 0x00000010
skipping to change at line 325 skipping to change at line 338
UNSIGNED_RATIO rateSource; UNSIGNED_RATIO rateSource;
UINT cRefreshesPerFrame; UINT cRefreshesPerFrame;
DWM_SOURCE_FRAME_SAMPLING eSampling; DWM_SOURCE_FRAME_SAMPLING eSampling;
} DWM_PRESENT_PARAMETERS; } DWM_PRESENT_PARAMETERS;
#pragma warning(pop) #pragma warning(pop)
#define DWM_FRAME_DURATION_DEFAULT -1 #define DWM_FRAME_DURATION_DEFAULT -1
DWMAPI_(BOOL) DWMAPI_(BOOL)
DwmDefWindowProc( DwmDefWindowProc(
__in HWND hWnd, _In_ HWND hWnd,
UINT msg, UINT msg,
WPARAM wParam, WPARAM wParam,
LPARAM lParam, LPARAM lParam,
__out LRESULT *plResult _Out_ LRESULT *plResult
); );
DWMAPI DWMAPI
DwmEnableBlurBehindWindow( DwmEnableBlurBehindWindow(
HWND hWnd, HWND hWnd,
__in const DWM_BLURBEHIND* pBlurBehind _In_ const DWM_BLURBEHIND* pBlurBehind
); );
#define DWM_EC_DISABLECOMPOSITION 0 #define DWM_EC_DISABLECOMPOSITION 0
#define DWM_EC_ENABLECOMPOSITION 1 #define DWM_EC_ENABLECOMPOSITION 1
DWMAPI DWMAPI
DwmEnableComposition( DwmEnableComposition(
UINT uCompositionAction UINT uCompositionAction
); );
#if NTDDI_VERSION >= NTDDI_WIN8
#pragma deprecated (DwmEnableComposition)
#endif
DWMAPI DWMAPI
DwmEnableMMCSS( DwmEnableMMCSS(
BOOL fEnableMMCSS BOOL fEnableMMCSS
); );
DWMAPI DWMAPI
DwmExtendFrameIntoClientArea( DwmExtendFrameIntoClientArea(
HWND hWnd, HWND hWnd,
__in const MARGINS* pMarInset _In_ const MARGINS* pMarInset
); );
DWMAPI DWMAPI
DwmGetColorizationColor( DwmGetColorizationColor(
__out DWORD* pcrColorization, _Out_ DWORD* pcrColorization,
__out BOOL* pfOpaqueBlend _Out_ BOOL* pfOpaqueBlend
); );
DWMAPI DWMAPI
DwmGetCompositionTimingInfo( DwmGetCompositionTimingInfo(
HWND hwnd, HWND hwnd,
__out DWM_TIMING_INFO* pTimingInfo _Out_ DWM_TIMING_INFO* pTimingInfo
); );
DWMAPI DWMAPI
DwmGetWindowAttribute( DwmGetWindowAttribute(
HWND hwnd, HWND hwnd,
DWORD dwAttribute, DWORD dwAttribute,
__out_bcount(cbAttribute) PVOID pvAttribute, _Out_writes_bytes_(cbAttribute) PVOID pvAttribute,
DWORD cbAttribute DWORD cbAttribute
); );
DWMAPI DWMAPI
DwmIsCompositionEnabled( DwmIsCompositionEnabled(
__out BOOL* pfEnabled _Out_ BOOL* pfEnabled
); );
DWMAPI DWMAPI
DwmModifyPreviousDxFrameDuration( DwmModifyPreviousDxFrameDuration(
HWND hwnd, HWND hwnd,
INT cRefreshes, INT cRefreshes,
BOOL fRelative BOOL fRelative
); );
DWMAPI DWMAPI
DwmQueryThumbnailSourceSize( DwmQueryThumbnailSourceSize(
HTHUMBNAIL hThumbnail, HTHUMBNAIL hThumbnail,
__out PSIZE pSize _Out_ PSIZE pSize
); );
DWMAPI DWMAPI
DwmRegisterThumbnail( DwmRegisterThumbnail(
HWND hwndDestination, HWND hwndDestination,
HWND hwndSource, HWND hwndSource,
__out PHTHUMBNAIL phThumbnailId _Out_ PHTHUMBNAIL phThumbnailId
); );
DWMAPI DWMAPI
DwmSetDxFrameDuration( DwmSetDxFrameDuration(
HWND hwnd, HWND hwnd,
INT cRefreshes INT cRefreshes
); );
DWMAPI DWMAPI
DwmSetPresentParameters( DwmSetPresentParameters(
HWND hwnd, HWND hwnd,
__inout DWM_PRESENT_PARAMETERS* pPresentParams _Inout_ DWM_PRESENT_PARAMETERS* pPresentParams
); );
DWMAPI DWMAPI
DwmSetWindowAttribute( DwmSetWindowAttribute(
HWND hwnd, HWND hwnd,
DWORD dwAttribute, DWORD dwAttribute,
__in_bcount(cbAttribute) LPCVOID pvAttribute, _In_reads_bytes_(cbAttribute) LPCVOID pvAttribute,
DWORD cbAttribute DWORD cbAttribute
); );
DWMAPI DWMAPI
DwmUnregisterThumbnail( DwmUnregisterThumbnail(
HTHUMBNAIL hThumbnailId HTHUMBNAIL hThumbnailId
); );
DWMAPI DWMAPI
DwmUpdateThumbnailProperties( DwmUpdateThumbnailProperties(
HTHUMBNAIL hThumbnailId, HTHUMBNAIL hThumbnailId,
__in const DWM_THUMBNAIL_PROPERTIES* ptnProperties _In_ const DWM_THUMBNAIL_PROPERTIES* ptnProperties
); );
#if(_WIN32_WINNT >= 0x0601) #if(_WIN32_WINNT >= 0x0601)
#define DWM_SIT_DISPLAYFRAME 0x00000001 // Display a window frame around the provided bitmap #define DWM_SIT_DISPLAYFRAME 0x00000001 // Display a window frame around the provided bitmap
DWMAPI DwmSetIconicThumbnail( DWMAPI DwmSetIconicThumbnail(
HWND hwnd, HWND hwnd,
HBITMAP hbmp, HBITMAP hbmp,
DWORD dwSITFlags DWORD dwSITFlags
); );
DWMAPI DwmSetIconicLivePreviewBitmap( DWMAPI DwmSetIconicLivePreviewBitmap(
HWND hwnd, HWND hwnd,
HBITMAP hbmp, HBITMAP hbmp,
__in_opt POINT *pptClient, _In_opt_ POINT *pptClient,
DWORD dwSITFlags DWORD dwSITFlags
); );
DWMAPI DwmInvalidateIconicBitmaps( DWMAPI DwmInvalidateIconicBitmaps(
HWND hwnd HWND hwnd
); );
#endif /* _WIN32_WINNT >= 0x0601 */ #endif /* _WIN32_WINNT >= 0x0601 */
DWMAPI DWMAPI
DwmAttachMilContent( DwmAttachMilContent(
__in HWND hwnd _In_ HWND hwnd
); );
DWMAPI DWMAPI
DwmDetachMilContent( DwmDetachMilContent(
__in HWND hwnd _In_ HWND hwnd
); );
DWMAPI DWMAPI
DwmFlush(); DwmFlush();
#ifndef MILCORE_KERNEL_COMPONENT #ifndef MILCORE_KERNEL_COMPONENT
#ifndef _MIL_MATRIX3X2D_DEFINED #ifndef _MIL_MATRIX3X2D_DEFINED
typedef struct _MilMatrix3x2D typedef struct _MilMatrix3x2D
{ {
skipping to change at line 494 skipping to change at line 511
#ifndef MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF #ifndef MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF
// Compatibility for Vista dwm api. // Compatibility for Vista dwm api.
typedef MilMatrix3x2D MIL_MATRIX3X2D; typedef MilMatrix3x2D MIL_MATRIX3X2D;
#define MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF #define MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF
#endif MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF #endif MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF
DWMAPI DWMAPI
DwmGetGraphicsStreamTransformHint( DwmGetGraphicsStreamTransformHint(
UINT uIndex, UINT uIndex,
__out MilMatrix3x2D *pTransform _Out_ MilMatrix3x2D *pTransform
); );
DWMAPI DWMAPI
DwmGetGraphicsStreamClient( DwmGetGraphicsStreamClient(
UINT uIndex, UINT uIndex,
__out UUID *pClientUuid _Out_ UUID *pClientUuid
); );
#endif // MILCORE_KERNEL_COMPONENT #endif // MILCORE_KERNEL_COMPONENT
DWMAPI DWMAPI
DwmGetTransportAttributes( DwmGetTransportAttributes(
__out_ecount(1) BOOL *pfIsRemoting, _Out_writes_(1) BOOL *pfIsRemoting,
__out_ecount(1) BOOL *pfIsConnected, _Out_writes_(1) BOOL *pfIsConnected,
__out_ecount(1) DWORD *pDwGeneration _Out_writes_(1) DWORD *pDwGeneration
); );
enum DWMTRANSITION_OWNEDWINDOW_TARGET
{
DWMTRANSITION_OWNEDWINDOW_NULL = -1,
DWMTRANSITION_OWNEDWINDOW_REPOSITION = 0,
};
DWMAPI
DwmTransitionOwnedWindow(
HWND hwnd,
enum DWMTRANSITION_OWNEDWINDOW_TARGET target
);
#if (NTDDI_VERSION >= NTDDI_WIN8)
enum GESTURE_TYPE
{
GT_PEN_TAP = 0,
GT_PEN_DOUBLETAP = 1,
GT_PEN_RIGHTTAP = 2,
GT_PEN_PRESSANDHOLD = 3,
GT_PEN_PRESSANDHOLDABORT = 4,
GT_TOUCH_TAP = 5,
GT_TOUCH_DOUBLETAP = 6,
GT_TOUCH_RIGHTTAP = 7,
GT_TOUCH_PRESSANDHOLD = 8,
GT_TOUCH_PRESSANDHOLDABORT = 9,
GT_TOUCH_PRESSANDTAP = 10,
};
DWMAPI
DwmRenderGesture(
_In_ enum GESTURE_TYPE gt,
_In_ UINT cContacts,
_In_reads_(cContacts) const DWORD *pdwPointerID,
_In_reads_(cContacts) const POINT *pPoints
);
DWMAPI
DwmTetherContact(
DWORD dwPointerID,
BOOL fEnable,
POINT ptTether
);
enum DWM_SHOWCONTACT
{
DWMSC_DOWN = 0x00000001,
DWMSC_UP = 0x00000002,
DWMSC_DRAG = 0x00000004,
DWMSC_HOLD = 0x00000008,
DWMSC_PENBARREL = 0x00000010,
DWMSC_NONE = 0x00000000,
DWMSC_ALL = 0xFFFFFFFF
};
DEFINE_ENUM_FLAG_OPERATORS(DWM_SHOWCONTACT);
DWMAPI
DwmShowContact(
DWORD dwPointerID,
enum DWM_SHOWCONTACT eShowContact
);
#endif // NTDDI_WIN8
#include <poppack.h> #include <poppack.h>
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif // _DWMAPI_H_ #endif // _DWMAPI_H_
 End of changes. 25 change blocks. 
22 lines changed or deleted 109 lines changed or added

This html diff was produced by rfcdiff 1.41.