| dwmapi.h (6.0.6001.18000-Windows 6.0) | | dwmapi.h (6.1.7601.18917-Windows 7.0) |
| | |
| skipping to change at line 25 | | skipping to change at line 25 |
| #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 */ |
| | |
|
| #include <pshpack1.h> | | |
| | | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C" | | extern "C" |
| { | | { |
| #endif | | #endif |
| | |
| #ifndef MILCORE_KERNEL_COMPONENT | | #ifndef MILCORE_KERNEL_COMPONENT |
| #include <wtypes.h> | | #include <wtypes.h> |
| #include <uxtheme.h> | | #include <uxtheme.h> |
| #endif | | #endif |
| | |
|
| | #include <pshpack1.h> |
| | |
| // Blur behind data structures | | // Blur behind data structures |
| #define DWM_BB_ENABLE 0x00000001 // fEnable has been specified | | #define DWM_BB_ENABLE 0x00000001 // fEnable has been specified |
| #define DWM_BB_BLURREGION 0x00000002 // hRgnBlur has been specified | | #define DWM_BB_BLURREGION 0x00000002 // hRgnBlur has been specified |
| #define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004 // fTransitionOnMaximized has
been specified | | #define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004 // fTransitionOnMaximized has
been specified |
| | |
| typedef struct _DWM_BLURBEHIND | | typedef struct _DWM_BLURBEHIND |
| { | | { |
| DWORD dwFlags; | | DWORD dwFlags; |
| BOOL fEnable; | | BOOL fEnable; |
| HRGN hRgnBlur; | | HRGN hRgnBlur; |
| | |
| skipping to change at line 62 | | skipping to change at line 62 |
| { | | { |
| DWMWA_NCRENDERING_ENABLED = 1, // [get] Is non-client rendering enabled
/disabled | | DWMWA_NCRENDERING_ENABLED = 1, // [get] Is non-client rendering enabled
/disabled |
| DWMWA_NCRENDERING_POLICY, // [set] Non-client rendering policy | | DWMWA_NCRENDERING_POLICY, // [set] Non-client rendering policy |
| 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_DISALLOW_PEEK, // [set] Don't invoke Peek on the window |
| | . |
| | DWMWA_EXCLUDED_FROM_PEEK, // [set] LivePreview exclusion informati |
| | on |
| 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 430 | | skipping to change at line 433 |
| 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) |
| | #define DWM_SIT_DISPLAYFRAME 0x00000001 // Display a window frame around the |
| | provided bitmap |
| | |
| | DWMAPI DwmSetIconicThumbnail( |
| | HWND hwnd, |
| | HBITMAP hbmp, |
| | DWORD dwSITFlags |
| | ); |
| | |
| | DWMAPI DwmSetIconicLivePreviewBitmap( |
| | HWND hwnd, |
| | HBITMAP hbmp, |
| | __in_opt POINT *pptClient, |
| | DWORD dwSITFlags |
| | ); |
| | |
| | DWMAPI DwmInvalidateIconicBitmaps( |
| | HWND hwnd |
| | ); |
| | |
| | #endif /* _WIN32_WINNT >= 0x0601 */ |
| | |
| DWMAPI | | DWMAPI |
| DwmAttachMilContent( | | DwmAttachMilContent( |
|
| HWND hwnd | | __in HWND hwnd |
| ); | | ); |
| | |
| DWMAPI | | DWMAPI |
| DwmDetachMilContent( | | DwmDetachMilContent( |
|
| 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 _MIL_MATRIX3X2D | | typedef struct _MilMatrix3x2D |
| { | | { |
| DOUBLE S_11; | | DOUBLE S_11; |
| DOUBLE S_12; | | DOUBLE S_12; |
| DOUBLE S_21; | | DOUBLE S_21; |
| DOUBLE S_22; | | DOUBLE S_22; |
| DOUBLE DX; | | DOUBLE DX; |
| DOUBLE DY; | | DOUBLE DY; |
|
| } MIL_MATRIX3X2D; | | } MilMatrix3x2D; |
| | |
| #define _MIL_MATRIX3X2D_DEFINED | | #define _MIL_MATRIX3X2D_DEFINED |
| | |
| #endif // _MIL_MATRIX3X2D_DEFINED | | #endif // _MIL_MATRIX3X2D_DEFINED |
| | |
|
| | #ifndef MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF |
| | // Compatibility for Vista dwm api. |
| | typedef MilMatrix3x2D MIL_MATRIX3X2D; |
| | #define MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF |
| | #endif MILCORE_MIL_MATRIX3X2D_COMPAT_TYPEDEF |
| | |
| DWMAPI | | DWMAPI |
| DwmGetGraphicsStreamTransformHint( | | DwmGetGraphicsStreamTransformHint( |
| UINT uIndex, | | UINT uIndex, |
|
| __out MIL_MATRIX3X2D *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_ecount(1) BOOL *pfIsRemoting, |
| __out_ecount(1) BOOL *pfIsConnected, | | __out_ecount(1) BOOL *pfIsConnected, |
| __out_ecount(1) DWORD *pDwGeneration | | __out_ecount(1) DWORD *pDwGeneration |
| ); | | ); |
| | |
|
| | #include <poppack.h> |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif | | #endif |
| | |
|
| #include <poppack.h> | | |
| | | |
| #endif // _DWMAPI_H_ | | #endif // _DWMAPI_H_ |
| | |
| End of changes. 12 change blocks. |
| 9 lines changed or deleted | | 44 lines changed or added |
|