Commit 7c7fa105 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

user32: Avoid using CONST.

parent 1c23b501
...@@ -241,7 +241,7 @@ BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer) ...@@ -241,7 +241,7 @@ BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer)
* DdeSetQualityOfService (USER32.@) * DdeSetQualityOfService (USER32.@)
*/ */
BOOL WINAPI DdeSetQualityOfService(HWND hwndClient, CONST SECURITY_QUALITY_OF_SERVICE *pqosNew, BOOL WINAPI DdeSetQualityOfService(HWND hwndClient, const SECURITY_QUALITY_OF_SERVICE *pqosNew,
PSECURITY_QUALITY_OF_SERVICE pqosPrev) PSECURITY_QUALITY_OF_SERVICE pqosPrev)
{ {
FIXME("(%p %p %p): stub\n", hwndClient, pqosNew, pqosPrev); FIXME("(%p %p %p): stub\n", hwndClient, pqosNew, pqosPrev);
......
...@@ -4080,7 +4080,7 @@ BOOL WINAPI WaitMessage(void) ...@@ -4080,7 +4080,7 @@ BOOL WINAPI WaitMessage(void)
/*********************************************************************** /***********************************************************************
* MsgWaitForMultipleObjectsEx (USER32.@) * MsgWaitForMultipleObjectsEx (USER32.@)
*/ */
DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, CONST HANDLE *pHandles, DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *pHandles,
DWORD timeout, DWORD mask, DWORD flags ) DWORD timeout, DWORD mask, DWORD flags )
{ {
HANDLE handles[MAXIMUM_WAIT_OBJECTS]; HANDLE handles[MAXIMUM_WAIT_OBJECTS];
...@@ -4114,7 +4114,7 @@ DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, CONST HANDLE *pHandles, ...@@ -4114,7 +4114,7 @@ DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, CONST HANDLE *pHandles,
/*********************************************************************** /***********************************************************************
* MsgWaitForMultipleObjects (USER32.@) * MsgWaitForMultipleObjects (USER32.@)
*/ */
DWORD WINAPI MsgWaitForMultipleObjects( DWORD count, CONST HANDLE *handles, DWORD WINAPI MsgWaitForMultipleObjects( DWORD count, const HANDLE *handles,
BOOL wait_all, DWORD timeout, DWORD mask ) BOOL wait_all, DWORD timeout, DWORD mask )
{ {
return MsgWaitForMultipleObjectsEx( count, handles, timeout, mask, return MsgWaitForMultipleObjectsEx( count, handles, timeout, mask,
......
...@@ -331,7 +331,7 @@ static void test_accel2(void) ...@@ -331,7 +331,7 @@ static void test_accel2(void)
} }
static void test_PrivateExtractIcons(void) { static void test_PrivateExtractIcons(void) {
CONST CHAR szShell32Dll[] = "shell32.dll"; const CHAR szShell32Dll[] = "shell32.dll";
HICON ahIcon[256]; HICON ahIcon[256];
UINT aIconId[256]; UINT aIconId[256];
UINT cIcons, cIcons2; UINT cIcons, cIcons2;
......
...@@ -1122,7 +1122,7 @@ static LRESULT WINAPI StaticWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM ...@@ -1122,7 +1122,7 @@ static LRESULT WINAPI StaticWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM
return wow_handlers.static_proc( hwnd, msg, wParam, lParam, TRUE ); return wow_handlers.static_proc( hwnd, msg, wParam, lParam, TRUE );
} }
static DWORD wait_message( DWORD count, CONST HANDLE *handles, DWORD timeout, DWORD mask, DWORD flags ) static DWORD wait_message( DWORD count, const HANDLE *handles, DWORD timeout, DWORD mask, DWORD flags )
{ {
DWORD ret = USER_Driver->pMsgWaitForMultipleObjectsEx( count, handles, timeout, mask, flags ); DWORD ret = USER_Driver->pMsgWaitForMultipleObjectsEx( count, handles, timeout, mask, flags );
if (ret == WAIT_TIMEOUT && !count && !timeout) NtYieldExecution(); if (ret == WAIT_TIMEOUT && !count && !timeout) NtYieldExecution();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment