Headers diff for user32.dll between 5.2.3790.3959-Windows 5.0 and 6.0.6002.18005-Windows 6.0 versions



 ddeml.h (5.2.3790.3959-Windows 5.0)   ddeml.h (6.0.6002.18005-Windows 6.0) 
skipping to change at line 33 skipping to change at line 33
DECLARE_HANDLE(HCONV); DECLARE_HANDLE(HCONV);
DECLARE_HANDLE(HSZ); DECLARE_HANDLE(HSZ);
DECLARE_HANDLE(HDDEDATA); DECLARE_HANDLE(HDDEDATA);
#define EXPENTRY CALLBACK #define EXPENTRY CALLBACK
/* the following structure is for use with XTYP_WILDCONNECT processing. */ /* the following structure is for use with XTYP_WILDCONNECT processing. */
typedef struct tagHSZPAIR { typedef struct tagHSZPAIR {
HSZ hszSvc; HSZ hszSvc;
HSZ hszTopic; HSZ hszTopic;
} HSZPAIR; } HSZPAIR, FAR *PHSZPAIR;
typedef HSZPAIR FAR *PHSZPAIR;
/* The following structure is used by DdeConnect() and DdeConnectList() and /* The following structure is used by DdeConnect() and DdeConnectList() and
by XTYP_CONNECT and XTYP_WILDCONNECT callbacks. */ by XTYP_CONNECT and XTYP_WILDCONNECT callbacks. */
typedef struct tagCONVCONTEXT { typedef struct tagCONVCONTEXT {
UINT cb; /* set to sizeof(CONVCONTEXT) */ UINT cb; /* set to sizeof(CONVCONTEXT) */
UINT wFlags; /* none currently defined. */ UINT wFlags; /* none currently defined. */
UINT wCountryID; /* country code for topic/item strings used. */ UINT wCountryID; /* country/region code for topic/item strings us ed. */
int iCodePage; /* codepage used for topic/item strings. */ int iCodePage; /* codepage used for topic/item strings. */
DWORD dwLangID; /* language ID for topic/item strings. */ DWORD dwLangID; /* language ID for topic/item strings. */
DWORD dwSecurity; /* Private security code. */ DWORD dwSecurity; /* Private security code. */
SECURITY_QUALITY_OF_SERVICE qos; /* client side's quality of service */ SECURITY_QUALITY_OF_SERVICE qos; /* client side's quality of service */
} CONVCONTEXT; } CONVCONTEXT, FAR *PCONVCONTEXT;
typedef CONVCONTEXT FAR *PCONVCONTEXT;
/* The following structure is used by DdeQueryConvInfo(): */ /* The following structure is used by DdeQueryConvInfo(): */
typedef struct tagCONVINFO { typedef struct tagCONVINFO {
DWORD cb; /* sizeof(CONVINFO) */ DWORD cb; /* sizeof(CONVINFO) */
DWORD_PTR hUser; /* user specified field */ DWORD_PTR hUser; /* user specified field */
HCONV hConvPartner; /* hConv on other end or 0 if non-ddemgr partner */ HCONV hConvPartner; /* hConv on other end or 0 if non-ddemgr partner */
HSZ hszSvcPartner; /* app name of partner if obtainable */ HSZ hszSvcPartner; /* app name of partner if obtainable */
HSZ hszServiceReq; /* AppName requested for connection */ HSZ hszServiceReq; /* AppName requested for connection */
HSZ hszTopic; /* Topic name for conversation */ HSZ hszTopic; /* Topic name for conversation */
HSZ hszItem; /* transaction item name or NULL if quiescent */ HSZ hszItem; /* transaction item name or NULL if quiescent */
UINT wFmt; /* transaction format or NULL if quiescent */ UINT wFmt; /* transaction format or NULL if quiescent */
UINT wType; /* XTYP_ for current transaction */ UINT wType; /* XTYP_ for current transaction */
UINT wStatus; /* ST_ constant for current conversation */ UINT wStatus; /* ST_ constant for current conversation */
UINT wConvst; /* XST_ constant for current transaction */ UINT wConvst; /* XST_ constant for current transaction */
UINT wLastError; /* last transaction error. */ UINT wLastError; /* last transaction error. */
HCONVLIST hConvList; /* parent hConvList if this conversation is in a list */ HCONVLIST hConvList; /* parent hConvList if this conversation is in a list */
CONVCONTEXT ConvCtxt; /* conversation context */ CONVCONTEXT ConvCtxt; /* conversation context */
HWND hwnd; /* window handle for this conversation */ HWND hwnd; /* window handle for this conversation */
HWND hwndPartner; /* partner window handle for this conversation */ HWND hwndPartner; /* partner window handle for this conversation */
} CONVINFO; } CONVINFO, FAR *PCONVINFO;
typedef CONVINFO FAR *PCONVINFO;
/***** conversation states (usState) *****/ /***** conversation states (usState) *****/
#define XST_NULL 0 /* quiescent states */ #define XST_NULL 0 /* quiescent states */
#define XST_INCOMPLETE 1 #define XST_INCOMPLETE 1
#define XST_CONNECTED 2 #define XST_CONNECTED 2
#define XST_INIT1 3 /* mid-initiation states */ #define XST_INIT1 3 /* mid-initiation states */
#define XST_INIT2 4 #define XST_INIT2 4
#define XST_REQSENT 5 /* active conversation states */ #define XST_REQSENT 5 /* active conversation states */
#define XST_DATARCVD 6 #define XST_DATARCVD 6
skipping to change at line 209 skipping to change at line 206
typedef HDDEDATA CALLBACK FNCALLBACK(UINT wType, UINT wFmt, HCONV hConv, typedef HDDEDATA CALLBACK FNCALLBACK(UINT wType, UINT wFmt, HCONV hConv,
HSZ hsz1, HSZ hsz2, HDDEDATA hData, ULONG_PTR dwData1, ULONG_PTR dwData2 ); HSZ hsz1, HSZ hsz2, HDDEDATA hData, ULONG_PTR dwData1, ULONG_PTR dwData2 );
typedef HDDEDATA (CALLBACK *PFNCALLBACK)(UINT wType, UINT wFmt, HCONV hConv, typedef HDDEDATA (CALLBACK *PFNCALLBACK)(UINT wType, UINT wFmt, HCONV hConv,
HSZ hsz1, HSZ hsz2, HDDEDATA hData, ULONG_PTR dwData1, ULONG_PTR dwData2 ); HSZ hsz1, HSZ hsz2, HDDEDATA hData, ULONG_PTR dwData1, ULONG_PTR dwData2 );
#define CBR_BLOCK ((HDDEDATA)-1) #define CBR_BLOCK ((HDDEDATA)-1)
/* DLL registration functions */ /* DLL registration functions */
UINT WINAPI DdeInitializeA( IN OUT LPDWORD pidInst, IN PFNCALLBACK pfnCallback, UINT
IN DWORD afCmd, IN DWORD ulRes); WINAPI
UINT WINAPI DdeInitializeW( IN OUT LPDWORD pidInst, IN PFNCALLBACK pfnCallback, DdeInitializeA(
IN DWORD afCmd, IN DWORD ulRes); __inout LPDWORD pidInst,
__in PFNCALLBACK pfnCallback,
__in DWORD afCmd,
__reserved DWORD ulRes);
UINT
WINAPI
DdeInitializeW(
__inout LPDWORD pidInst,
__in PFNCALLBACK pfnCallback,
__in DWORD afCmd,
__reserved DWORD ulRes);
#ifdef UNICODE #ifdef UNICODE
#define DdeInitialize DdeInitializeW #define DdeInitialize DdeInitializeW
#else #else
#define DdeInitialize DdeInitializeA #define DdeInitialize DdeInitializeA
#endif // !UNICODE #endif // !UNICODE
/* /*
* Callback filter flags for use with standard apps. * Callback filter flags for use with standard apps.
*/ */
skipping to change at line 250 skipping to change at line 257
#define APPCMD_CLIENTONLY 0x00000010L #define APPCMD_CLIENTONLY 0x00000010L
#define APPCMD_FILTERINITS 0x00000020L #define APPCMD_FILTERINITS 0x00000020L
#define APPCMD_MASK 0x00000FF0L #define APPCMD_MASK 0x00000FF0L
/* /*
* Application classification flags * Application classification flags
*/ */
#define APPCLASS_STANDARD 0x00000000L #define APPCLASS_STANDARD 0x00000000L
#define APPCLASS_MASK 0x0000000FL #define APPCLASS_MASK 0x0000000FL
BOOL WINAPI DdeUninitialize( IN DWORD idInst); BOOL
WINAPI
DdeUninitialize(
__in DWORD idInst);
/* /*
* conversation enumeration functions * conversation enumeration functions
*/ */
HCONVLIST
WINAPI
DdeConnectList(
__in DWORD idInst,
__in HSZ hszService,
__in HSZ hszTopic,
__in HCONVLIST hConvList,
__in_opt PCONVCONTEXT pCC);
HCONVLIST WINAPI DdeConnectList( IN DWORD idInst, IN HSZ hszService, IN HSZ hszT HCONV
opic, WINAPI
IN HCONVLIST hConvList, IN PCONVCONTEXT pCC); DdeQueryNextServer(
HCONV WINAPI DdeQueryNextServer( IN HCONVLIST hConvList, IN HCONV hConvPrev); __in HCONVLIST hConvList,
BOOL WINAPI DdeDisconnectList( IN HCONVLIST hConvList); __in HCONV hConvPrev);
BOOL
WINAPI
DdeDisconnectList(
__in HCONVLIST hConvList);
/* /*
* conversation control functions * conversation control functions
*/ */
HCONV
WINAPI
DdeConnect(
__in DWORD idInst,
__in HSZ hszService,
__in HSZ hszTopic,
__in_opt PCONVCONTEXT pCC);
HCONV WINAPI DdeConnect( IN DWORD idInst, IN HSZ hszService, IN HSZ hszTopic, BOOL
IN PCONVCONTEXT pCC); WINAPI
BOOL WINAPI DdeDisconnect( IN OUT HCONV hConv); DdeDisconnect(
HCONV WINAPI DdeReconnect( IN HCONV hConv); __in HCONV hConv);
UINT WINAPI DdeQueryConvInfo( IN HCONV hConv, IN DWORD idTransaction, IN OUT PCO
NVINFO pConvInfo); HCONV
BOOL WINAPI DdeSetUserHandle( IN HCONV hConv, IN DWORD id, IN DWORD_PTR hUser); WINAPI
BOOL WINAPI DdeAbandonTransaction( IN DWORD idInst, IN HCONV hConv, IN DWORD idT DdeReconnect(
ransaction); __in HCONV hConv);
UINT
WINAPI
DdeQueryConvInfo(
__in HCONV hConv,
__in DWORD idTransaction,
__inout PCONVINFO pConvInfo);
BOOL
WINAPI
DdeSetUserHandle(
__in HCONV hConv,
__in DWORD id,
__in DWORD_PTR hUser);
BOOL
WINAPI
DdeAbandonTransaction(
__in DWORD idInst,
__in HCONV hConv,
__in DWORD idTransaction);
/* /*
* app server interface functions * app server interface functions
*/ */
BOOL
WINAPI
DdePostAdvise(
__in DWORD idInst,
__in HSZ hszTopic,
__in HSZ hszItem);
BOOL WINAPI DdePostAdvise( IN DWORD idInst, IN HSZ hszTopic, IN HSZ hszItem); BOOL
BOOL WINAPI DdeEnableCallback( IN DWORD idInst, IN HCONV hConv, IN UINT wCmd); WINAPI
BOOL WINAPI DdeImpersonateClient( IN HCONV hConv); DdeEnableCallback(
__in DWORD idInst,
__in HCONV hConv,
__in UINT wCmd);
BOOL
WINAPI
DdeImpersonateClient(
__in HCONV hConv);
#define EC_ENABLEALL 0 #define EC_ENABLEALL 0
#define EC_ENABLEONE ST_BLOCKNEXT #define EC_ENABLEONE ST_BLOCKNEXT
#define EC_DISABLE ST_BLOCKED #define EC_DISABLE ST_BLOCKED
#define EC_QUERYWAITING 2 #define EC_QUERYWAITING 2
HDDEDATA WINAPI DdeNameService( IN DWORD idInst, IN HSZ hsz1, IN HSZ hsz2, IN UI HDDEDATA
NT afCmd); WINAPI
DdeNameService(
__in DWORD idInst,
__in_opt HSZ hsz1,
__in_opt HSZ hsz2,
__in UINT afCmd);
#define DNS_REGISTER 0x0001 #define DNS_REGISTER 0x0001
#define DNS_UNREGISTER 0x0002 #define DNS_UNREGISTER 0x0002
#define DNS_FILTERON 0x0004 #define DNS_FILTERON 0x0004
#define DNS_FILTEROFF 0x0008 #define DNS_FILTEROFF 0x0008
/* /*
* app client interface functions * app client interface functions
*/ */
HDDEDATA
HDDEDATA WINAPI DdeClientTransaction( IN LPBYTE pData, IN DWORD cbData, WINAPI
IN HCONV hConv, IN HSZ hszItem, IN UINT wFmt, IN UINT wType, DdeClientTransaction(
IN DWORD dwTimeout, OUT LPDWORD pdwResult); __in_opt LPBYTE pData,
__in DWORD cbData,
__in HCONV hConv,
__in_opt HSZ hszItem,
__in UINT wFmt,
__in UINT wType,
__in DWORD dwTimeout,
__out_opt LPDWORD pdwResult);
/* /*
*data transfer functions *data transfer functions
*/ */
HDDEDATA WINAPI DdeCreateDataHandle( IN DWORD idInst, IN LPBYTE pSrc, IN DWORD c HDDEDATA
b, WINAPI
IN DWORD cbOff, IN HSZ hszItem, IN UINT wFmt, IN UINT afCmd); DdeCreateDataHandle(
HDDEDATA WINAPI DdeAddData( IN HDDEDATA hData, IN LPBYTE pSrc, IN DWORD cb, IN D __in DWORD idInst,
WORD cbOff); __in_bcount_opt(cb) LPBYTE pSrc,
DWORD WINAPI DdeGetData( IN HDDEDATA hData, OUT LPBYTE pDst, IN DWORD cbMax, IN __in DWORD cb,
DWORD cbOff); __in DWORD cbOff,
LPBYTE WINAPI DdeAccessData( IN HDDEDATA hData, OUT LPDWORD pcbDataSize); __in_opt HSZ hszItem,
BOOL WINAPI DdeUnaccessData( IN HDDEDATA hData); __in UINT wFmt,
BOOL WINAPI DdeFreeDataHandle( IN OUT HDDEDATA hData); __in UINT afCmd);
HDDEDATA
WINAPI
DdeAddData(
__in HDDEDATA hData,
__in_bcount(cb) LPBYTE pSrc,
__in DWORD cb,
__in DWORD cbOff);
DWORD
WINAPI
DdeGetData(
__in HDDEDATA hData,
__out_bcount_opt(cbMax) LPBYTE pDst,
__in DWORD cbMax,
__in DWORD cbOff);
LPBYTE
WINAPI
DdeAccessData(
__in HDDEDATA hData,
__out_opt LPDWORD pcbDataSize);
BOOL
WINAPI
DdeUnaccessData(
__in HDDEDATA hData);
BOOL
WINAPI
DdeFreeDataHandle(
__in HDDEDATA hData);
#define HDATA_APPOWNED 0x0001 #define HDATA_APPOWNED 0x0001
UINT WINAPI DdeGetLastError( IN DWORD idInst); UINT
WINAPI
DdeGetLastError(
__in DWORD idInst);
#define DMLERR_NO_ERROR 0 /* must be 0 */ #define DMLERR_NO_ERROR 0 /* must be 0 */
#define DMLERR_FIRST 0x4000 #define DMLERR_FIRST 0x4000
#define DMLERR_ADVACKTIMEOUT 0x4000 #define DMLERR_ADVACKTIMEOUT 0x4000
#define DMLERR_BUSY 0x4001 #define DMLERR_BUSY 0x4001
#define DMLERR_DATAACKTIMEOUT 0x4002 #define DMLERR_DATAACKTIMEOUT 0x4002
#define DMLERR_DLL_NOT_INITIALIZED 0x4003 #define DMLERR_DLL_NOT_INITIALIZED 0x4003
#define DMLERR_DLL_USAGE 0x4004 #define DMLERR_DLL_USAGE 0x4004
skipping to change at line 342 skipping to change at line 460
#define DMLERR_POKEACKTIMEOUT 0x400b #define DMLERR_POKEACKTIMEOUT 0x400b
#define DMLERR_POSTMSG_FAILED 0x400c #define DMLERR_POSTMSG_FAILED 0x400c
#define DMLERR_REENTRANCY 0x400d #define DMLERR_REENTRANCY 0x400d
#define DMLERR_SERVER_DIED 0x400e #define DMLERR_SERVER_DIED 0x400e
#define DMLERR_SYS_ERROR 0x400f #define DMLERR_SYS_ERROR 0x400f
#define DMLERR_UNADVACKTIMEOUT 0x4010 #define DMLERR_UNADVACKTIMEOUT 0x4010
#define DMLERR_UNFOUND_QUEUE_ID 0x4011 #define DMLERR_UNFOUND_QUEUE_ID 0x4011
#define DMLERR_LAST 0x4011 #define DMLERR_LAST 0x4011
HSZ WINAPI DdeCreateStringHandleA( IN DWORD idInst, IN LPCSTR psz, IN int iCode HSZ
Page); WINAPI
HSZ WINAPI DdeCreateStringHandleW( IN DWORD idInst, IN LPCWSTR psz, IN int iCod DdeCreateStringHandleA(
ePage); __in DWORD idInst,
__in LPCSTR psz,
__in int iCodePage);
HSZ
WINAPI
DdeCreateStringHandleW(
__in DWORD idInst,
__in LPCWSTR psz,
__in int iCodePage);
#ifdef UNICODE #ifdef UNICODE
#define DdeCreateStringHandle DdeCreateStringHandleW #define DdeCreateStringHandle DdeCreateStringHandleW
#else #else
#define DdeCreateStringHandle DdeCreateStringHandleA #define DdeCreateStringHandle DdeCreateStringHandleA
#endif // !UNICODE #endif // !UNICODE
DWORD WINAPI DdeQueryStringA( IN DWORD idInst, IN HSZ hsz, IN OUT LPSTR psz, IN
DWORD cchMax, IN int iCodePage); DWORD
DWORD WINAPI DdeQueryStringW( IN DWORD idInst, IN HSZ hsz, IN OUT LPWSTR psz, IN WINAPI
DWORD cchMax, IN int iCodePage); DdeQueryStringA(
__in DWORD idInst,
__in HSZ hsz,
__out_ecount_opt(cchMax) LPSTR psz,
__in DWORD cchMax,
__in int iCodePage);
DWORD
WINAPI
DdeQueryStringW(
__in DWORD idInst,
__in HSZ hsz,
__out_ecount_opt(cchMax) LPWSTR psz,
__in DWORD cchMax,
__in int iCodePage);
#ifdef UNICODE #ifdef UNICODE
#define DdeQueryString DdeQueryStringW #define DdeQueryString DdeQueryStringW
#else #else
#define DdeQueryString DdeQueryStringA #define DdeQueryString DdeQueryStringA
#endif // !UNICODE #endif // !UNICODE
BOOL WINAPI DdeFreeStringHandle( IN DWORD idInst, IN OUT HSZ hsz);
BOOL WINAPI DdeKeepStringHandle( IN DWORD idInst, IN OUT HSZ hsz); BOOL
int WINAPI DdeCmpStringHandles( IN HSZ hsz1, IN HSZ hsz2); WINAPI
DdeFreeStringHandle(
__in DWORD idInst,
__in HSZ hsz);
BOOL
WINAPI
DdeKeepStringHandle(
__in DWORD idInst,
__in HSZ hsz);
int
WINAPI
DdeCmpStringHandles(
__in HSZ hsz1,
__in HSZ hsz2);
#ifndef NODDEMLSPY #ifndef NODDEMLSPY
/* /*
* DDEML public debugging header file info * DDEML public debugging header file info
*/ */
typedef struct tagDDEML_MSG_HOOK_DATA { // new for NT typedef struct tagDDEML_MSG_HOOK_DATA { // new for NT
UINT_PTR uiLo; // unpacked lo and hi parts of lParam UINT_PTR uiLo; // unpacked lo and hi parts of lParam
UINT_PTR uiHi; UINT_PTR uiHi;
DWORD cbData; // amount of data in message, if any. May be > than 32 bytes . DWORD cbData; // amount of data in message, if any. May be > than 32 bytes .
 End of changes. 19 change blocks. 
57 lines changed or deleted 204 lines changed or added


 winuser.h (5.2.3790.3959-Windows 5.0)   winuser.h (6.0.6002.18005-Windows 6.0) 
/**************************************************************************** /****************************************************************************
* * * *
* winuser.h -- USER procedure declarations, constant definitions and macros * * winuser.h -- USER procedure declarations, constant definitions and macros *
* * * *
* Copyright (c) Microsoft Corporation. All rights reserved. * * Copyright (c) Microsoft Corporation. All rights reserved. *
* * * *
****************************************************************************/ ****************************************************************************/
#ifndef _WINUSER_ #ifndef _WINUSER_
#define _WINUSER_ #define _WINUSER_
#pragma once
// //
// Define API decoration for direct importing of DLL references. // Define API decoration for direct importing of DLL references.
// //
#if !defined(_USER32_) #if !defined(_USER32_)
#define WINUSERAPI DECLSPEC_IMPORT #define WINUSERAPI DECLSPEC_IMPORT
#define WINABLEAPI DECLSPEC_IMPORT
#else #else
#define WINUSERAPI #define WINUSERAPI
#define WINABLEAPI
#endif #endif
#ifdef _MAC #ifdef _MAC
#include <macwin32.h> #include <macwin32.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
skipping to change at line 168 skipping to change at line 174
#define RT_MENU MAKEINTRESOURCE(4) #define RT_MENU MAKEINTRESOURCE(4)
#define RT_DIALOG MAKEINTRESOURCE(5) #define RT_DIALOG MAKEINTRESOURCE(5)
#define RT_STRING MAKEINTRESOURCE(6) #define RT_STRING MAKEINTRESOURCE(6)
#define RT_FONTDIR MAKEINTRESOURCE(7) #define RT_FONTDIR MAKEINTRESOURCE(7)
#define RT_FONT MAKEINTRESOURCE(8) #define RT_FONT MAKEINTRESOURCE(8)
#define RT_ACCELERATOR MAKEINTRESOURCE(9) #define RT_ACCELERATOR MAKEINTRESOURCE(9)
#define RT_RCDATA MAKEINTRESOURCE(10) #define RT_RCDATA MAKEINTRESOURCE(10)
#define RT_MESSAGETABLE MAKEINTRESOURCE(11) #define RT_MESSAGETABLE MAKEINTRESOURCE(11)
#define DIFFERENCE 11 #define DIFFERENCE 11
#define RT_GROUP_CURSOR MAKEINTRESOURCE((ULONG_PTR)RT_CURSOR + DIFFERENCE) #define RT_GROUP_CURSOR MAKEINTRESOURCE((ULONG_PTR)(RT_CURSOR) + DIFFERENCE)
#define RT_GROUP_ICON MAKEINTRESOURCE((ULONG_PTR)RT_ICON + DIFFERENCE) #define RT_GROUP_ICON MAKEINTRESOURCE((ULONG_PTR)(RT_ICON) + DIFFERENCE)
#define RT_VERSION MAKEINTRESOURCE(16) #define RT_VERSION MAKEINTRESOURCE(16)
#define RT_DLGINCLUDE MAKEINTRESOURCE(17) #define RT_DLGINCLUDE MAKEINTRESOURCE(17)
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define RT_PLUGPLAY MAKEINTRESOURCE(19) #define RT_PLUGPLAY MAKEINTRESOURCE(19)
#define RT_VXD MAKEINTRESOURCE(20) #define RT_VXD MAKEINTRESOURCE(20)
#define RT_ANICURSOR MAKEINTRESOURCE(21) #define RT_ANICURSOR MAKEINTRESOURCE(21)
#define RT_ANIICON MAKEINTRESOURCE(22) #define RT_ANIICON MAKEINTRESOURCE(22)
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#define RT_HTML MAKEINTRESOURCE(23) #define RT_HTML MAKEINTRESOURCE(23)
#ifdef RC_INVOKED #ifdef RC_INVOKED
skipping to change at line 197 skipping to change at line 203
#define RT_MANIFEST MAKEINTRESOURCE(24) #define RT_MANIFEST MAKEINTRESOURCE(24)
#define CREATEPROCESS_MANIFEST_RESOURCE_ID MAKEINTRESOURCE( 1) #define CREATEPROCESS_MANIFEST_RESOURCE_ID MAKEINTRESOURCE( 1)
#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(2) #define ISOLATIONAWARE_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(2)
#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(3) #define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(3)
#define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE( 1 /*inclusive*/) #define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE( 1 /*inclusive*/)
#define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(16 /*inclusive*/) #define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID MAKEINTRESOURCE(16 /*inclusive*/)
#endif /* RC_INVOKED */ #endif /* RC_INVOKED */
#endif /* !NORESOURCE */ #endif /* !NORESOURCE */
#if defined(DEPRECATE_SUPPORTED)
#pragma warning(push)
#pragma warning(disable:4995)
#endif
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
wvsprintfA( wvsprintfA(
__out LPSTR, __out LPSTR,
__in __format_string LPCSTR, __in __format_string LPCSTR,
__in va_list arglist); __in va_list arglist);
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
skipping to change at line 237 skipping to change at line 248
wsprintfW( wsprintfW(
__out LPWSTR, __out LPWSTR,
__in __format_string LPCWSTR, __in __format_string LPCWSTR,
...); ...);
#ifdef UNICODE #ifdef UNICODE
#define wsprintf wsprintfW #define wsprintf wsprintfW
#else #else
#define wsprintf wsprintfA #define wsprintf wsprintfA
#endif // !UNICODE #endif // !UNICODE
#if defined(DEPRECATE_SUPPORTED)
#pragma warning(pop)
#endif
/* /*
* SPI_SETDESKWALLPAPER defined constants * SPI_SETDESKWALLPAPER defined constants
*/ */
#define SETWALLPAPER_DEFAULT ((LPWSTR)-1) #define SETWALLPAPER_DEFAULT ((LPWSTR)-1)
#ifndef NOSCROLL #ifndef NOSCROLL
/* /*
* Scroll Bar Constants * Scroll Bar Constants
*/ */
skipping to change at line 778 skipping to change at line 793
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
#define HSHELL_WINDOWREPLACED 13 #define HSHELL_WINDOWREPLACED 13
#define HSHELL_WINDOWREPLACING 14 #define HSHELL_WINDOWREPLACING 14
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#define HSHELL_HIGHBIT 0x8000 #define HSHELL_HIGHBIT 0x8000
#define HSHELL_FLASH (HSHELL_REDRAW|HSHELL_HIGHBIT) #define HSHELL_FLASH (HSHELL_REDRAW|HSHELL_HIGHBIT)
#define HSHELL_RUDEAPPACTIVATED (HSHELL_WINDOWACTIVATED|HSHELL_HIGHBIT) #define HSHELL_RUDEAPPACTIVATED (HSHELL_WINDOWACTIVATED|HSHELL_HIGHBIT)
#if(_WIN32_WINNT >= 0x0500) #if(_WIN32_WINNT >= 0x0500)
/* wparam for HSHELL_ACCESSIBILITYSTATE */
#define ACCESS_STICKYKEYS 0x0001
#define ACCESS_FILTERKEYS 0x0002
#define ACCESS_MOUSEKEYS 0x0003
/* cmd for HSHELL_APPCOMMAND and WM_APPCOMMAND */ /* cmd for HSHELL_APPCOMMAND and WM_APPCOMMAND */
#define APPCOMMAND_BROWSER_BACKWARD 1 #define APPCOMMAND_BROWSER_BACKWARD 1
#define APPCOMMAND_BROWSER_FORWARD 2 #define APPCOMMAND_BROWSER_FORWARD 2
#define APPCOMMAND_BROWSER_REFRESH 3 #define APPCOMMAND_BROWSER_REFRESH 3
#define APPCOMMAND_BROWSER_STOP 4 #define APPCOMMAND_BROWSER_STOP 4
#define APPCOMMAND_BROWSER_SEARCH 5 #define APPCOMMAND_BROWSER_SEARCH 5
#define APPCOMMAND_BROWSER_FAVORITES 6 #define APPCOMMAND_BROWSER_FAVORITES 6
#define APPCOMMAND_BROWSER_HOME 7 #define APPCOMMAND_BROWSER_HOME 7
#define APPCOMMAND_VOLUME_MUTE 8 #define APPCOMMAND_VOLUME_MUTE 8
#define APPCOMMAND_VOLUME_DOWN 9 #define APPCOMMAND_VOLUME_DOWN 9
skipping to change at line 838 skipping to change at line 848
#define APPCOMMAND_MIC_ON_OFF_TOGGLE 44 #define APPCOMMAND_MIC_ON_OFF_TOGGLE 44
#define APPCOMMAND_CORRECTION_LIST 45 #define APPCOMMAND_CORRECTION_LIST 45
#define APPCOMMAND_MEDIA_PLAY 46 #define APPCOMMAND_MEDIA_PLAY 46
#define APPCOMMAND_MEDIA_PAUSE 47 #define APPCOMMAND_MEDIA_PAUSE 47
#define APPCOMMAND_MEDIA_RECORD 48 #define APPCOMMAND_MEDIA_RECORD 48
#define APPCOMMAND_MEDIA_FAST_FORWARD 49 #define APPCOMMAND_MEDIA_FAST_FORWARD 49
#define APPCOMMAND_MEDIA_REWIND 50 #define APPCOMMAND_MEDIA_REWIND 50
#define APPCOMMAND_MEDIA_CHANNEL_UP 51 #define APPCOMMAND_MEDIA_CHANNEL_UP 51
#define APPCOMMAND_MEDIA_CHANNEL_DOWN 52 #define APPCOMMAND_MEDIA_CHANNEL_DOWN 52
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#if(_WIN32_WINNT >= 0x0600)
#define APPCOMMAND_DELETE 53
#define APPCOMMAND_DWM_FLIP3D 54
#endif /* _WIN32_WINNT >= 0x0600 */
#define FAPPCOMMAND_MOUSE 0x8000 #define FAPPCOMMAND_MOUSE 0x8000
#define FAPPCOMMAND_KEY 0 #define FAPPCOMMAND_KEY 0
#define FAPPCOMMAND_OEM 0x1000 #define FAPPCOMMAND_OEM 0x1000
#define FAPPCOMMAND_MASK 0xF000 #define FAPPCOMMAND_MASK 0xF000
#define GET_APPCOMMAND_LPARAM(lParam) ((short)(HIWORD(lParam) & ~FAPPCOMMAND_MAS K)) #define GET_APPCOMMAND_LPARAM(lParam) ((short)(HIWORD(lParam) & ~FAPPCOMMAND_MAS K))
#define GET_DEVICE_LPARAM(lParam) ((WORD)(HIWORD(lParam) & FAPPCOMMAND_MASK) ) #define GET_DEVICE_LPARAM(lParam) ((WORD)(HIWORD(lParam) & FAPPCOMMAND_MASK) )
#define GET_MOUSEORKEY_LPARAM GET_DEVICE_LPARAM #define GET_MOUSEORKEY_LPARAM GET_DEVICE_LPARAM
#define GET_FLAGS_LPARAM(lParam) (LOWORD(lParam)) #define GET_FLAGS_LPARAM(lParam) (LOWORD(lParam))
skipping to change at line 1175 skipping to change at line 1189
__reserved LPDEVMODEW pDevmode, __reserved LPDEVMODEW pDevmode,
__in DWORD dwFlags, __in DWORD dwFlags,
__in ACCESS_MASK dwDesiredAccess, __in ACCESS_MASK dwDesiredAccess,
__in_opt LPSECURITY_ATTRIBUTES lpsa); __in_opt LPSECURITY_ATTRIBUTES lpsa);
#ifdef UNICODE #ifdef UNICODE
#define CreateDesktop CreateDesktopW #define CreateDesktop CreateDesktopW
#else #else
#define CreateDesktop CreateDesktopA #define CreateDesktop CreateDesktopA
#endif // !UNICODE #endif // !UNICODE
WINUSERAPI
HDESK
WINAPI
CreateDesktopExA(
__in LPCSTR lpszDesktop,
__reserved LPCSTR lpszDevice,
__reserved LPDEVMODEA pDevmode,
__in DWORD dwFlags,
__in ACCESS_MASK dwDesiredAccess,
__in_opt LPSECURITY_ATTRIBUTES lpsa,
__in ULONG ulHeapSize,
__reserved PVOID pvoid);
WINUSERAPI
HDESK
WINAPI
CreateDesktopExW(
__in LPCWSTR lpszDesktop,
__reserved LPCWSTR lpszDevice,
__reserved LPDEVMODEW pDevmode,
__in DWORD dwFlags,
__in ACCESS_MASK dwDesiredAccess,
__in_opt LPSECURITY_ATTRIBUTES lpsa,
__in ULONG ulHeapSize,
__reserved PVOID pvoid);
#ifdef UNICODE
#define CreateDesktopEx CreateDesktopExW
#else
#define CreateDesktopEx CreateDesktopExA
#endif // !UNICODE
#endif /* NOGDI */ #endif /* NOGDI */
#endif /* _WINGDI_ */ #endif /* _WINGDI_ */
WINUSERAPI WINUSERAPI
HDESK HDESK
WINAPI WINAPI
OpenDesktopA( OpenDesktopA(
__in LPCSTR lpszDesktop, __in LPCSTR lpszDesktop,
__in DWORD dwFlags, __in DWORD dwFlags,
__in BOOL fInherit, __in BOOL fInherit,
skipping to change at line 1283 skipping to change at line 1327
#define WINSTA_ENUMERATE 0x0100L #define WINSTA_ENUMERATE 0x0100L
#define WINSTA_READSCREEN 0x0200L #define WINSTA_READSCREEN 0x0200L
#define WINSTA_ALL_ACCESS (WINSTA_ENUMDESKTOPS | WINSTA_READATTRIBUTE S | WINSTA_ACCESSCLIPBOARD | \ #define WINSTA_ALL_ACCESS (WINSTA_ENUMDESKTOPS | WINSTA_READATTRIBUTE S | WINSTA_ACCESSCLIPBOARD | \
WINSTA_CREATEDESKTOP | WINSTA_WRITEATTRIBUT ES | WINSTA_ACCESSGLOBALATOMS | \ WINSTA_CREATEDESKTOP | WINSTA_WRITEATTRIBUT ES | WINSTA_ACCESSGLOBALATOMS | \
WINSTA_EXITWINDOWS | WINSTA_ENUMERATE | WINSTA_READSCREEN) WINSTA_EXITWINDOWS | WINSTA_ENUMERATE | WINSTA_READSCREEN)
/* /*
* Windowstation creation flags. * Windowstation creation flags.
*/ */
#define CWF_CREATE_ONLY 0x0001L #define CWF_CREATE_ONLY 0x00000001
/* /*
* Windowstation-specific attribute flags * Windowstation-specific attribute flags
*/ */
#define WSF_VISIBLE 0x0001L #define WSF_VISIBLE 0x0001L
WINUSERAPI WINUSERAPI
HWINSTA HWINSTA
WINAPI WINAPI
CreateWindowStationA( CreateWindowStationA(
skipping to change at line 1393 skipping to change at line 1437
__in HANDLE hObj, __in HANDLE hObj,
__in PSECURITY_INFORMATION pSIRequested, __in PSECURITY_INFORMATION pSIRequested,
__out_bcount_opt(nLength) PSECURITY_DESCRIPTOR pSID, __out_bcount_opt(nLength) PSECURITY_DESCRIPTOR pSID,
__in DWORD nLength, __in DWORD nLength,
__out LPDWORD lpnLengthNeeded); __out LPDWORD lpnLengthNeeded);
#define UOI_FLAGS 1 #define UOI_FLAGS 1
#define UOI_NAME 2 #define UOI_NAME 2
#define UOI_TYPE 3 #define UOI_TYPE 3
#define UOI_USER_SID 4 #define UOI_USER_SID 4
#if(WINVER >= 0x0600)
#define UOI_HEAPSIZE 5
#define UOI_IO 6
#endif /* WINVER >= 0x0600 */
typedef struct tagUSEROBJECTFLAGS { typedef struct tagUSEROBJECTFLAGS {
BOOL fInherit; BOOL fInherit;
BOOL fReserved; BOOL fReserved;
DWORD dwFlags; DWORD dwFlags;
} USEROBJECTFLAGS, *PUSEROBJECTFLAGS; } USEROBJECTFLAGS, *PUSEROBJECTFLAGS;
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
skipping to change at line 1749 skipping to change at line 1797
#define WM_COPYDATA 0x004A #define WM_COPYDATA 0x004A
#define WM_CANCELJOURNAL 0x004B #define WM_CANCELJOURNAL 0x004B
/* /*
* lParam of WM_COPYDATA message points to... * lParam of WM_COPYDATA message points to...
*/ */
typedef struct tagCOPYDATASTRUCT { typedef struct tagCOPYDATASTRUCT {
ULONG_PTR dwData; ULONG_PTR dwData;
DWORD cbData; DWORD cbData;
PVOID lpData; __field_bcount(cbData) PVOID lpData;
} COPYDATASTRUCT, *PCOPYDATASTRUCT; } COPYDATASTRUCT, *PCOPYDATASTRUCT;
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
typedef struct tagMDINEXTMENU typedef struct tagMDINEXTMENU
{ {
HMENU hmenuIn; HMENU hmenuIn;
HMENU hmenuNext; HMENU hmenuNext;
HWND hwndNext; HWND hwndNext;
} MDINEXTMENU, * PMDINEXTMENU, FAR * LPMDINEXTMENU; } MDINEXTMENU, * PMDINEXTMENU, FAR * LPMDINEXTMENU;
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
skipping to change at line 1811 skipping to change at line 1859
#define WM_NCMBUTTONUP 0x00A8 #define WM_NCMBUTTONUP 0x00A8
#define WM_NCMBUTTONDBLCLK 0x00A9 #define WM_NCMBUTTONDBLCLK 0x00A9
#if(_WIN32_WINNT >= 0x0500) #if(_WIN32_WINNT >= 0x0500)
#define WM_NCXBUTTONDOWN 0x00AB #define WM_NCXBUTTONDOWN 0x00AB
#define WM_NCXBUTTONUP 0x00AC #define WM_NCXBUTTONUP 0x00AC
#define WM_NCXBUTTONDBLCLK 0x00AD #define WM_NCXBUTTONDBLCLK 0x00AD
#endif /* _WIN32_WINNT >= 0x0500 */ #endif /* _WIN32_WINNT >= 0x0500 */
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
#define WM_INPUT_DEVICE_CHANGE 0x00FE
#endif /* _WIN32_WINNT >= 0x0501 */
#if(_WIN32_WINNT >= 0x0501)
#define WM_INPUT 0x00FF #define WM_INPUT 0x00FF
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#define WM_KEYFIRST 0x0100 #define WM_KEYFIRST 0x0100
#define WM_KEYDOWN 0x0100 #define WM_KEYDOWN 0x0100
#define WM_KEYUP 0x0101 #define WM_KEYUP 0x0101
#define WM_CHAR 0x0102 #define WM_CHAR 0x0102
#define WM_DEADCHAR 0x0103 #define WM_DEADCHAR 0x0103
#define WM_SYSKEYDOWN 0x0104 #define WM_SYSKEYDOWN 0x0104
#define WM_SYSKEYUP 0x0105 #define WM_SYSKEYUP 0x0105
skipping to change at line 1912 skipping to change at line 1964
#define WM_MBUTTONUP 0x0208 #define WM_MBUTTONUP 0x0208
#define WM_MBUTTONDBLCLK 0x0209 #define WM_MBUTTONDBLCLK 0x0209
#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400) #if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
#define WM_MOUSEWHEEL 0x020A #define WM_MOUSEWHEEL 0x020A
#endif #endif
#if (_WIN32_WINNT >= 0x0500) #if (_WIN32_WINNT >= 0x0500)
#define WM_XBUTTONDOWN 0x020B #define WM_XBUTTONDOWN 0x020B
#define WM_XBUTTONUP 0x020C #define WM_XBUTTONUP 0x020C
#define WM_XBUTTONDBLCLK 0x020D #define WM_XBUTTONDBLCLK 0x020D
#endif #endif
#if (_WIN32_WINNT >= 0x0500) #if (_WIN32_WINNT >= 0x0600)
#define WM_MOUSEHWHEEL 0x020E
#endif
#if (_WIN32_WINNT >= 0x0600)
#define WM_MOUSELAST 0x020E
#elif (_WIN32_WINNT >= 0x0500)
#define WM_MOUSELAST 0x020D #define WM_MOUSELAST 0x020D
#elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400) #elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
#define WM_MOUSELAST 0x020A #define WM_MOUSELAST 0x020A
#else #else
#define WM_MOUSELAST 0x0209 #define WM_MOUSELAST 0x0209
#endif /* (_WIN32_WINNT >= 0x0500) */ #endif /* (_WIN32_WINNT >= 0x0600) */
#if(_WIN32_WINNT >= 0x0400) #if(_WIN32_WINNT >= 0x0400)
/* Value for rolling one detent */ /* Value for rolling one detent */
#define WHEEL_DELTA 120 #define WHEEL_DELTA 120
#define GET_WHEEL_DELTA_WPARAM(wParam) ((short)HIWORD(wParam)) #define GET_WHEEL_DELTA_WPARAM(wParam) ((short)HIWORD(wParam))
/* Setting to scroll one page for SPI_GET/SETWHEELSCROLLLINES */ /* Setting to scroll one page for SPI_GET/SETWHEELSCROLLLINES */
#define WHEEL_PAGESCROLL (UINT_MAX) #define WHEEL_PAGESCROLL (UINT_MAX)
#endif /* _WIN32_WINNT >= 0x0400 */ #endif /* _WIN32_WINNT >= 0x0400 */
skipping to change at line 1975 skipping to change at line 2033
#define PBT_APMRESUMECRITICAL 0x0006 #define PBT_APMRESUMECRITICAL 0x0006
#define PBT_APMRESUMESUSPEND 0x0007 #define PBT_APMRESUMESUSPEND 0x0007
#define PBT_APMRESUMESTANDBY 0x0008 #define PBT_APMRESUMESTANDBY 0x0008
#define PBTF_APMRESUMEFROMFAILURE 0x00000001 #define PBTF_APMRESUMEFROMFAILURE 0x00000001
#define PBT_APMBATTERYLOW 0x0009 #define PBT_APMBATTERYLOW 0x0009
#define PBT_APMPOWERSTATUSCHANGE 0x000A #define PBT_APMPOWERSTATUSCHANGE 0x000A
#define PBT_APMOEMEVENT 0x000B #define PBT_APMOEMEVENT 0x000B
#define PBT_APMRESUMEAUTOMATIC 0x0012 #define PBT_APMRESUMEAUTOMATIC 0x0012
#if (_WIN32_WINNT >= 0x0502)
#ifndef PBT_POWERSETTINGCHANGE
#define PBT_POWERSETTINGCHANGE 0x8013
typedef struct {
GUID PowerSetting;
DWORD DataLength;
UCHAR Data[1];
} POWERBROADCAST_SETTING, *PPOWERBROADCAST_SETTING;
#endif // PBT_POWERSETTINGCHANGE
#endif // (_WIN32_WINNT >= 0x0502)
#endif #endif
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define WM_DEVICECHANGE 0x0219 #define WM_DEVICECHANGE 0x0219
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#define WM_MDICREATE 0x0220 #define WM_MDICREATE 0x0220
#define WM_MDIDESTROY 0x0221 #define WM_MDIDESTROY 0x0221
skipping to change at line 2066 skipping to change at line 2137
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#if(_WIN32_WINNT >= 0x0500) #if(_WIN32_WINNT >= 0x0500)
#define WM_APPCOMMAND 0x0319 #define WM_APPCOMMAND 0x0319
#endif /* _WIN32_WINNT >= 0x0500 */ #endif /* _WIN32_WINNT >= 0x0500 */
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
#define WM_THEMECHANGED 0x031A #define WM_THEMECHANGED 0x031A
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#if(_WIN32_WINNT >= 0x0501)
#define WM_CLIPBOARDUPDATE 0x031D
#endif /* _WIN32_WINNT >= 0x0501 */
#if(_WIN32_WINNT >= 0x0600)
#define WM_DWMCOMPOSITIONCHANGED 0x031E
#define WM_DWMNCRENDERINGCHANGED 0x031F
#define WM_DWMCOLORIZATIONCOLORCHANGED 0x0320
#define WM_DWMWINDOWMAXIMIZEDCHANGE 0x0321
#endif /* _WIN32_WINNT >= 0x0600 */
#if(WINVER >= 0x0600)
#define WM_GETTITLEBARINFOEX 0x033F
#endif /* WINVER >= 0x0600 */
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define WM_HANDHELDFIRST 0x0358 #define WM_HANDHELDFIRST 0x0358
#define WM_HANDHELDLAST 0x035F #define WM_HANDHELDLAST 0x035F
#define WM_AFXFIRST 0x0360 #define WM_AFXFIRST 0x0360
#define WM_AFXLAST 0x037F #define WM_AFXLAST 0x037F
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#define WM_PENWINFIRST 0x0380 #define WM_PENWINFIRST 0x0380
skipping to change at line 2148 skipping to change at line 2234
/* /*
* SendMessageTimeout values * SendMessageTimeout values
*/ */
#define SMTO_NORMAL 0x0000 #define SMTO_NORMAL 0x0000
#define SMTO_BLOCK 0x0001 #define SMTO_BLOCK 0x0001
#define SMTO_ABORTIFHUNG 0x0002 #define SMTO_ABORTIFHUNG 0x0002
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
#define SMTO_NOTIMEOUTIFNOTHUNG 0x0008 #define SMTO_NOTIMEOUTIFNOTHUNG 0x0008
#endif /* WINVER >= 0x0500 */ #endif /* WINVER >= 0x0500 */
#if(WINVER >= 0x0600)
#define SMTO_ERRORONEXIT 0x0020
#endif /* WINVER >= 0x0600 */
#endif /* !NONCMESSAGES */ #endif /* !NONCMESSAGES */
/* /*
* WM_MOUSEACTIVATE Return Codes * WM_MOUSEACTIVATE Return Codes
*/ */
#define MA_ACTIVATE 1 #define MA_ACTIVATE 1
#define MA_ACTIVATEANDEAT 2 #define MA_ACTIVATEANDEAT 2
#define MA_NOACTIVATE 3 #define MA_NOACTIVATE 3
#define MA_NOACTIVATEANDEAT 4 #define MA_NOACTIVATEANDEAT 4
skipping to change at line 2859 skipping to change at line 2949
return GetMessageW( return GetMessageW(
#else #else
return GetMessageA( return GetMessageA(
#endif #endif
lpMsg, lpMsg,
hWnd, hWnd,
wMsgFilterMin, wMsgFilterMin,
wMsgFilterMax wMsgFilterMax
); );
} }
#endif /* _M_CEE */ #endif /* _M_CEE */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
TranslateMessage( TranslateMessage(
__in CONST MSG *lpMsg); __in CONST MSG *lpMsg);
WINUSERAPI WINUSERAPI
LRESULT LRESULT
WINAPI WINAPI
skipping to change at line 2899 skipping to change at line 2989
) )
{ {
#ifdef UNICODE #ifdef UNICODE
return DispatchMessageW( return DispatchMessageW(
#else #else
return DispatchMessageA( return DispatchMessageA(
#endif #endif
lpMsg lpMsg
); );
} }
#endif /* _M_CEE */ #endif /* _M_CEE */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
SetMessageQueue( SetMessageQueue(
__in int cMessagesMax); __in int cMessagesMax);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
skipping to change at line 2983 skipping to change at line 3073
#endif /* LSTRING */ #endif /* LSTRING */
#ifndef LFILEIO #ifndef LFILEIO
#define NOLFILEIO #define NOLFILEIO
#endif /* LFILEIO */ #endif /* LFILEIO */
#endif /* WIN_INTERNAL */ #endif /* WIN_INTERNAL */
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define ENDSESSION_LOGOFF 0x80000000 #define ENDSESSION_LOGOFF 0x80000000
#define ENDSESSION_CRITICAL 0x40000000
#define ENDSESSION_CLOSEAPP 0x00000001
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#define EWX_LOGOFF 0 #define EWX_LOGOFF 0
#define EWX_SHUTDOWN 0x00000001 #define EWX_SHUTDOWN 0x00000001
#define EWX_REBOOT 0x00000002 #define EWX_REBOOT 0x00000002
#define EWX_FORCE 0x00000004 #define EWX_FORCE 0x00000004
#define EWX_POWEROFF 0x00000008 #define EWX_POWEROFF 0x00000008
#if(_WIN32_WINNT >= 0x0500) #if(_WIN32_WINNT >= 0x0500)
#define EWX_FORCEIFHUNG 0x00000010 #define EWX_FORCEIFHUNG 0x00000010
#endif /* _WIN32_WINNT >= 0x0500 */ #endif /* _WIN32_WINNT >= 0x0500 */
#define EWX_QUICKRESOLVE 0x00000020
#if(_WIN32_WINNT >= 0x0600)
#define EWX_RESTARTAPPS 0x00000040
#endif /* _WIN32_WINNT >= 0x0600 */
#define ExitWindows(dwReserved, Code) ExitWindowsEx(EWX_LOGOFF, 0xFFFFFFFF) #define ExitWindows(dwReserved, Code) ExitWindowsEx(EWX_LOGOFF, 0xFFFFFFFF)
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
ExitWindowsEx( ExitWindowsEx(
__in UINT uFlags, __in UINT uFlags,
__in DWORD dwReason); __in DWORD dwReason);
skipping to change at line 3087 skipping to change at line 3184
return SendMessageW( return SendMessageW(
#else #else
return SendMessageA( return SendMessageA(
#endif #endif
hWnd, hWnd,
Msg, Msg,
wParam, wParam,
lParam lParam
); );
} }
#endif /* _M_CEE */ #endif /* _M_CEE */
WINUSERAPI WINUSERAPI
LRESULT LRESULT
WINAPI WINAPI
SendMessageTimeoutA( SendMessageTimeoutA(
__in HWND hWnd, __in HWND hWnd,
__in UINT Msg, __in UINT Msg,
__in WPARAM wParam, __in WPARAM wParam,
__in LPARAM lParam, __in LPARAM lParam,
__in UINT fuFlags, __in UINT fuFlags,
skipping to change at line 3304 skipping to change at line 3401
#ifdef UNICODE #ifdef UNICODE
#define RegisterDeviceNotification RegisterDeviceNotificationW #define RegisterDeviceNotification RegisterDeviceNotificationW
#else #else
#define RegisterDeviceNotification RegisterDeviceNotificationA #define RegisterDeviceNotification RegisterDeviceNotificationA
#endif // !UNICODE #endif // !UNICODE
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
UnregisterDeviceNotification( UnregisterDeviceNotification(
__in HDEVNOTIFY Handle); __in HDEVNOTIFY Handle
);
#if (_WIN32_WINNT >= 0x0502)
typedef PVOID HPOWERNOTIFY;
typedef HPOWERNOTIFY *PHPOWERNOTIFY;
WINUSERAPI
HPOWERNOTIFY
WINAPI
RegisterPowerSettingNotification(
IN HANDLE hRecipient,
IN LPCGUID PowerSettingGuid,
IN DWORD Flags
);
WINUSERAPI
BOOL
WINAPI
UnregisterPowerSettingNotification(
IN HPOWERNOTIFY Handle
);
#endif // (_WIN32_WINNT >= 0x0502)
#endif /* WINVER >= 0x0500 */ #endif /* WINVER >= 0x0500 */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
PostMessageA( PostMessageA(
__in_opt HWND hWnd, __in_opt HWND hWnd,
__in UINT Msg, __in UINT Msg,
__in WPARAM wParam, __in WPARAM wParam,
__in LPARAM lParam); __in LPARAM lParam);
skipping to change at line 4548 skipping to change at line 4666
GetPriorityClipboardFormat( GetPriorityClipboardFormat(
__in_ecount(cFormats) UINT *paFormatPriorityList, __in_ecount(cFormats) UINT *paFormatPriorityList,
__in int cFormats); __in int cFormats);
WINUSERAPI WINUSERAPI
HWND HWND
WINAPI WINAPI
GetOpenClipboardWindow( GetOpenClipboardWindow(
VOID); VOID);
#if(WINVER >= 0x0600)
WINUSERAPI
BOOL
WINAPI
AddClipboardFormatListener(
__in HWND hwnd);
WINUSERAPI
BOOL
WINAPI
RemoveClipboardFormatListener(
__in HWND hwnd);
WINUSERAPI
BOOL
WINAPI
GetUpdatedClipboardFormats(
__out_ecount(cFormats) __notnull PUINT lpuiFormats,
__in UINT cFormats,
__out __notnull PUINT pcFormatsOut);
#endif /* WINVER >= 0x0600 */
#endif /* !NOCLIPBOARD */ #endif /* !NOCLIPBOARD */
/* /*
* Character Translation Routines * Character Translation Routines
*/ */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
CharToOemA( CharToOemA(
__in LPCSTR lpszSrc, __in_xcount(strlen(pSrc) + 1) LPCSTR pSrc,
__out LPSTR lpszDst); __out_xcount(strlen(pSrc) + 1) LPSTR pDst);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
CharToOemW( CharToOemW(
__in LPCWSTR lpszSrc, __in_xcount(strlen(pSrc) + 1) LPCWSTR pSrc,
__out LPSTR lpszDst); __out_xcount(strlen(pSrc) + 1) LPSTR pDst);
#ifdef UNICODE #ifdef UNICODE
#define CharToOem CharToOemW #define CharToOem CharToOemW
#else #else
#define CharToOem CharToOemA #define CharToOem CharToOemA
#endif // !UNICODE #endif // !UNICODE
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
OemToCharA( OemToCharA(
__in LPCSTR lpszSrc, __in_xcount(strlen(pSrc) + 1) LPCSTR pSrc,
__out LPSTR lpszDst); __out_xcount(strlen(pSrc) + 1) LPSTR pDst);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
OemToCharW( OemToCharW(
__in LPCSTR lpszSrc, __in_xcount(strlen(pSrc) + 1) LPCSTR pSrc,
__out LPWSTR lpszDst); __out_xcount(strlen(pSrc) + 1) LPWSTR pDst);
#ifdef UNICODE #ifdef UNICODE
#define OemToChar OemToCharW #define OemToChar OemToCharW
#else #else
#define OemToChar OemToCharA #define OemToChar OemToCharA
#endif // !UNICODE #endif // !UNICODE
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
CharToOemBuffA( CharToOemBuffA(
skipping to change at line 5011 skipping to change at line 5150
#define MOUSEEVENTF_MOVE 0x0001 /* mouse move */ #define MOUSEEVENTF_MOVE 0x0001 /* mouse move */
#define MOUSEEVENTF_LEFTDOWN 0x0002 /* left button down */ #define MOUSEEVENTF_LEFTDOWN 0x0002 /* left button down */
#define MOUSEEVENTF_LEFTUP 0x0004 /* left button up */ #define MOUSEEVENTF_LEFTUP 0x0004 /* left button up */
#define MOUSEEVENTF_RIGHTDOWN 0x0008 /* right button down */ #define MOUSEEVENTF_RIGHTDOWN 0x0008 /* right button down */
#define MOUSEEVENTF_RIGHTUP 0x0010 /* right button up */ #define MOUSEEVENTF_RIGHTUP 0x0010 /* right button up */
#define MOUSEEVENTF_MIDDLEDOWN 0x0020 /* middle button down */ #define MOUSEEVENTF_MIDDLEDOWN 0x0020 /* middle button down */
#define MOUSEEVENTF_MIDDLEUP 0x0040 /* middle button up */ #define MOUSEEVENTF_MIDDLEUP 0x0040 /* middle button up */
#define MOUSEEVENTF_XDOWN 0x0080 /* x button down */ #define MOUSEEVENTF_XDOWN 0x0080 /* x button down */
#define MOUSEEVENTF_XUP 0x0100 /* x button down */ #define MOUSEEVENTF_XUP 0x0100 /* x button down */
#define MOUSEEVENTF_WHEEL 0x0800 /* wheel button rolled */ #define MOUSEEVENTF_WHEEL 0x0800 /* wheel button rolled */
#if (_WIN32_WINNT >= 0x0600)
#define MOUSEEVENTF_HWHEEL 0x01000 /* hwheel button rolled */
#endif
#if(WINVER >= 0x0600)
#define MOUSEEVENTF_MOVE_NOCOALESCE 0x2000 /* do not coalesce mouse moves */
#endif /* WINVER >= 0x0600 */
#define MOUSEEVENTF_VIRTUALDESK 0x4000 /* map to entire virtual desktop */ #define MOUSEEVENTF_VIRTUALDESK 0x4000 /* map to entire virtual desktop */
#define MOUSEEVENTF_ABSOLUTE 0x8000 /* absolute move */ #define MOUSEEVENTF_ABSOLUTE 0x8000 /* absolute move */
WINUSERAPI WINUSERAPI
VOID VOID
WINAPI WINAPI
mouse_event( mouse_event(
__in DWORD dwFlags, __in DWORD dwFlags,
__in DWORD dx, __in DWORD dx,
__in DWORD dy, __in DWORD dy,
skipping to change at line 5125 skipping to change at line 5270
WINAPI WINAPI
MapVirtualKeyExW( MapVirtualKeyExW(
__in UINT uCode, __in UINT uCode,
__in UINT uMapType, __in UINT uMapType,
__in_opt HKL dwhkl); __in_opt HKL dwhkl);
#ifdef UNICODE #ifdef UNICODE
#define MapVirtualKeyEx MapVirtualKeyExW #define MapVirtualKeyEx MapVirtualKeyExW
#else #else
#define MapVirtualKeyEx MapVirtualKeyExA #define MapVirtualKeyEx MapVirtualKeyExA
#endif // !UNICODE #endif // !UNICODE
#define MAPVK_VK_TO_VSC (0)
#define MAPVK_VSC_TO_VK (1)
#define MAPVK_VK_TO_CHAR (2)
#define MAPVK_VSC_TO_VK_EX (3)
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0600)
#define MAPVK_VK_TO_VSC_EX (4)
#endif /* WINVER >= 0x0600 */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
GetInputState( GetInputState(
VOID); VOID);
WINUSERAPI WINUSERAPI
DWORD DWORD
WINAPI WINAPI
skipping to change at line 5465 skipping to change at line 5618
#define SM_CYFOCUSBORDER 84 #define SM_CYFOCUSBORDER 84
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
#define SM_TABLETPC 86 #define SM_TABLETPC 86
#define SM_MEDIACENTER 87 #define SM_MEDIACENTER 87
#define SM_STARTER 88 #define SM_STARTER 88
#define SM_SERVERR2 89 #define SM_SERVERR2 89
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#if(_WIN32_WINNT >= 0x0600)
#define SM_MOUSEHORIZONTALWHEELPRESENT 91
#define SM_CXPADDEDBORDER 92
#endif /* _WIN32_WINNT >= 0x0600 */
#if (WINVER < 0x0500) && (!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0400)) #if (WINVER < 0x0500) && (!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0400))
#define SM_CMETRICS 76 #define SM_CMETRICS 76
#elif WINVER == 0x500 #elif WINVER == 0x500
#define SM_CMETRICS 83 #define SM_CMETRICS 83
#else #elif WINVER == 0x501
#define SM_CMETRICS 90 #define SM_CMETRICS 90
#else
#define SM_CMETRICS 93
#endif #endif
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
#define SM_REMOTESESSION 0x1000 #define SM_REMOTESESSION 0x1000
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
#define SM_SHUTTINGDOWN 0x2000 #define SM_SHUTTINGDOWN 0x2000
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#if(WINVER >= 0x0501) #if(WINVER >= 0x0501)
skipping to change at line 5938 skipping to change at line 6098
{ {
UINT cbSize; UINT cbSize;
UINT fMask; UINT fMask;
UINT fType; // used if MIIM_TYPE (4.0) or MIIM_FTYPE (>4.0) UINT fType; // used if MIIM_TYPE (4.0) or MIIM_FTYPE (>4.0)
UINT fState; // used if MIIM_STATE UINT fState; // used if MIIM_STATE
UINT wID; // used if MIIM_ID UINT wID; // used if MIIM_ID
HMENU hSubMenu; // used if MIIM_SUBMENU HMENU hSubMenu; // used if MIIM_SUBMENU
HBITMAP hbmpChecked; // used if MIIM_CHECKMARKS HBITMAP hbmpChecked; // used if MIIM_CHECKMARKS
HBITMAP hbmpUnchecked; // used if MIIM_CHECKMARKS HBITMAP hbmpUnchecked; // used if MIIM_CHECKMARKS
ULONG_PTR dwItemData; // used if MIIM_DATA ULONG_PTR dwItemData; // used if MIIM_DATA
LPSTR dwTypeData; // used if MIIM_TYPE (4.0) or MIIM_STRING (>4.0) __field_ecount_opt(cch) LPSTR dwTypeData; // used if MIIM_TYPE (4.0) o r MIIM_STRING (>4.0)
UINT cch; // used if MIIM_TYPE (4.0) or MIIM_STRING (>4.0) UINT cch; // used if MIIM_TYPE (4.0) or MIIM_STRING (>4.0)
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
HBITMAP hbmpItem; // used if MIIM_BITMAP HBITMAP hbmpItem; // used if MIIM_BITMAP
#endif /* WINVER >= 0x0500 */ #endif /* WINVER >= 0x0500 */
} MENUITEMINFOA, FAR *LPMENUITEMINFOA; } MENUITEMINFOA, FAR *LPMENUITEMINFOA;
typedef struct tagMENUITEMINFOW typedef struct tagMENUITEMINFOW
{ {
UINT cbSize; UINT cbSize;
UINT fMask; UINT fMask;
UINT fType; // used if MIIM_TYPE (4.0) or MIIM_FTYPE (>4.0) UINT fType; // used if MIIM_TYPE (4.0) or MIIM_FTYPE (>4.0)
UINT fState; // used if MIIM_STATE UINT fState; // used if MIIM_STATE
UINT wID; // used if MIIM_ID UINT wID; // used if MIIM_ID
HMENU hSubMenu; // used if MIIM_SUBMENU HMENU hSubMenu; // used if MIIM_SUBMENU
HBITMAP hbmpChecked; // used if MIIM_CHECKMARKS HBITMAP hbmpChecked; // used if MIIM_CHECKMARKS
HBITMAP hbmpUnchecked; // used if MIIM_CHECKMARKS HBITMAP hbmpUnchecked; // used if MIIM_CHECKMARKS
ULONG_PTR dwItemData; // used if MIIM_DATA ULONG_PTR dwItemData; // used if MIIM_DATA
LPWSTR dwTypeData; // used if MIIM_TYPE (4.0) or MIIM_STRING (>4.0) __field_ecount_opt(cch) LPWSTR dwTypeData; // used if MIIM_TYPE (4.0) o r MIIM_STRING (>4.0)
UINT cch; // used if MIIM_TYPE (4.0) or MIIM_STRING (>4.0) UINT cch; // used if MIIM_TYPE (4.0) or MIIM_STRING (>4.0)
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
HBITMAP hbmpItem; // used if MIIM_BITMAP HBITMAP hbmpItem; // used if MIIM_BITMAP
#endif /* WINVER >= 0x0500 */ #endif /* WINVER >= 0x0500 */
} MENUITEMINFOW, FAR *LPMENUITEMINFOW; } MENUITEMINFOW, FAR *LPMENUITEMINFOW;
#ifdef UNICODE #ifdef UNICODE
typedef MENUITEMINFOW MENUITEMINFO; typedef MENUITEMINFOW MENUITEMINFO;
typedef LPMENUITEMINFOW LPMENUITEMINFO; typedef LPMENUITEMINFOW LPMENUITEMINFO;
#else #else
typedef MENUITEMINFOA MENUITEMINFO; typedef MENUITEMINFOA MENUITEMINFO;
skipping to change at line 6216 skipping to change at line 6376
int iRightMargin; int iRightMargin;
UINT uiLengthDrawn; UINT uiLengthDrawn;
} DRAWTEXTPARAMS, FAR *LPDRAWTEXTPARAMS; } DRAWTEXTPARAMS, FAR *LPDRAWTEXTPARAMS;
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
DrawTextA( DrawTextA(
__in HDC hdc, __in HDC hdc,
__inout_ecount(cchText) LPCSTR lpchText, __inout_ecount_opt(cchText) LPCSTR lpchText,
__in int cchText, __in int cchText,
__inout LPRECT lprc, __inout LPRECT lprc,
__in UINT format); __in UINT format);
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
DrawTextW( DrawTextW(
__in HDC hdc, __in HDC hdc,
__inout_ecount(cchText) LPCWSTR lpchText, __inout_ecount_opt(cchText) LPCWSTR lpchText,
__in int cchText, __in int cchText,
__inout LPRECT lprc, __inout LPRECT lprc,
__in UINT format); __in UINT format);
#ifdef UNICODE #ifdef UNICODE
#define DrawText DrawTextW #define DrawText DrawTextW
#else #else
#define DrawText DrawTextA #define DrawText DrawTextA
#endif // !UNICODE #endif // !UNICODE
#if defined(_M_CEE) #if defined(_M_CEE)
skipping to change at line 6253 skipping to change at line 6413
LPRECT lprc, LPRECT lprc,
UINT format UINT format
) )
{ {
#ifdef UNICODE #ifdef UNICODE
return DrawTextW( return DrawTextW(
#else #else
return DrawTextA( return DrawTextA(
#endif #endif
hdc, hdc,
lpchText, lpchText,
cchText, cchText,
lprc, lprc,
format format
); );
} }
#endif /* _M_CEE */ #endif /* _M_CEE */
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
DrawTextExA( DrawTextExA(
__in HDC hdc, __in HDC hdc,
__inout_ecount(cchText) LPSTR lpchText, __inout_ecount_opt(cchText) LPSTR lpchText,
__in int cchText, __in int cchText,
__inout LPRECT lprc, __inout LPRECT lprc,
__in UINT format, __in UINT format,
__in_opt LPDRAWTEXTPARAMS lpdtp); __in_opt LPDRAWTEXTPARAMS lpdtp);
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
DrawTextExW( DrawTextExW(
__in HDC hdc, __in HDC hdc,
__inout_ecount(cchText) LPWSTR lpchText, __inout_ecount_opt(cchText) LPWSTR lpchText,
__in int cchText, __in int cchText,
__inout LPRECT lprc, __inout LPRECT lprc,
__in UINT format, __in UINT format,
__in_opt LPDRAWTEXTPARAMS lpdtp); __in_opt LPDRAWTEXTPARAMS lpdtp);
#ifdef UNICODE #ifdef UNICODE
#define DrawTextEx DrawTextExW #define DrawTextEx DrawTextExW
#else #else
#define DrawTextEx DrawTextExA #define DrawTextEx DrawTextExA
#endif // !UNICODE #endif // !UNICODE
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
skipping to change at line 6528 skipping to change at line 6688
#define DCX_CLIPSIBLINGS 0x00000010L #define DCX_CLIPSIBLINGS 0x00000010L
#define DCX_PARENTCLIP 0x00000020L #define DCX_PARENTCLIP 0x00000020L
#define DCX_EXCLUDERGN 0x00000040L #define DCX_EXCLUDERGN 0x00000040L
#define DCX_INTERSECTRGN 0x00000080L #define DCX_INTERSECTRGN 0x00000080L
#define DCX_EXCLUDEUPDATE 0x00000100L #define DCX_EXCLUDEUPDATE 0x00000100L
#define DCX_INTERSECTUPDATE 0x00000200L #define DCX_INTERSECTUPDATE 0x00000200L
#define DCX_LOCKWINDOWUPDATE 0x00000400L #define DCX_LOCKWINDOWUPDATE 0x00000400L
#define DCX_VALIDATE 0x00200000L #define DCX_VALIDATE 0x00200000L
#if(WINVER >= 0x0600)
#define MONITORS_MAX 10
#endif /* WINVER >= 0x0600 */
WINUSERAPI WINUSERAPI
HDC HDC
WINAPI WINAPI
GetWindowDC( GetWindowDC(
__in_opt HWND hWnd); __in_opt HWND hWnd);
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
ReleaseDC( ReleaseDC(
skipping to change at line 7113 skipping to change at line 7277
LPCTSTR lpCaption, LPCTSTR lpCaption,
UINT uType UINT uType
) )
{ {
#ifdef UNICODE #ifdef UNICODE
return MessageBoxW( return MessageBoxW(
#else #else
return MessageBoxA( return MessageBoxA(
#endif #endif
hWnd, hWnd,
lpText, lpText,
lpCaption, lpCaption,
uType uType
); );
} }
#endif /* _M_CEE */ #endif /* _M_CEE */
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
MessageBoxExA( MessageBoxExA(
__in_opt HWND hWnd, __in_opt HWND hWnd,
__in_opt LPCSTR lpText, __in_opt LPCSTR lpText,
__in_opt LPCSTR lpCaption, __in_opt LPCSTR lpCaption,
__in UINT uType, __in UINT uType,
__in WORD wLanguageId); __in WORD wLanguageId);
skipping to change at line 7223 skipping to change at line 7387
__in BOOL bShow); __in BOOL bShow);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
SetCursorPos( SetCursorPos(
__in int X, __in int X,
__in int Y); __in int Y);
WINUSERAPI WINUSERAPI
BOOL
WINAPI
SetPhysicalCursorPos(
__in int X,
__in int Y);
WINUSERAPI
HCURSOR HCURSOR
WINAPI WINAPI
SetCursor( SetCursor(
__in_opt HCURSOR hCursor); __in_opt HCURSOR hCursor);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
GetCursorPos( GetCursorPos(
__out LPPOINT lpPoint); __out LPPOINT lpPoint);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
GetPhysicalCursorPos(
__out LPPOINT lpPoint);
WINUSERAPI
BOOL
WINAPI
ClipCursor( ClipCursor(
__in_opt CONST RECT *lpRect); __in_opt CONST RECT *lpRect);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
GetClipCursor( GetClipCursor(
__out LPRECT lpRect); __out LPRECT lpRect);
WINUSERAPI WINUSERAPI
skipping to change at line 7318 skipping to change at line 7495
__in HWND hWnd, __in HWND hWnd,
__inout LPPOINT lpPoint); __inout LPPOINT lpPoint);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
ScreenToClient( ScreenToClient(
__in HWND hWnd, __in HWND hWnd,
__inout LPPOINT lpPoint); __inout LPPOINT lpPoint);
#if(WINVER >= 0x0600)
WINUSERAPI
BOOL
WINAPI
LogicalToPhysicalPoint(
__in HWND hWnd,
__inout LPPOINT lpPoint);
WINUSERAPI
BOOL
WINAPI
PhysicalToLogicalPoint(
__in HWND hWnd,
__inout LPPOINT lpPoint);
#endif /* WINVER >= 0x0600 */
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
MapWindowPoints( MapWindowPoints(
__in_opt HWND hWndFrom, __in_opt HWND hWndFrom,
__in_opt HWND hWndTo, __in_opt HWND hWndTo,
__inout_ecount(cPoints) LPPOINT lpPoints, __inout_ecount(cPoints) LPPOINT lpPoints,
__in UINT cPoints); __in UINT cPoints);
WINUSERAPI WINUSERAPI
HWND HWND
WINAPI WINAPI
WindowFromPoint( WindowFromPoint(
__in POINT Point); __in POINT Point);
#if(WINVER >= 0x0600)
WINUSERAPI
HWND
WINAPI
WindowFromPhysicalPoint(
__in POINT Point);
#endif /* WINVER >= 0x0600 */
WINUSERAPI WINUSERAPI
HWND HWND
WINAPI WINAPI
ChildWindowFromPoint( ChildWindowFromPoint(
__in HWND hWndParent, __in HWND hWndParent,
__in POINT Point); __in POINT Point);
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define CWP_ALL 0x0000 #define CWP_ALL 0x0000
#define CWP_SKIPINVISIBLE 0x0001 #define CWP_SKIPINVISIBLE 0x0001
skipping to change at line 7942 skipping to change at line 8144
LPTSTR lpClassName, LPTSTR lpClassName,
int nMaxCount int nMaxCount
) )
{ {
#ifdef UNICODE #ifdef UNICODE
return GetClassNameW( return GetClassNameW(
#else #else
return GetClassNameA( return GetClassNameA(
#endif #endif
hWnd, hWnd,
lpClassName, lpClassName,
nMaxCount nMaxCount
); );
} }
#endif /* _M_CEE */ #endif /* _M_CEE */
WINUSERAPI WINUSERAPI
HWND HWND
WINAPI WINAPI
GetTopWindow( GetTopWindow(
__in_opt HWND hWnd); __in_opt HWND hWnd);
#define GetNextWindow(hWnd, wCmd) GetWindow(hWnd, wCmd) #define GetNextWindow(hWnd, wCmd) GetWindow(hWnd, wCmd)
#define GetSysModalWindow() (NULL) #define GetSysModalWindow() (NULL)
#define SetSysModalWindow(hWnd) (NULL) #define SetSysModalWindow(hWnd) (NULL)
skipping to change at line 8236 skipping to change at line 8438
#define SC_TASKLIST 0xF130 #define SC_TASKLIST 0xF130
#define SC_SCREENSAVE 0xF140 #define SC_SCREENSAVE 0xF140
#define SC_HOTKEY 0xF150 #define SC_HOTKEY 0xF150
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define SC_DEFAULT 0xF160 #define SC_DEFAULT 0xF160
#define SC_MONITORPOWER 0xF170 #define SC_MONITORPOWER 0xF170
#define SC_CONTEXTHELP 0xF180 #define SC_CONTEXTHELP 0xF180
#define SC_SEPARATOR 0xF00F #define SC_SEPARATOR 0xF00F
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0600)
#define SCF_ISSECURE 0x00000001
#endif /* WINVER >= 0x0600 */
/* /*
* Obsolete names * Obsolete names
*/ */
#define SC_ICON SC_MINIMIZE #define SC_ICON SC_MINIMIZE
#define SC_ZOOM SC_MAXIMIZE #define SC_ZOOM SC_MAXIMIZE
#endif /* !NOSYSCOMMANDS */ #endif /* !NOSYSCOMMANDS */
/* /*
* Resource Loading Routines * Resource Loading Routines
skipping to change at line 8494 skipping to change at line 8700
BYTE BitsPixel; BYTE BitsPixel;
} CURSORSHAPE, FAR *LPCURSORSHAPE; } CURSORSHAPE, FAR *LPCURSORSHAPE;
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#define IMAGE_BITMAP 0 #define IMAGE_BITMAP 0
#define IMAGE_ICON 1 #define IMAGE_ICON 1
#define IMAGE_CURSOR 2 #define IMAGE_CURSOR 2
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define IMAGE_ENHMETAFILE 3 #define IMAGE_ENHMETAFILE 3
#define LR_DEFAULTCOLOR 0x0000 #define LR_DEFAULTCOLOR 0x00000000
#define LR_MONOCHROME 0x0001 #define LR_MONOCHROME 0x00000001
#define LR_COLOR 0x0002 #define LR_COLOR 0x00000002
#define LR_COPYRETURNORG 0x0004 #define LR_COPYRETURNORG 0x00000004
#define LR_COPYDELETEORG 0x0008 #define LR_COPYDELETEORG 0x00000008
#define LR_LOADFROMFILE 0x0010 #define LR_LOADFROMFILE 0x00000010
#define LR_LOADTRANSPARENT 0x0020 #define LR_LOADTRANSPARENT 0x00000020
#define LR_DEFAULTSIZE 0x0040 #define LR_DEFAULTSIZE 0x00000040
#define LR_VGACOLOR 0x0080 #define LR_VGACOLOR 0x00000080
#define LR_LOADMAP3DCOLORS 0x1000 #define LR_LOADMAP3DCOLORS 0x00001000
#define LR_CREATEDIBSECTION 0x2000 #define LR_CREATEDIBSECTION 0x00002000
#define LR_COPYFROMRESOURCE 0x4000 #define LR_COPYFROMRESOURCE 0x00004000
#define LR_SHARED 0x8000 #define LR_SHARED 0x00008000
WINUSERAPI WINUSERAPI
HANDLE HANDLE
WINAPI WINAPI
LoadImageA( LoadImageA(
__in_opt HINSTANCE hInst, __in_opt HINSTANCE hInst,
__in LPCSTR name, __in LPCSTR name,
__in UINT type, __in UINT type,
__in int cx, __in int cx,
__in int cy, __in int cy,
skipping to change at line 8585 skipping to change at line 8791
CopyIcon( CopyIcon(
__in HICON hIcon); __in HICON hIcon);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
GetIconInfo( GetIconInfo(
__in HICON hIcon, __in HICON hIcon,
__out PICONINFO piconinfo); __out PICONINFO piconinfo);
#if(_WIN32_WINNT >= 0x0600)
typedef struct _ICONINFOEXA {
DWORD cbSize;
BOOL fIcon;
DWORD xHotspot;
DWORD yHotspot;
HBITMAP hbmMask;
HBITMAP hbmColor;
WORD wResID;
CHAR szModName[MAX_PATH];
CHAR szResName[MAX_PATH];
} ICONINFOEXA, *PICONINFOEXA;
typedef struct _ICONINFOEXW {
DWORD cbSize;
BOOL fIcon;
DWORD xHotspot;
DWORD yHotspot;
HBITMAP hbmMask;
HBITMAP hbmColor;
WORD wResID;
WCHAR szModName[MAX_PATH];
WCHAR szResName[MAX_PATH];
} ICONINFOEXW, *PICONINFOEXW;
#ifdef UNICODE
typedef ICONINFOEXW ICONINFOEX;
typedef PICONINFOEXW PICONINFOEX;
#else
typedef ICONINFOEXA ICONINFOEX;
typedef PICONINFOEXA PICONINFOEX;
#endif // UNICODE
WINUSERAPI
BOOL
WINAPI
GetIconInfoExA(
__in HICON hicon,
__inout PICONINFOEXA piconinfo);
WINUSERAPI
BOOL
WINAPI
GetIconInfoExW(
__in HICON hicon,
__inout PICONINFOEXW piconinfo);
#ifdef UNICODE
#define GetIconInfoEx GetIconInfoExW
#else
#define GetIconInfoEx GetIconInfoExA
#endif // !UNICODE
#endif /* _WIN32_WINNT >= 0x0600 */
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define RES_ICON 1 #define RES_ICON 1
#define RES_CURSOR 2 #define RES_CURSOR 2
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#ifdef OEMRESOURCE #ifdef OEMRESOURCE
/* /*
* OEM Resource Ordinal Numbers * OEM Resource Ordinal Numbers
*/ */
skipping to change at line 8663 skipping to change at line 8919
#define OIC_HAND 32513 #define OIC_HAND 32513
#define OIC_QUES 32514 #define OIC_QUES 32514
#define OIC_BANG 32515 #define OIC_BANG 32515
#define OIC_NOTE 32516 #define OIC_NOTE 32516
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define OIC_WINLOGO 32517 #define OIC_WINLOGO 32517
#define OIC_WARNING OIC_BANG #define OIC_WARNING OIC_BANG
#define OIC_ERROR OIC_HAND #define OIC_ERROR OIC_HAND
#define OIC_INFORMATION OIC_NOTE #define OIC_INFORMATION OIC_NOTE
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0600)
#define OIC_SHIELD 32518
#endif /* WINVER >= 0x0600 */
#endif /* OEMRESOURCE */ #endif /* OEMRESOURCE */
#define ORD_LANGDRIVER 1 /* The ordinal number for the entry point of #define ORD_LANGDRIVER 1 /* The ordinal number for the entry point of
** language drivers. ** language drivers.
*/ */
#ifndef NOICONS #ifndef NOICONS
/* /*
skipping to change at line 8684 skipping to change at line 8943
*/ */
#ifdef RC_INVOKED #ifdef RC_INVOKED
#define IDI_APPLICATION 32512 #define IDI_APPLICATION 32512
#define IDI_HAND 32513 #define IDI_HAND 32513
#define IDI_QUESTION 32514 #define IDI_QUESTION 32514
#define IDI_EXCLAMATION 32515 #define IDI_EXCLAMATION 32515
#define IDI_ASTERISK 32516 #define IDI_ASTERISK 32516
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define IDI_WINLOGO 32517 #define IDI_WINLOGO 32517
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0600)
#define IDI_SHIELD 32518
#endif /* WINVER >= 0x0600 */
#else #else
#define IDI_APPLICATION MAKEINTRESOURCE(32512) #define IDI_APPLICATION MAKEINTRESOURCE(32512)
#define IDI_HAND MAKEINTRESOURCE(32513) #define IDI_HAND MAKEINTRESOURCE(32513)
#define IDI_QUESTION MAKEINTRESOURCE(32514) #define IDI_QUESTION MAKEINTRESOURCE(32514)
#define IDI_EXCLAMATION MAKEINTRESOURCE(32515) #define IDI_EXCLAMATION MAKEINTRESOURCE(32515)
#define IDI_ASTERISK MAKEINTRESOURCE(32516) #define IDI_ASTERISK MAKEINTRESOURCE(32516)
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define IDI_WINLOGO MAKEINTRESOURCE(32517) #define IDI_WINLOGO MAKEINTRESOURCE(32517)
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0600)
#define IDI_SHIELD MAKEINTRESOURCE(32518)
#endif /* WINVER >= 0x0600 */
#endif /* RC_INVOKED */ #endif /* RC_INVOKED */
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define IDI_WARNING IDI_EXCLAMATION #define IDI_WARNING IDI_EXCLAMATION
#define IDI_ERROR IDI_HAND #define IDI_ERROR IDI_HAND
#define IDI_INFORMATION IDI_ASTERISK #define IDI_INFORMATION IDI_ASTERISK
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
#endif /* !NOICONS */ #endif /* !NOICONS */
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
LoadStringA( LoadStringA(
__in_opt HINSTANCE hInstance, __in_opt HINSTANCE hInstance,
__in UINT uID, __in UINT uID,
__out_ecount(cchBufferMax) LPSTR lpBuffer, __out_ecount_part(cchBufferMax, return + 1) LPSTR lpBuffer,
__in int cchBufferMax); __in int cchBufferMax);
WINUSERAPI WINUSERAPI
int int
WINAPI WINAPI
LoadStringW( LoadStringW(
__in_opt HINSTANCE hInstance, __in_opt HINSTANCE hInstance,
__in UINT uID, __in UINT uID,
__out_ecount(cchBufferMax) LPWSTR lpBuffer, __out_ecount_part(cchBufferMax, return + 1) LPWSTR lpBuffer,
__in int cchBufferMax); __in int cchBufferMax);
#ifdef UNICODE #ifdef UNICODE
#define LoadString LoadStringW #define LoadString LoadStringW
#else #else
#define LoadString LoadStringA #define LoadString LoadStringA
#endif // !UNICODE #endif // !UNICODE
/* /*
* Dialog Box Command IDs * Dialog Box Command IDs
*/ */
skipping to change at line 8937 skipping to change at line 9202
*/ */
#define BM_GETCHECK 0x00F0 #define BM_GETCHECK 0x00F0
#define BM_SETCHECK 0x00F1 #define BM_SETCHECK 0x00F1
#define BM_GETSTATE 0x00F2 #define BM_GETSTATE 0x00F2
#define BM_SETSTATE 0x00F3 #define BM_SETSTATE 0x00F3
#define BM_SETSTYLE 0x00F4 #define BM_SETSTYLE 0x00F4
#if(WINVER >= 0x0400) #if(WINVER >= 0x0400)
#define BM_CLICK 0x00F5 #define BM_CLICK 0x00F5
#define BM_GETIMAGE 0x00F6 #define BM_GETIMAGE 0x00F6
#define BM_SETIMAGE 0x00F7 #define BM_SETIMAGE 0x00F7
#endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0600)
#define BM_SETDONTCLICK 0x00F8
#endif /* WINVER >= 0x0600 */
#if(WINVER >= 0x0400)
#define BST_UNCHECKED 0x0000 #define BST_UNCHECKED 0x0000
#define BST_CHECKED 0x0001 #define BST_CHECKED 0x0001
#define BST_INDETERMINATE 0x0002 #define BST_INDETERMINATE 0x0002
#define BST_PUSHED 0x0004 #define BST_PUSHED 0x0004
#define BST_FOCUS 0x0008 #define BST_FOCUS 0x0008
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
/* /*
* Static Control Constants * Static Control Constants
*/ */
skipping to change at line 9962 skipping to change at line 10232
#define SPI_SETMOUSEHOVERWIDTH 0x0063 #define SPI_SETMOUSEHOVERWIDTH 0x0063
#define SPI_GETMOUSEHOVERHEIGHT 0x0064 #define SPI_GETMOUSEHOVERHEIGHT 0x0064
#define SPI_SETMOUSEHOVERHEIGHT 0x0065 #define SPI_SETMOUSEHOVERHEIGHT 0x0065
#define SPI_GETMOUSEHOVERTIME 0x0066 #define SPI_GETMOUSEHOVERTIME 0x0066
#define SPI_SETMOUSEHOVERTIME 0x0067 #define SPI_SETMOUSEHOVERTIME 0x0067
#define SPI_GETWHEELSCROLLLINES 0x0068 #define SPI_GETWHEELSCROLLLINES 0x0068
#define SPI_SETWHEELSCROLLLINES 0x0069 #define SPI_SETWHEELSCROLLLINES 0x0069
#define SPI_GETMENUSHOWDELAY 0x006A #define SPI_GETMENUSHOWDELAY 0x006A
#define SPI_SETMENUSHOWDELAY 0x006B #define SPI_SETMENUSHOWDELAY 0x006B
#if (_WIN32_WINNT >= 0x0600)
#define SPI_GETWHEELSCROLLCHARS 0x006C
#define SPI_SETWHEELSCROLLCHARS 0x006D
#endif
#define SPI_GETSHOWIMEUI 0x006E #define SPI_GETSHOWIMEUI 0x006E
#define SPI_SETSHOWIMEUI 0x006F #define SPI_SETSHOWIMEUI 0x006F
#endif #endif
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
#define SPI_GETMOUSESPEED 0x0070 #define SPI_GETMOUSESPEED 0x0070
#define SPI_SETMOUSESPEED 0x0071 #define SPI_SETMOUSESPEED 0x0071
#define SPI_GETSCREENSAVERRUNNING 0x0072 #define SPI_GETSCREENSAVERRUNNING 0x0072
#define SPI_GETDESKWALLPAPER 0x0073 #define SPI_GETDESKWALLPAPER 0x0073
#endif /* WINVER >= 0x0500 */ #endif /* WINVER >= 0x0500 */
#if(WINVER >= 0x0600)
#define SPI_GETAUDIODESCRIPTION 0x0074
#define SPI_SETAUDIODESCRIPTION 0x0075
#define SPI_GETSCREENSAVESECURE 0x0076
#define SPI_SETSCREENSAVESECURE 0x0077
#endif /* WINVER >= 0x0600 */
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
#define SPI_GETACTIVEWINDOWTRACKING 0x1000 #define SPI_GETACTIVEWINDOWTRACKING 0x1000
#define SPI_SETACTIVEWINDOWTRACKING 0x1001 #define SPI_SETACTIVEWINDOWTRACKING 0x1001
#define SPI_GETMENUANIMATION 0x1002 #define SPI_GETMENUANIMATION 0x1002
#define SPI_SETMENUANIMATION 0x1003 #define SPI_SETMENUANIMATION 0x1003
#define SPI_GETCOMBOBOXANIMATION 0x1004 #define SPI_GETCOMBOBOXANIMATION 0x1004
#define SPI_SETCOMBOBOXANIMATION 0x1005 #define SPI_SETCOMBOBOXANIMATION 0x1005
#define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006 #define SPI_GETLISTBOXSMOOTHSCROLLING 0x1006
#define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007 #define SPI_SETLISTBOXSMOOTHSCROLLING 0x1007
#define SPI_GETGRADIENTCAPTIONS 0x1008 #define SPI_GETGRADIENTCAPTIONS 0x1008
skipping to change at line 10016 skipping to change at line 10299
#define SPI_SETMOUSECLICKLOCK 0x101F #define SPI_SETMOUSECLICKLOCK 0x101F
#define SPI_GETMOUSEVANISH 0x1020 #define SPI_GETMOUSEVANISH 0x1020
#define SPI_SETMOUSEVANISH 0x1021 #define SPI_SETMOUSEVANISH 0x1021
#define SPI_GETFLATMENU 0x1022 #define SPI_GETFLATMENU 0x1022
#define SPI_SETFLATMENU 0x1023 #define SPI_SETFLATMENU 0x1023
#define SPI_GETDROPSHADOW 0x1024 #define SPI_GETDROPSHADOW 0x1024
#define SPI_SETDROPSHADOW 0x1025 #define SPI_SETDROPSHADOW 0x1025
#define SPI_GETBLOCKSENDINPUTRESETS 0x1026 #define SPI_GETBLOCKSENDINPUTRESETS 0x1026
#define SPI_SETBLOCKSENDINPUTRESETS 0x1027 #define SPI_SETBLOCKSENDINPUTRESETS 0x1027
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#define SPI_GETUIEFFECTS 0x103E #define SPI_GETUIEFFECTS 0x103E
#define SPI_SETUIEFFECTS 0x103F #define SPI_SETUIEFFECTS 0x103F
#if(_WIN32_WINNT >= 0x0600)
#define SPI_GETDISABLEOVERLAPPEDCONTENT 0x1040
#define SPI_SETDISABLEOVERLAPPEDCONTENT 0x1041
#define SPI_GETCLIENTAREAANIMATION 0x1042
#define SPI_SETCLIENTAREAANIMATION 0x1043
#define SPI_GETCLEARTYPE 0x1048
#define SPI_SETCLEARTYPE 0x1049
#define SPI_GETSPEECHRECOGNITION 0x104A
#define SPI_SETSPEECHRECOGNITION 0x104B
#endif /* _WIN32_WINNT >= 0x0600 */
#define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000 #define SPI_GETFOREGROUNDLOCKTIMEOUT 0x2000
#define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001 #define SPI_SETFOREGROUNDLOCKTIMEOUT 0x2001
#define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002 #define SPI_GETACTIVEWNDTRKTIMEOUT 0x2002
#define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003 #define SPI_SETACTIVEWNDTRKTIMEOUT 0x2003
#define SPI_GETFOREGROUNDFLASHCOUNT 0x2004 #define SPI_GETFOREGROUNDFLASHCOUNT 0x2004
#define SPI_SETFOREGROUNDFLASHCOUNT 0x2005 #define SPI_SETFOREGROUNDFLASHCOUNT 0x2005
#define SPI_GETCARETWIDTH 0x2006 #define SPI_GETCARETWIDTH 0x2006
#define SPI_SETCARETWIDTH 0x2007 #define SPI_SETCARETWIDTH 0x2007
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
skipping to change at line 10055 skipping to change at line 10350
#define SPI_SETFOCUSBORDERHEIGHT 0x2011 #define SPI_SETFOCUSBORDERHEIGHT 0x2011
#define SPI_GETFONTSMOOTHINGORIENTATION 0x2012 #define SPI_GETFONTSMOOTHINGORIENTATION 0x2012
#define SPI_SETFONTSMOOTHINGORIENTATION 0x2013 #define SPI_SETFONTSMOOTHINGORIENTATION 0x2013
/* constants for SPI_GETFONTSMOOTHINGORIENTATION and SPI_SETFONTSMOOTHINGORIENTA TION: */ /* constants for SPI_GETFONTSMOOTHINGORIENTATION and SPI_SETFONTSMOOTHINGORIENTA TION: */
#define FE_FONTSMOOTHINGORIENTATIONBGR 0x0000 #define FE_FONTSMOOTHINGORIENTATIONBGR 0x0000
#define FE_FONTSMOOTHINGORIENTATIONRGB 0x0001 #define FE_FONTSMOOTHINGORIENTATIONRGB 0x0001
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#if(_WIN32_WINNT >= 0x0600)
#define SPI_GETMINIMUMHITRADIUS 0x2014
#define SPI_SETMINIMUMHITRADIUS 0x2015
#define SPI_GETMESSAGEDURATION 0x2016
#define SPI_SETMESSAGEDURATION 0x2017
#endif /* _WIN32_WINNT >= 0x0600 */
#endif /* WINVER >= 0x0500 */ #endif /* WINVER >= 0x0500 */
/* /*
* Flags * Flags
*/ */
#define SPIF_UPDATEINIFILE 0x0001 #define SPIF_UPDATEINIFILE 0x0001
#define SPIF_SENDWININICHANGE 0x0002 #define SPIF_SENDWININICHANGE 0x0002
#define SPIF_SENDCHANGE SPIF_SENDWININICHANGE #define SPIF_SENDCHANGE SPIF_SENDWININICHANGE
#define METRICS_USEDEFAULT -1 #define METRICS_USEDEFAULT -1
skipping to change at line 10084 skipping to change at line 10386
int iCaptionHeight; int iCaptionHeight;
LOGFONTA lfCaptionFont; LOGFONTA lfCaptionFont;
int iSmCaptionWidth; int iSmCaptionWidth;
int iSmCaptionHeight; int iSmCaptionHeight;
LOGFONTA lfSmCaptionFont; LOGFONTA lfSmCaptionFont;
int iMenuWidth; int iMenuWidth;
int iMenuHeight; int iMenuHeight;
LOGFONTA lfMenuFont; LOGFONTA lfMenuFont;
LOGFONTA lfStatusFont; LOGFONTA lfStatusFont;
LOGFONTA lfMessageFont; LOGFONTA lfMessageFont;
#if(WINVER >= 0x0600)
int iPaddedBorderWidth;
#endif /* WINVER >= 0x0600 */
} NONCLIENTMETRICSA, *PNONCLIENTMETRICSA, FAR* LPNONCLIENTMETRICSA; } NONCLIENTMETRICSA, *PNONCLIENTMETRICSA, FAR* LPNONCLIENTMETRICSA;
typedef struct tagNONCLIENTMETRICSW typedef struct tagNONCLIENTMETRICSW
{ {
UINT cbSize; UINT cbSize;
int iBorderWidth; int iBorderWidth;
int iScrollWidth; int iScrollWidth;
int iScrollHeight; int iScrollHeight;
int iCaptionWidth; int iCaptionWidth;
int iCaptionHeight; int iCaptionHeight;
LOGFONTW lfCaptionFont; LOGFONTW lfCaptionFont;
int iSmCaptionWidth; int iSmCaptionWidth;
int iSmCaptionHeight; int iSmCaptionHeight;
LOGFONTW lfSmCaptionFont; LOGFONTW lfSmCaptionFont;
int iMenuWidth; int iMenuWidth;
int iMenuHeight; int iMenuHeight;
LOGFONTW lfMenuFont; LOGFONTW lfMenuFont;
LOGFONTW lfStatusFont; LOGFONTW lfStatusFont;
LOGFONTW lfMessageFont; LOGFONTW lfMessageFont;
#if(WINVER >= 0x0600)
int iPaddedBorderWidth;
#endif /* WINVER >= 0x0600 */
} NONCLIENTMETRICSW, *PNONCLIENTMETRICSW, FAR* LPNONCLIENTMETRICSW; } NONCLIENTMETRICSW, *PNONCLIENTMETRICSW, FAR* LPNONCLIENTMETRICSW;
#ifdef UNICODE #ifdef UNICODE
typedef NONCLIENTMETRICSW NONCLIENTMETRICS; typedef NONCLIENTMETRICSW NONCLIENTMETRICS;
typedef PNONCLIENTMETRICSW PNONCLIENTMETRICS; typedef PNONCLIENTMETRICSW PNONCLIENTMETRICS;
typedef LPNONCLIENTMETRICSW LPNONCLIENTMETRICS; typedef LPNONCLIENTMETRICSW LPNONCLIENTMETRICS;
#else #else
typedef NONCLIENTMETRICSA NONCLIENTMETRICS; typedef NONCLIENTMETRICSA NONCLIENTMETRICS;
typedef PNONCLIENTMETRICSA PNONCLIENTMETRICS; typedef PNONCLIENTMETRICSA PNONCLIENTMETRICS;
typedef LPNONCLIENTMETRICSA LPNONCLIENTMETRICS; typedef LPNONCLIENTMETRICSA LPNONCLIENTMETRICS;
#endif // UNICODE #endif // UNICODE
skipping to change at line 10239 skipping to change at line 10547
#define HCF_AVAILABLE 0x00000002 #define HCF_AVAILABLE 0x00000002
#define HCF_HOTKEYACTIVE 0x00000004 #define HCF_HOTKEYACTIVE 0x00000004
#define HCF_CONFIRMHOTKEY 0x00000008 #define HCF_CONFIRMHOTKEY 0x00000008
#define HCF_HOTKEYSOUND 0x00000010 #define HCF_HOTKEYSOUND 0x00000010
#define HCF_INDICATOR 0x00000020 #define HCF_INDICATOR 0x00000020
#define HCF_HOTKEYAVAILABLE 0x00000040 #define HCF_HOTKEYAVAILABLE 0x00000040
#define HCF_LOGONDESKTOP 0x00000100 #define HCF_LOGONDESKTOP 0x00000100
#define HCF_DEFAULTDESKTOP 0x00000200 #define HCF_DEFAULTDESKTOP 0x00000200
/* Flags for ChangeDisplaySettings */ /* Flags for ChangeDisplaySettings */
#define CDS_UPDATEREGISTRY 0x00000001 #define CDS_UPDATEREGISTRY 0x00000001
#define CDS_TEST 0x00000002 #define CDS_TEST 0x00000002
#define CDS_FULLSCREEN 0x00000004 #define CDS_FULLSCREEN 0x00000004
#define CDS_GLOBAL 0x00000008 #define CDS_GLOBAL 0x00000008
#define CDS_SET_PRIMARY 0x00000010 #define CDS_SET_PRIMARY 0x00000010
#define CDS_VIDEOPARAMETERS 0x00000020 #define CDS_VIDEOPARAMETERS 0x00000020
#define CDS_RESET 0x40000000 #if(WINVER >= 0x0600)
#define CDS_NORESET 0x10000000 #define CDS_ENABLE_UNSAFE_MODES 0x00000100
#define CDS_DISABLE_UNSAFE_MODES 0x00000200
#endif /* WINVER >= 0x0600 */
#define CDS_RESET 0x40000000
#define CDS_NORESET 0x10000000
#include <tvout.h> #include <tvout.h>
/* Return values for ChangeDisplaySettings */ /* Return values for ChangeDisplaySettings */
#define DISP_CHANGE_SUCCESSFUL 0 #define DISP_CHANGE_SUCCESSFUL 0
#define DISP_CHANGE_RESTART 1 #define DISP_CHANGE_RESTART 1
#define DISP_CHANGE_FAILED -1 #define DISP_CHANGE_FAILED -1
#define DISP_CHANGE_BADMODE -2 #define DISP_CHANGE_BADMODE -2
#define DISP_CHANGE_NOTUPDATED -3 #define DISP_CHANGE_NOTUPDATED -3
#define DISP_CHANGE_BADFLAGS -4 #define DISP_CHANGE_BADFLAGS -4
skipping to change at line 10316 skipping to change at line 10628
#define ENUM_CURRENT_SETTINGS ((DWORD)-1) #define ENUM_CURRENT_SETTINGS ((DWORD)-1)
#define ENUM_REGISTRY_SETTINGS ((DWORD)-2) #define ENUM_REGISTRY_SETTINGS ((DWORD)-2)
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
EnumDisplaySettingsA( EnumDisplaySettingsA(
__in_opt LPCSTR lpszDeviceName, __in_opt LPCSTR lpszDeviceName,
__in DWORD iModeNum, __in DWORD iModeNum,
__out LPDEVMODEA lpDevMode); __inout LPDEVMODEA lpDevMode);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
EnumDisplaySettingsW( EnumDisplaySettingsW(
__in_opt LPCWSTR lpszDeviceName, __in_opt LPCWSTR lpszDeviceName,
__in DWORD iModeNum, __in DWORD iModeNum,
__out LPDEVMODEW lpDevMode); __inout LPDEVMODEW lpDevMode);
#ifdef UNICODE #ifdef UNICODE
#define EnumDisplaySettings EnumDisplaySettingsW #define EnumDisplaySettings EnumDisplaySettingsW
#else #else
#define EnumDisplaySettings EnumDisplaySettingsA #define EnumDisplaySettings EnumDisplaySettingsA
#endif // !UNICODE #endif // !UNICODE
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
EnumDisplaySettingsExA( EnumDisplaySettingsExA(
__in_opt LPCSTR lpszDeviceName, __in_opt LPCSTR lpszDeviceName,
__in DWORD iModeNum, __in DWORD iModeNum,
__out LPDEVMODEA lpDevMode, __inout LPDEVMODEA lpDevMode,
__in DWORD dwFlags); __in DWORD dwFlags);
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
EnumDisplaySettingsExW( EnumDisplaySettingsExW(
__in_opt LPCWSTR lpszDeviceName, __in_opt LPCWSTR lpszDeviceName,
__in DWORD iModeNum, __in DWORD iModeNum,
__out LPDEVMODEW lpDevMode, __inout LPDEVMODEW lpDevMode,
__in DWORD dwFlags); __in DWORD dwFlags);
#ifdef UNICODE #ifdef UNICODE
#define EnumDisplaySettingsEx EnumDisplaySettingsExW #define EnumDisplaySettingsEx EnumDisplaySettingsExW
#else #else
#define EnumDisplaySettingsEx EnumDisplaySettingsExA #define EnumDisplaySettingsEx EnumDisplaySettingsExA
#endif // !UNICODE #endif // !UNICODE
/* Flags for EnumDisplaySettingsEx */ /* Flags for EnumDisplaySettingsEx */
#define EDS_RAWMODE 0x00000002 #define EDS_RAWMODE 0x00000002
#define EDS_ROTATEDMODE 0x00000004
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
EnumDisplayDevicesA( EnumDisplayDevicesA(
__in_opt LPCSTR lpDevice, __in_opt LPCSTR lpDevice,
__in DWORD iDevNum, __in DWORD iDevNum,
__inout PDISPLAY_DEVICEA lpDisplayDevice, __inout PDISPLAY_DEVICEA lpDisplayDevice,
__in DWORD dwFlags); __in DWORD dwFlags);
WINUSERAPI WINUSERAPI
skipping to change at line 10378 skipping to change at line 10691
EnumDisplayDevicesW( EnumDisplayDevicesW(
__in_opt LPCWSTR lpDevice, __in_opt LPCWSTR lpDevice,
__in DWORD iDevNum, __in DWORD iDevNum,
__inout PDISPLAY_DEVICEW lpDisplayDevice, __inout PDISPLAY_DEVICEW lpDisplayDevice,
__in DWORD dwFlags); __in DWORD dwFlags);
#ifdef UNICODE #ifdef UNICODE
#define EnumDisplayDevices EnumDisplayDevicesW #define EnumDisplayDevices EnumDisplayDevicesW
#else #else
#define EnumDisplayDevices EnumDisplayDevicesA #define EnumDisplayDevices EnumDisplayDevicesA
#endif // !UNICODE #endif // !UNICODE
/* Flags for EnumDisplayDevices */
#define EDD_GET_DEVICE_INTERFACE_NAME 0x00000001
#endif /* WINVER >= 0x0500 */ #endif /* WINVER >= 0x0500 */
#endif /* NOGDI */ #endif /* NOGDI */
#endif /* _WINGDI_ */ #endif /* _WINGDI_ */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
SystemParametersInfoA( SystemParametersInfoA(
__in UINT uiAction, __in UINT uiAction,
skipping to change at line 10573 skipping to change at line 10889
typedef LPSOUNDSENTRYA LPSOUNDSENTRY; typedef LPSOUNDSENTRYA LPSOUNDSENTRY;
#endif // UNICODE #endif // UNICODE
/* /*
* SOUNDSENTRY dwFlags field * SOUNDSENTRY dwFlags field
*/ */
#define SSF_SOUNDSENTRYON 0x00000001 #define SSF_SOUNDSENTRYON 0x00000001
#define SSF_AVAILABLE 0x00000002 #define SSF_AVAILABLE 0x00000002
#define SSF_INDICATOR 0x00000004 #define SSF_INDICATOR 0x00000004
#if(_WIN32_WINNT >= 0x0600)
WINUSERAPI
BOOL
WINAPI
SoundSentry(VOID);
#endif /* _WIN32_WINNT >= 0x0600 */
typedef struct tagTOGGLEKEYS typedef struct tagTOGGLEKEYS
{ {
UINT cbSize; UINT cbSize;
DWORD dwFlags; DWORD dwFlags;
} TOGGLEKEYS, *LPTOGGLEKEYS; } TOGGLEKEYS, *LPTOGGLEKEYS;
/* /*
* TOGGLEKEYS dwFlags field * TOGGLEKEYS dwFlags field
*/ */
#define TKF_TOGGLEKEYSON 0x00000001 #define TKF_TOGGLEKEYSON 0x00000001
#define TKF_AVAILABLE 0x00000002 #define TKF_AVAILABLE 0x00000002
#define TKF_HOTKEYACTIVE 0x00000004 #define TKF_HOTKEYACTIVE 0x00000004
#define TKF_CONFIRMHOTKEY 0x00000008 #define TKF_CONFIRMHOTKEY 0x00000008
#define TKF_HOTKEYSOUND 0x00000010 #define TKF_HOTKEYSOUND 0x00000010
#define TKF_INDICATOR 0x00000020 #define TKF_INDICATOR 0x00000020
#if(_WIN32_WINNT >= 0x0600)
typedef struct tagAUDIODESCRIPTION {
UINT cbSize; // sizeof(AudioDescriptionType)
BOOL Enabled; // On/Off
LCID Locale; // locale ID for language
} AUDIODESCRIPTION, *LPAUDIODESCRIPTION;
#endif /* _WIN32_WINNT >= 0x0600 */
/* /*
* Set debug level * Set debug level
*/ */
WINUSERAPI WINUSERAPI
VOID VOID
WINAPI WINAPI
SetDebugErrorLevel( SetDebugErrorLevel(
__in DWORD dwLevel); __in DWORD dwLevel);
skipping to change at line 10632 skipping to change at line 10963
#if defined(WINNT) #if defined(WINNT)
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
EndTask( EndTask(
__in HWND hWnd, __in HWND hWnd,
__in BOOL fShutDown, __in BOOL fShutDown,
__in BOOL fForce); __in BOOL fForce);
#endif #endif
WINUSERAPI
BOOL
WINAPI
CancelShutdown(
VOID);
#if(WINVER >= 0x0500) #if(WINVER >= 0x0500)
/* /*
* Multimonitor API. * Multimonitor API.
*/ */
#define MONITOR_DEFAULTTONULL 0x00000000 #define MONITOR_DEFAULTTONULL 0x00000000
#define MONITOR_DEFAULTTOPRIMARY 0x00000001 #define MONITOR_DEFAULTTOPRIMARY 0x00000001
#define MONITOR_DEFAULTTONEAREST 0x00000002 #define MONITOR_DEFAULTTONEAREST 0x00000002
skipping to change at line 11001 skipping to change at line 11338
#define EVENT_SYSTEM_SWITCHEND 0x0015 #define EVENT_SYSTEM_SWITCHEND 0x0015
/* /*
* EVENT_SYSTEM_MINIMIZESTART * EVENT_SYSTEM_MINIMIZESTART
* EVENT_SYSTEM_MINIMIZEEND * EVENT_SYSTEM_MINIMIZEEND
* Sent when a window minimizes and just before it restores. * Sent when a window minimizes and just before it restores.
*/ */
#define EVENT_SYSTEM_MINIMIZESTART 0x0016 #define EVENT_SYSTEM_MINIMIZESTART 0x0016
#define EVENT_SYSTEM_MINIMIZEEND 0x0017 #define EVENT_SYSTEM_MINIMIZEEND 0x0017
#if(_WIN32_WINNT >= 0x0600)
#define EVENT_SYSTEM_DESKTOPSWITCH 0x0020
#endif /* _WIN32_WINNT >= 0x0600 */
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
#define EVENT_CONSOLE_CARET 0x4001 #define EVENT_CONSOLE_CARET 0x4001
#define EVENT_CONSOLE_UPDATE_REGION 0x4002 #define EVENT_CONSOLE_UPDATE_REGION 0x4002
#define EVENT_CONSOLE_UPDATE_SIMPLE 0x4003 #define EVENT_CONSOLE_UPDATE_SIMPLE 0x4003
#define EVENT_CONSOLE_UPDATE_SCROLL 0x4004 #define EVENT_CONSOLE_UPDATE_SCROLL 0x4004
#define EVENT_CONSOLE_LAYOUT 0x4005 #define EVENT_CONSOLE_LAYOUT 0x4005
#define EVENT_CONSOLE_START_APPLICATION 0x4006 #define EVENT_CONSOLE_START_APPLICATION 0x4006
#define EVENT_CONSOLE_END_APPLICATION 0x4007 #define EVENT_CONSOLE_END_APPLICATION 0x4007
/* /*
* Flags for EVENT_CONSOLE_START/END_APPLICATION. * Flags for EVENT_CONSOLE_START/END_APPLICATION.
*/ */
#if defined(_WIN64)
#define CONSOLE_APPLICATION_16BIT 0x0000
#else
#define CONSOLE_APPLICATION_16BIT 0x0001 #define CONSOLE_APPLICATION_16BIT 0x0001
#endif
/* /*
* Flags for EVENT_CONSOLE_CARET * Flags for EVENT_CONSOLE_CARET
*/ */
#define CONSOLE_CARET_SELECTION 0x0001 #define CONSOLE_CARET_SELECTION 0x0001
#define CONSOLE_CARET_VISIBLE 0x0002 #define CONSOLE_CARET_VISIBLE 0x0002
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
/* /*
* Object events * Object events
skipping to change at line 11197 skipping to change at line 11542
*/ */
#define EVENT_OBJECT_NAMECHANGE 0x800C // hwnd + ID + idChild is it em w/ name change #define EVENT_OBJECT_NAMECHANGE 0x800C // hwnd + ID + idChild is it em w/ name change
#define EVENT_OBJECT_DESCRIPTIONCHANGE 0x800D // hwnd + ID + idChild is it em w/ desc change #define EVENT_OBJECT_DESCRIPTIONCHANGE 0x800D // hwnd + ID + idChild is it em w/ desc change
#define EVENT_OBJECT_VALUECHANGE 0x800E // hwnd + ID + idChild is it em w/ value change #define EVENT_OBJECT_VALUECHANGE 0x800E // hwnd + ID + idChild is it em w/ value change
#define EVENT_OBJECT_PARENTCHANGE 0x800F // hwnd + ID + idChild is it em w/ new parent #define EVENT_OBJECT_PARENTCHANGE 0x800F // hwnd + ID + idChild is it em w/ new parent
#define EVENT_OBJECT_HELPCHANGE 0x8010 // hwnd + ID + idChild is it em w/ help change #define EVENT_OBJECT_HELPCHANGE 0x8010 // hwnd + ID + idChild is it em w/ help change
#define EVENT_OBJECT_DEFACTIONCHANGE 0x8011 // hwnd + ID + idChild is it em w/ def action change #define EVENT_OBJECT_DEFACTIONCHANGE 0x8011 // hwnd + ID + idChild is it em w/ def action change
#define EVENT_OBJECT_ACCELERATORCHANGE 0x8012 // hwnd + ID + idChild is it em w/ keybd accel change #define EVENT_OBJECT_ACCELERATORCHANGE 0x8012 // hwnd + ID + idChild is it em w/ keybd accel change
#if(_WIN32_WINNT >= 0x0600)
#define EVENT_OBJECT_INVOKED 0x8013 // hwnd + ID + idChild is it
em invoked
#define EVENT_OBJECT_TEXTSELECTIONCHANGED 0x8014 // hwnd + ID + idChild is it
em w? test selection change
/*
* EVENT_OBJECT_CONTENTSCROLLED
* Sent when ending the scrolling of a window object.
*
* Unlike the similar event (EVENT_SYSTEM_SCROLLEND), this event will be
* associated with the scrolling window itself. There is no difference
* between horizontal or vertical scrolling.
*
* This event should be posted whenever scroll action is completed, including
* when it is scrolled by scroll bars, mouse wheel, or keyboard navigations.
*
* example:
* hwnd == window that is scrolling
* idObject == OBJID_CLIENT
* idChild == CHILDID_SELF
*/
#define EVENT_OBJECT_CONTENTSCROLLED 0x8015
#endif /* _WIN32_WINNT >= 0x0600 */
/* /*
* Child IDs * Child IDs
*/ */
/* /*
* System Sounds (idChild of system SOUND notification) * System Sounds (idChild of system SOUND notification)
*/ */
#define SOUND_SYSTEM_STARTUP 1 #define SOUND_SYSTEM_STARTUP 1
#define SOUND_SYSTEM_SHUTDOWN 2 #define SOUND_SYSTEM_SHUTDOWN 2
#define SOUND_SYSTEM_BEEP 3 #define SOUND_SYSTEM_BEEP 3
skipping to change at line 11251 skipping to change at line 11619
HWND hwndCaret; HWND hwndCaret;
RECT rcCaret; RECT rcCaret;
} GUITHREADINFO, *PGUITHREADINFO, FAR * LPGUITHREADINFO; } GUITHREADINFO, *PGUITHREADINFO, FAR * LPGUITHREADINFO;
#define GUI_CARETBLINKING 0x00000001 #define GUI_CARETBLINKING 0x00000001
#define GUI_INMOVESIZE 0x00000002 #define GUI_INMOVESIZE 0x00000002
#define GUI_INMENUMODE 0x00000004 #define GUI_INMENUMODE 0x00000004
#define GUI_SYSTEMMENUMODE 0x00000008 #define GUI_SYSTEMMENUMODE 0x00000008
#define GUI_POPUPMENUMODE 0x00000010 #define GUI_POPUPMENUMODE 0x00000010
#if(_WIN32_WINNT >= 0x0501) #if(_WIN32_WINNT >= 0x0501)
#if defined(_WIN64)
#define GUI_16BITTASK 0x00000000
#else
#define GUI_16BITTASK 0x00000020 #define GUI_16BITTASK 0x00000020
#endif
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
GetGUIThreadInfo( GetGUIThreadInfo(
__in DWORD idThread, __in DWORD idThread,
__inout PGUITHREADINFO pgui); __inout PGUITHREADINFO pgui);
WINUSERAPI WINUSERAPI
BOOL
WINAPI
BlockInput(
BOOL fBlockIt);
#if(_WIN32_WINNT >= 0x0600)
#define USER_DEFAULT_SCREEN_DPI 96
WINUSERAPI
BOOL
WINAPI
SetProcessDPIAware(
VOID);
WINUSERAPI
BOOL
WINAPI
IsProcessDPIAware(
VOID);
#endif /* _WIN32_WINNT >= 0x0600 */
WINUSERAPI
UINT UINT
WINAPI WINAPI
GetWindowModuleFileNameA( GetWindowModuleFileNameA(
__in HWND hwnd, __in HWND hwnd,
__out_ecount_part(cchFileNameMax, return) LPSTR pszFileName, __out_ecount_part(cchFileNameMax, return) LPSTR pszFileName,
__in UINT cchFileNameMax); __in UINT cchFileNameMax);
WINUSERAPI WINUSERAPI
UINT UINT
WINAPI WINAPI
GetWindowModuleFileNameW( GetWindowModuleFileNameW(
skipping to change at line 11379 skipping to change at line 11774
DWORD cbSize; DWORD cbSize;
RECT rcTitleBar; RECT rcTitleBar;
DWORD rgstate[CCHILDREN_TITLEBAR + 1]; DWORD rgstate[CCHILDREN_TITLEBAR + 1];
} TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO; } TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO;
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
GetTitleBarInfo( GetTitleBarInfo(
__in HWND hwnd, __in HWND hwnd,
__inout PTITLEBARINFO pti); __deref_out PTITLEBARINFO pti);
#if(WINVER >= 0x0600)
typedef struct tagTITLEBARINFOEX
{
DWORD cbSize;
RECT rcTitleBar;
DWORD rgstate[CCHILDREN_TITLEBAR + 1];
RECT rgrect[CCHILDREN_TITLEBAR + 1];
} TITLEBARINFOEX, *PTITLEBARINFOEX, *LPTITLEBARINFOEX;
#endif /* WINVER >= 0x0600 */
/* /*
* Menubar information * Menubar information
*/ */
typedef struct tagMENUBARINFO typedef struct tagMENUBARINFO
{ {
DWORD cbSize; DWORD cbSize;
RECT rcBar; // rect of bar, popup, item RECT rcBar; // rect of bar, popup, item
HMENU hMenu; // real menu handle of bar, popup HMENU hMenu; // real menu handle of bar, popup
HWND hwndMenu; // hwnd of item submenu if one HWND hwndMenu; // hwnd of item submenu if one
skipping to change at line 11699 skipping to change at line 12104
*/ */
#define RI_MOUSE_WHEEL 0x0400 #define RI_MOUSE_WHEEL 0x0400
/* /*
* Define the mouse indicator flags. * Define the mouse indicator flags.
*/ */
#define MOUSE_MOVE_RELATIVE 0 #define MOUSE_MOVE_RELATIVE 0
#define MOUSE_MOVE_ABSOLUTE 1 #define MOUSE_MOVE_ABSOLUTE 1
#define MOUSE_VIRTUAL_DESKTOP 0x02 // the coordinates are mapped to the virt ual desktop #define MOUSE_VIRTUAL_DESKTOP 0x02 // the coordinates are mapped to the virt ual desktop
#define MOUSE_ATTRIBUTES_CHANGED 0x04 // requery for mouse attributes #define MOUSE_ATTRIBUTES_CHANGED 0x04 // requery for mouse attributes
#if(WINVER >= 0x0600)
#define MOUSE_MOVE_NOCOALESCE 0x08 // do not coalesce mouse moves
#endif /* WINVER >= 0x0600 */
/* /*
* Raw format of the keyboard input * Raw format of the keyboard input
*/ */
typedef struct tagRAWKEYBOARD { typedef struct tagRAWKEYBOARD {
/* /*
* The "make" scan code (key depression). * The "make" scan code (key depression).
*/ */
USHORT MakeCode; USHORT MakeCode;
skipping to change at line 11803 skipping to change at line 12211
* Raw Input Device Information * Raw Input Device Information
*/ */
#define RIDI_PREPARSEDDATA 0x20000005 #define RIDI_PREPARSEDDATA 0x20000005
#define RIDI_DEVICENAME 0x20000007 // the return valus is the character length, not the byte size #define RIDI_DEVICENAME 0x20000007 // the return valus is the character length, not the byte size
#define RIDI_DEVICEINFO 0x2000000b #define RIDI_DEVICEINFO 0x2000000b
typedef struct tagRID_DEVICE_INFO_MOUSE { typedef struct tagRID_DEVICE_INFO_MOUSE {
DWORD dwId; DWORD dwId;
DWORD dwNumberOfButtons; DWORD dwNumberOfButtons;
DWORD dwSampleRate; DWORD dwSampleRate;
BOOL fHasHorizontalWheel;
} RID_DEVICE_INFO_MOUSE, *PRID_DEVICE_INFO_MOUSE; } RID_DEVICE_INFO_MOUSE, *PRID_DEVICE_INFO_MOUSE;
typedef struct tagRID_DEVICE_INFO_KEYBOARD { typedef struct tagRID_DEVICE_INFO_KEYBOARD {
DWORD dwType; DWORD dwType;
DWORD dwSubType; DWORD dwSubType;
DWORD dwKeyboardMode; DWORD dwKeyboardMode;
DWORD dwNumberOfFunctionKeys; DWORD dwNumberOfFunctionKeys;
DWORD dwNumberOfIndicators; DWORD dwNumberOfIndicators;
DWORD dwNumberOfKeysTotal; DWORD dwNumberOfKeysTotal;
} RID_DEVICE_INFO_KEYBOARD, *PRID_DEVICE_INFO_KEYBOARD; } RID_DEVICE_INFO_KEYBOARD, *PRID_DEVICE_INFO_KEYBOARD;
skipping to change at line 11889 skipping to change at line 12298
typedef CONST RAWINPUTDEVICE* PCRAWINPUTDEVICE; typedef CONST RAWINPUTDEVICE* PCRAWINPUTDEVICE;
#define RIDEV_REMOVE 0x00000001 #define RIDEV_REMOVE 0x00000001
#define RIDEV_EXCLUDE 0x00000010 #define RIDEV_EXCLUDE 0x00000010
#define RIDEV_PAGEONLY 0x00000020 #define RIDEV_PAGEONLY 0x00000020
#define RIDEV_NOLEGACY 0x00000030 #define RIDEV_NOLEGACY 0x00000030
#define RIDEV_INPUTSINK 0x00000100 #define RIDEV_INPUTSINK 0x00000100
#define RIDEV_CAPTUREMOUSE 0x00000200 // effective when mouse nolegacy is specified, otherwise it would be an error #define RIDEV_CAPTUREMOUSE 0x00000200 // effective when mouse nolegacy is specified, otherwise it would be an error
#define RIDEV_NOHOTKEYS 0x00000200 // effective for keyboard. #define RIDEV_NOHOTKEYS 0x00000200 // effective for keyboard.
#define RIDEV_APPKEYS 0x00000400 // effective for keyboard. #define RIDEV_APPKEYS 0x00000400 // effective for keyboard.
#if(_WIN32_WINNT >= 0x0501)
#define RIDEV_EXINPUTSINK 0x00001000
#define RIDEV_DEVNOTIFY 0x00002000
#endif /* _WIN32_WINNT >= 0x0501 */
#define RIDEV_EXMODEMASK 0x000000F0 #define RIDEV_EXMODEMASK 0x000000F0
#define RIDEV_EXMODE(mode) ((mode) & RIDEV_EXMODEMASK) #define RIDEV_EXMODE(mode) ((mode) & RIDEV_EXMODEMASK)
#if(_WIN32_WINNT >= 0x0501)
/*
* Flags for the WM_INPUT_DEVICE_CHANGE message.
*/
#define GIDC_ARRIVAL 1
#define GIDC_REMOVAL 2
#define GET_DEVICE_CHANGE_LPARAM(lParam) (LOWORD(lParam))
#endif /* _WIN32_WINNT >= 0x0501 */
WINUSERAPI WINUSERAPI
BOOL BOOL
WINAPI WINAPI
RegisterRawInputDevices( RegisterRawInputDevices(
__in_ecount(uiNumDevices) PCRAWINPUTDEVICE pRawInputDevices, __in_ecount(uiNumDevices) PCRAWINPUTDEVICE pRawInputDevices,
__in UINT uiNumDevices, __in UINT uiNumDevices,
__in UINT cbSize); __in UINT cbSize);
WINUSERAPI WINUSERAPI
UINT UINT
skipping to change at line 11932 skipping to change at line 12354
WINUSERAPI WINUSERAPI
LRESULT LRESULT
WINAPI WINAPI
DefRawInputProc( DefRawInputProc(
__in_ecount(nInput) PRAWINPUT* paRawInput, __in_ecount(nInput) PRAWINPUT* paRawInput,
__in INT nInput, __in INT nInput,
__in UINT cbSizeHeader); __in UINT cbSizeHeader);
#endif /* _WIN32_WINNT >= 0x0501 */ #endif /* _WIN32_WINNT >= 0x0501 */
#if(WINVER >= 0x0600)
#define MSGFLT_ADD 1
#define MSGFLT_REMOVE 2
WINUSERAPI
BOOL
WINAPI
ChangeWindowMessageFilter(
__in UINT message,
__in DWORD dwFlag);
#endif /* WINVER >= 0x0600 */
#define MAX_STR_BLOCKREASON 256
WINUSERAPI
BOOL
WINAPI
ShutdownBlockReasonCreate(
__in HWND hWnd,
__in LPCWSTR pwszReason);
WINUSERAPI
BOOL
WINAPI
ShutdownBlockReasonQuery(
__in HWND hWnd,
__out_ecount_opt(*pcchBuff) LPWSTR pwszBuff,
__inout DWORD *pcchBuff);
WINUSERAPI
BOOL
WINAPI
ShutdownBlockReasonDestroy(
__in HWND hWnd);
#if !defined(RC_INVOKED) /* RC complains about long symbols in #ifs */ #if !defined(RC_INVOKED) /* RC complains about long symbols in #ifs */
#if defined(ISOLATION_AWARE_ENABLED) && (ISOLATION_AWARE_ENABLED != 0) #if defined(ISOLATION_AWARE_ENABLED) && (ISOLATION_AWARE_ENABLED != 0)
#include "winuser.inl" #include "winuser.inl"
#endif /* ISOLATION_AWARE_ENABLED */ #endif /* ISOLATION_AWARE_ENABLED */
#endif /* RC */ #endif /* RC */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
 End of changes. 95 change blocks. 
71 lines changed or deleted 528 lines changed or added

This html diff was produced by rfcdiff 1.41.