diff --git a/include/dde.h b/include/dde.h index 508c1eaa905..976c457cd4f 100644 --- a/include/dde.h +++ b/include/dde.h @@ -65,7 +65,7 @@ typedef struct BYTE Value[1]; /* undetermined array */ } DDEPOKE; -WINUSERAPI BOOL WINAPI DdeSetQualityOfService(HWND,CONST SECURITY_QUALITY_OF_SERVICE *,PSECURITY_QUALITY_OF_SERVICE); +WINUSERAPI BOOL WINAPI DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE *,PSECURITY_QUALITY_OF_SERVICE); WINUSERAPI BOOL WINAPI FreeDDElParam(UINT,LPARAM); WINUSERAPI BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND); WINUSERAPI LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR); diff --git a/include/ddk/imm.h b/include/ddk/imm.h index bc9617e8874..51685d51041 100644 --- a/include/ddk/imm.h +++ b/include/ddk/imm.h @@ -154,10 +154,10 @@ BOOL WINAPI ImeConfigure (HKL, HWND, DWORD, LPVOID); DWORD WINAPI ImeConversionList(HIMC, LPCWSTR, LPCANDIDATELIST,DWORD,UINT); BOOL WINAPI ImeDestroy(UINT); LRESULT WINAPI ImeEscape(HIMC, UINT, LPVOID); -BOOL WINAPI ImeProcessKey(HIMC, UINT, LPARAM, CONST LPBYTE); +BOOL WINAPI ImeProcessKey(HIMC, UINT, LPARAM, const LPBYTE); BOOL WINAPI ImeSelect(HIMC, BOOL); BOOL WINAPI ImeSetActiveContext(HIMC, BOOL); -UINT WINAPI ImeToAsciiEx(UINT, UINT, CONST LPBYTE, LPDWORD, UINT, HIMC); +UINT WINAPI ImeToAsciiEx(UINT, UINT, const LPBYTE, LPDWORD, UINT, HIMC); BOOL WINAPI NotifyIME(HIMC, DWORD, DWORD, DWORD); BOOL WINAPI ImeRegisterWord(LPCWSTR, DWORD, LPCWSTR); BOOL WINAPI ImeUnregisterWord(LPCWSTR, DWORD, LPCWSTR); diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index 4869a3c8a44..29b24e72994 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -899,7 +899,7 @@ typedef struct _IO_STACK_LOCATION { DEVICE_RELATION_TYPE Type; } QueryDeviceRelations; struct { - CONST GUID *InterfaceType; + const GUID *InterfaceType; USHORT Size; USHORT Version; PINTERFACE Interface; @@ -1209,7 +1209,7 @@ void WINAPI IoDeleteDriver(DRIVER_OBJECT*); NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*); void WINAPI IoFreeIrp(IRP*); PEPROCESS WINAPI IoGetCurrentProcess(void); -NTSTATUS WINAPI IoGetDeviceInterfaces(CONST GUID*,PDEVICE_OBJECT,ULONG,PWSTR*); +NTSTATUS WINAPI IoGetDeviceInterfaces(const GUID*,PDEVICE_OBJECT,ULONG,PWSTR*); NTSTATUS WINAPI IoGetDeviceObjectPointer(UNICODE_STRING*,ACCESS_MASK,PFILE_OBJECT*,PDEVICE_OBJECT*); NTSTATUS WINAPI IoGetDeviceProperty(PDEVICE_OBJECT,DEVICE_REGISTRY_PROPERTY,ULONG,PVOID,PULONG); PVOID WINAPI IoGetDriverObjectExtension(PDRIVER_OBJECT,PVOID); diff --git a/include/setupapi.h b/include/setupapi.h index 04ddc75d329..0d6911d0519 100644 --- a/include/setupapi.h +++ b/include/setupapi.h @@ -1484,8 +1484,8 @@ HDEVINFO WINAPI SetupDiCreateDeviceInfoList(const GUID *, HWND); HDEVINFO WINAPI SetupDiCreateDeviceInfoListExA(const GUID *, HWND, PCSTR, PVOID); HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(const GUID *, HWND, PCWSTR, PVOID); #define SetupDiCreateDeviceInfoListEx WINELIB_NAME_AW(SetupDiCreateDeviceInfoListEx) -BOOL WINAPI SetupDiCreateDeviceInfoA(HDEVINFO, PCSTR, CONST GUID*, PCSTR, HWND, DWORD,PSP_DEVINFO_DATA); -BOOL WINAPI SetupDiCreateDeviceInfoW(HDEVINFO, PCWSTR, CONST GUID*, PCWSTR, HWND, DWORD,PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiCreateDeviceInfoA(HDEVINFO, PCSTR, const GUID*, PCSTR, HWND, DWORD,PSP_DEVINFO_DATA); +BOOL WINAPI SetupDiCreateDeviceInfoW(HDEVINFO, PCWSTR, const GUID*, PCWSTR, HWND, DWORD,PSP_DEVINFO_DATA); #define SetupDiCreateDeviceInfo WINELIB_NAME_AW(SetupDiCreateDeviceInfo) BOOL WINAPI SetupDiCreateDeviceInterfaceA(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); BOOL WINAPI SetupDiCreateDeviceInterfaceW(HDEVINFO, PSP_DEVINFO_DATA, const GUID *, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); @@ -1528,8 +1528,8 @@ BOOL WINAPI SetupDiGetClassDescriptionExW(const GUID*, PWSTR, DWORD, PDWORD, BOOL WINAPI SetupDiGetClassDevPropertySheetsA(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERA, DWORD, PDWORD, DWORD); BOOL WINAPI SetupDiGetClassDevPropertySheetsW(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERW, DWORD, PDWORD, DWORD); #define SetupDiGetClassDevPropertySheets WINELIB_NAME_AW(SetupDiGetClassDevPropertySheets) -HDEVINFO WINAPI SetupDiGetClassDevsA(CONST GUID *,LPCSTR,HWND,DWORD); -HDEVINFO WINAPI SetupDiGetClassDevsW(CONST GUID *,LPCWSTR,HWND,DWORD); +HDEVINFO WINAPI SetupDiGetClassDevsA(const GUID *,LPCSTR,HWND,DWORD); +HDEVINFO WINAPI SetupDiGetClassDevsW(const GUID *,LPCWSTR,HWND,DWORD); #define SetupDiGetClassDevs WINELIB_NAME_AW(SetupDiGetClassDevs) HDEVINFO WINAPI SetupDiGetClassDevsExA(const GUID *, PCSTR, HWND, DWORD, HDEVINFO, PCSTR, PVOID); HDEVINFO WINAPI SetupDiGetClassDevsExW(const GUID *, PCWSTR, HWND, DWORD, HDEVINFO, PCWSTR, PVOID); diff --git a/include/sspi.h b/include/sspi.h index 74bfd2fef46..15adb599398 100644 --- a/include/sspi.h +++ b/include/sspi.h @@ -36,10 +36,10 @@ typedef LONG SECURITY_STATUS; #ifdef UNICODE typedef SEC_WCHAR * SECURITY_PSTR; -typedef CONST SEC_WCHAR * SECURITY_PCSTR; +typedef const SEC_WCHAR * SECURITY_PCSTR; #else typedef SEC_CHAR * SECURITY_PSTR; -typedef CONST SEC_CHAR * SECURITY_PCSTR; +typedef const SEC_CHAR * SECURITY_PCSTR; #endif #ifndef __SECHANDLE_DEFINED__ diff --git a/include/winbase.h b/include/winbase.h index 50325959ff9..f20a619c82f 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -2289,7 +2289,7 @@ WINBASEAPI BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD); WINBASEAPI BOOL WINAPI SetDllDirectoryA(LPCSTR); WINBASEAPI BOOL WINAPI SetDllDirectoryW(LPCWSTR); #define SetDllDirectory WINELIB_NAME_AW(SetDllDirectory) -WINBASEAPI BOOL WINAPI SetDynamicTimeZoneInformation(CONST DYNAMIC_TIME_ZONE_INFORMATION*); +WINBASEAPI BOOL WINAPI SetDynamicTimeZoneInformation(const DYNAMIC_TIME_ZONE_INFORMATION*); WINBASEAPI BOOL WINAPI SetEndOfFile(HANDLE); WINBASEAPI BOOL WINAPI SetEnvironmentVariableA(LPCSTR,LPCSTR); WINBASEAPI BOOL WINAPI SetEnvironmentVariableW(LPCWSTR,LPCWSTR); diff --git a/include/wincon.h b/include/wincon.h index 3418856c4ef..94fb0f822c1 100644 --- a/include/wincon.h +++ b/include/wincon.h @@ -386,8 +386,8 @@ WINBASEAPI BOOL WINAPI SetConsoleTitleW(LPCWSTR); #define SetConsoleTitle WINELIB_NAME_AW(SetConsoleTitle) WINBASEAPI BOOL WINAPI SetConsoleWindowInfo( HANDLE,BOOL,LPSMALL_RECT); WINBASEAPI BOOL WINAPI SetCurrentConsoleFontEx(HANDLE,BOOL,LPCONSOLE_FONT_INFOEX); -WINBASEAPI BOOL WINAPI WriteConsoleA(HANDLE,CONST VOID *,DWORD,LPDWORD,LPVOID); -WINBASEAPI BOOL WINAPI WriteConsoleW(HANDLE,CONST VOID *,DWORD,LPDWORD,LPVOID); +WINBASEAPI BOOL WINAPI WriteConsoleA(HANDLE,const void *,DWORD,LPDWORD,void *); +WINBASEAPI BOOL WINAPI WriteConsoleW(HANDLE,const void *,DWORD,LPDWORD,void *); #define WriteConsole WINELIB_NAME_AW(WriteConsole) WINBASEAPI BOOL WINAPI WriteConsoleInputA(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD); WINBASEAPI BOOL WINAPI WriteConsoleInputW(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD); @@ -395,7 +395,7 @@ WINBASEAPI BOOL WINAPI WriteConsoleInputW(HANDLE,const INPUT_RECORD *,DWORD,LP WINBASEAPI BOOL WINAPI WriteConsoleOutputA(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT); WINBASEAPI BOOL WINAPI WriteConsoleOutputW(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT); #define WriteConsoleOutput WINELIB_NAME_AW(WriteConsoleOutput) -WINBASEAPI BOOL WINAPI WriteConsoleOutputAttribute(HANDLE,CONST WORD *,DWORD,COORD,LPDWORD); +WINBASEAPI BOOL WINAPI WriteConsoleOutputAttribute(HANDLE,const WORD *,DWORD,COORD,LPDWORD); WINBASEAPI BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE,LPCSTR,DWORD,COORD,LPDWORD); WINBASEAPI BOOL WINAPI WriteConsoleOutputCharacterW(HANDLE,LPCWSTR,DWORD,COORD,LPDWORD); #define WriteConsoleOutputCharacter WINELIB_NAME_AW(WriteConsoleOutputCharacter) diff --git a/include/wincrypt.h b/include/wincrypt.h index 617a9b96189..64c932c0ef5 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -3920,24 +3920,24 @@ WINADVAPI BOOL WINAPI CryptGetDefaultProviderA (DWORD, DWORD *, DWORD, LPSTR, DW WINADVAPI BOOL WINAPI CryptGetDefaultProviderW (DWORD, DWORD *, DWORD, LPWSTR, DWORD *); #define CryptGetDefaultProvider WINELIB_NAME_AW(CryptGetDefaultProvider) WINADVAPI BOOL WINAPI CryptGetUserKey (HCRYPTPROV, DWORD, HCRYPTKEY *); -WINADVAPI BOOL WINAPI CryptHashData (HCRYPTHASH, CONST BYTE *, DWORD, DWORD); +WINADVAPI BOOL WINAPI CryptHashData (HCRYPTHASH, const BYTE *, DWORD, DWORD); WINADVAPI BOOL WINAPI CryptHashSessionKey (HCRYPTHASH, HCRYPTKEY, DWORD); -WINADVAPI BOOL WINAPI CryptImportKey (HCRYPTPROV, CONST BYTE *, DWORD, HCRYPTKEY, DWORD, HCRYPTKEY *); +WINADVAPI BOOL WINAPI CryptImportKey (HCRYPTPROV, const BYTE *, DWORD, HCRYPTKEY, DWORD, HCRYPTKEY *); WINADVAPI BOOL WINAPI CryptReleaseContext (HCRYPTPROV, ULONG_PTR); -WINADVAPI BOOL WINAPI CryptSetHashParam (HCRYPTHASH, DWORD, CONST BYTE *, DWORD); -WINADVAPI BOOL WINAPI CryptSetKeyParam (HCRYPTKEY, DWORD, CONST BYTE *, DWORD); +WINADVAPI BOOL WINAPI CryptSetHashParam (HCRYPTHASH, DWORD, const BYTE *, DWORD); +WINADVAPI BOOL WINAPI CryptSetKeyParam (HCRYPTKEY, DWORD, const BYTE *, DWORD); WINADVAPI BOOL WINAPI CryptSetProviderA (LPCSTR, DWORD); WINADVAPI BOOL WINAPI CryptSetProviderW (LPCWSTR, DWORD); #define CryptSetProvider WINELIB_NAME_AW(CryptSetProvider) WINADVAPI BOOL WINAPI CryptSetProviderExA (LPCSTR, DWORD, DWORD *, DWORD); WINADVAPI BOOL WINAPI CryptSetProviderExW (LPCWSTR, DWORD, DWORD *, DWORD); #define CryptSetProviderEx WINELIB_NAME_AW(CryptSetProviderEx) -WINADVAPI BOOL WINAPI CryptSetProvParam (HCRYPTPROV, DWORD, CONST BYTE *, DWORD); +WINADVAPI BOOL WINAPI CryptSetProvParam (HCRYPTPROV, DWORD, const BYTE *, DWORD); WINADVAPI BOOL WINAPI CryptSignHashA (HCRYPTHASH, DWORD, LPCSTR, DWORD, BYTE *, DWORD *); WINADVAPI BOOL WINAPI CryptSignHashW (HCRYPTHASH, DWORD, LPCWSTR, DWORD, BYTE *, DWORD *); #define CryptSignHash WINELIB_NAME_AW(CryptSignHash) -WINADVAPI BOOL WINAPI CryptVerifySignatureA (HCRYPTHASH, CONST BYTE *, DWORD, HCRYPTKEY, LPCSTR, DWORD); -WINADVAPI BOOL WINAPI CryptVerifySignatureW (HCRYPTHASH, CONST BYTE *, DWORD, HCRYPTKEY, LPCWSTR, DWORD); +WINADVAPI BOOL WINAPI CryptVerifySignatureA (HCRYPTHASH, const BYTE *, DWORD, HCRYPTKEY, LPCSTR, DWORD); +WINADVAPI BOOL WINAPI CryptVerifySignatureW (HCRYPTHASH, const BYTE *, DWORD, HCRYPTKEY, LPCWSTR, DWORD); #define CryptVerifySignature WINELIB_NAME_AW(CryptVerifySignature) /* crypt32.dll functions */ diff --git a/include/wine/gdi_driver.h b/include/wine/gdi_driver.h index fffbad03f38..83f4885c610 100644 --- a/include/wine/gdi_driver.h +++ b/include/wine/gdi_driver.h @@ -96,7 +96,7 @@ struct gdi_dc_funcs BOOL (*pFlattenPath)(PHYSDEV); BOOL (*pFontIsLinked)(PHYSDEV); BOOL (*pFrameRgn)(PHYSDEV,HRGN,HBRUSH,INT,INT); - BOOL (*pGdiComment)(PHYSDEV,UINT,CONST BYTE*); + BOOL (*pGdiComment)(PHYSDEV,UINT,const BYTE*); BOOL (*pGdiRealizationInfo)(PHYSDEV,void*); UINT (*pGetBoundsRect)(PHYSDEV,RECT*,UINT); BOOL (*pGetCharABCWidths)(PHYSDEV,UINT,UINT,LPABC); diff --git a/include/wine/winbase16.h b/include/wine/winbase16.h index 0f26d8cb5d1..310d5f6c5ee 100644 --- a/include/wine/winbase16.h +++ b/include/wine/winbase16.h @@ -527,7 +527,7 @@ DWORD WINAPI RegOpenKey16(HKEY,LPCSTR,PHKEY); DWORD WINAPI RegQueryValue16(HKEY,LPCSTR,LPSTR,LPDWORD); DWORD WINAPI RegQueryValueEx16(HKEY,LPCSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); DWORD WINAPI RegSetValue16(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); -DWORD WINAPI RegSetValueEx16(HKEY,LPCSTR,DWORD,DWORD,CONST BYTE*,DWORD); +DWORD WINAPI RegSetValueEx16(HKEY,LPCSTR,DWORD,DWORD,const BYTE*,DWORD); BOOL16 WINAPI RemoveDirectory16(LPCSTR); BOOL16 WINAPI SetCurrentDirectory16(LPCSTR); UINT16 WINAPI SetErrorMode16(UINT16); diff --git a/include/wingdi.h b/include/wingdi.h index 408a1b1375e..fd3458fc712 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -3383,7 +3383,7 @@ WINGDIAPI HDC WINAPI CreateDCW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); WINGDIAPI HBITMAP WINAPI CreateDIBitmap(HDC,const BITMAPINFOHEADER*,DWORD,LPCVOID,const BITMAPINFO*,UINT); WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrush(HGLOBAL,UINT); WINGDIAPI HBRUSH WINAPI CreateDIBPatternBrushPt(const void*,UINT); -WINGDIAPI HBITMAP WINAPI CreateDIBSection(HDC, CONST BITMAPINFO *, UINT, VOID **, HANDLE, DWORD offset); +WINGDIAPI HBITMAP WINAPI CreateDIBSection(HDC, const BITMAPINFO *, UINT, void **, HANDLE, DWORD offset); WINGDIAPI HBITMAP WINAPI CreateDiscardableBitmap(HDC,INT,INT); WINGDIAPI HRGN WINAPI CreateEllipticRgn(INT,INT,INT,INT); WINGDIAPI HRGN WINAPI CreateEllipticRgnIndirect(const RECT *); @@ -3674,7 +3674,7 @@ WINGDIAPI HCOLORSPACE WINAPI SetColorSpace(HDC,HCOLORSPACE); WINGDIAPI BOOL WINAPI SetDeviceGammaRamp(HDC,LPVOID); WINGDIAPI COLORREF WINAPI SetDCBrushColor(HDC,COLORREF); WINGDIAPI COLORREF WINAPI SetDCPenColor(HDC, COLORREF); -WINGDIAPI UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,CONST RGBQUAD*); +WINGDIAPI UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*); WINGDIAPI INT WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT); WINGDIAPI INT WINAPI SetDIBitsToDevice(HDC,INT,INT,DWORD,DWORD,INT,INT,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT); WINGDIAPI HENHMETAFILE WINAPI SetEnhMetaFileBits(UINT,const BYTE *); @@ -3707,7 +3707,7 @@ WINGDIAPI BOOL WINAPI SetViewportExtEx(HDC,INT,INT,LPSIZE); WINGDIAPI BOOL WINAPI SetViewportOrgEx(HDC,INT,INT,LPPOINT); WINGDIAPI BOOL WINAPI SetWindowExtEx(HDC,INT,INT,LPSIZE); WINGDIAPI BOOL WINAPI SetWindowOrgEx(HDC,INT,INT,LPPOINT); -WINGDIAPI HENHMETAFILE WINAPI SetWinMetaFileBits(UINT,CONST BYTE*,HDC,CONST METAFILEPICT *); +WINGDIAPI HENHMETAFILE WINAPI SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT *); WINGDIAPI BOOL WINAPI SetWorldTransform(HDC,const XFORM*); WINGDIAPI INT WINAPI StartDocA(HDC,const DOCINFOA*); WINGDIAPI INT WINAPI StartDocW(HDC,const DOCINFOW*); diff --git a/include/winhttp.h b/include/winhttp.h index 9247abfe1b2..51e82654b7e 100644 --- a/include/winhttp.h +++ b/include/winhttp.h @@ -571,7 +571,7 @@ BOOL WINAPI WinHttpSetCredentials(HINTERNET,DWORD,DWORD,LPCWSTR,LPCWSTR,L BOOL WINAPI WinHttpSetOption(HINTERNET,DWORD,LPVOID,DWORD); WINHTTP_STATUS_CALLBACK WINAPI WinHttpSetStatusCallback(HINTERNET,WINHTTP_STATUS_CALLBACK,DWORD,DWORD_PTR); BOOL WINAPI WinHttpSetTimeouts(HINTERNET,int,int,int,int); -BOOL WINAPI WinHttpTimeFromSystemTime(CONST SYSTEMTIME *,LPWSTR); +BOOL WINAPI WinHttpTimeFromSystemTime(const SYSTEMTIME *,LPWSTR); BOOL WINAPI WinHttpTimeToSystemTime(LPCWSTR,SYSTEMTIME*); BOOL WINAPI WinHttpWriteData(HINTERNET,LPCVOID,DWORD,LPDWORD); diff --git a/include/wininet.h b/include/wininet.h index 51d98643ba9..5cc3fd56c32 100644 --- a/include/wininet.h +++ b/include/wininet.h @@ -387,8 +387,8 @@ typedef struct _INTERNET_DIAGNOSTIC_SOCKET_INFO #define IDSI_FLAG_PROXY 0x00000004 #define IDSI_FLAG_TUNNEL 0x00000008 -BOOLAPI InternetTimeFromSystemTimeA(CONST SYSTEMTIME *,DWORD ,LPSTR ,DWORD); -BOOLAPI InternetTimeFromSystemTimeW(CONST SYSTEMTIME *,DWORD ,LPWSTR ,DWORD); +BOOLAPI InternetTimeFromSystemTimeA(const SYSTEMTIME *,DWORD ,LPSTR ,DWORD); +BOOLAPI InternetTimeFromSystemTimeW(const SYSTEMTIME *,DWORD ,LPWSTR ,DWORD); #define InternetTimeFromSystemTime WINELIB_NAME_AW(InternetTimeFromSystemTime) #define INTERNET_RFC1123_FORMAT 0 diff --git a/include/winreg.h b/include/winreg.h index 145a0265903..fb0b7520970 100644 --- a/include/winreg.h +++ b/include/winreg.h @@ -172,8 +172,8 @@ WINADVAPI LSTATUS WINAPI RegSetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY WINADVAPI LSTATUS WINAPI RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); WINADVAPI LSTATUS WINAPI RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD); #define RegSetValue WINELIB_NAME_AW(RegSetValue) -WINADVAPI LSTATUS WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,CONST BYTE*,DWORD); -WINADVAPI LSTATUS WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,CONST BYTE*,DWORD); +WINADVAPI LSTATUS WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE*,DWORD); +WINADVAPI LSTATUS WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE*,DWORD); #define RegSetValueEx WINELIB_NAME_AW(RegSetValueEx) WINADVAPI LSTATUS WINAPI RegUnLoadKeyA(HKEY,LPCSTR); WINADVAPI LSTATUS WINAPI RegUnLoadKeyW(HKEY,LPCWSTR); diff --git a/include/winternl.h b/include/winternl.h index 80694a82046..c8794503ff5 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -37,7 +37,7 @@ extern "C" { typedef LONG NTSTATUS; #endif -typedef CONST char *PCSZ; +typedef const char *PCSZ; typedef short CSHORT; typedef CSHORT *PCSHORT; diff --git a/include/winuser.h b/include/winuser.h index fb0fa9510a8..e28bb13910a 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -2463,14 +2463,14 @@ typedef struct tagUPDATELAYEREDWINDOWINFO { DWORD cbSize; HDC hdcDst; - POINT CONST* pptDst; - SIZE CONST* psize; + POINT const* pptDst; + SIZE const* psize; HDC hdcSrc; - POINT CONST* pptSrc; + POINT const* pptSrc; COLORREF crKey; - BLENDFUNCTION CONST* pblend; + BLENDFUNCTION const* pblend; DWORD dwFlags; - RECT CONST* prcDirty; + RECT const* prcDirty; } UPDATELAYEREDWINDOWINFO, *PUPDATELAYEREDWINDOWINFO; #endif /* defined(_WINGDI_) && !defined(NOGDI) */ @@ -3239,7 +3239,7 @@ WINUSERAPI BOOL WINAPI EnumDisplaySettingsExA(LPCSTR,DWORD,LPDEVMODEA,DWO WINUSERAPI BOOL WINAPI EnumDisplaySettingsExW(LPCWSTR,DWORD,LPDEVMODEW,DWORD); #define EnumDisplaySettingsEx WINELIB_NAME_AW(EnumDisplaySettingsEx) WINUSERAPI BOOL WINAPI UpdateLayeredWindow(HWND,HDC,POINT*,SIZE*,HDC,POINT*,COLORREF,BLENDFUNCTION*,DWORD); -WINUSERAPI BOOL WINAPI UpdateLayeredWindowIndirect(HWND,UPDATELAYEREDWINDOWINFO CONST*); +WINUSERAPI BOOL WINAPI UpdateLayeredWindowIndirect(HWND,UPDATELAYEREDWINDOWINFO const*); #endif /* defined(_WINGDI_) && !defined(NOGDI) */ WINUSERAPI HKL WINAPI ActivateKeyboardLayout(HKL,UINT); @@ -3773,8 +3773,8 @@ WINUSERAPI HMONITOR WINAPI MonitorFromPoint(POINT,DWORD); WINUSERAPI HMONITOR WINAPI MonitorFromRect(LPRECT,DWORD); WINUSERAPI HMONITOR WINAPI MonitorFromWindow(HWND,DWORD); WINUSERAPI BOOL WINAPI MoveWindow(HWND,INT,INT,INT,INT,BOOL); -WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjects(DWORD,CONST HANDLE*,BOOL,DWORD,DWORD); -WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjectsEx(DWORD,CONST HANDLE*,DWORD,DWORD,DWORD); +WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD,DWORD); +WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjectsEx(DWORD,const HANDLE*,DWORD,DWORD,DWORD); WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD,HWND,LONG,LONG); WINUSERAPI DWORD WINAPI OemKeyScan(WORD); WINUSERAPI BOOL WINAPI OemToCharA(LPCSTR,LPSTR);