[USER32] Move related functions close to each other.

This commit is contained in:
Hermès Bélusca-Maïto 2018-02-18 20:37:16 +01:00
parent 5e4b3c7cf0
commit fcfcf7a5c9
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -783,6 +783,20 @@ MessageBoxA(
return MessageBoxExA(hWnd, lpText, lpCaption, uType, LANG_NEUTRAL);
}
/*
* @implemented
*/
int
WINAPI
MessageBoxW(
IN HWND hWnd,
IN LPCWSTR lpText,
IN LPCWSTR lpCaption,
IN UINT uType)
{
return MessageBoxExW(hWnd, lpText, lpCaption, uType, LANG_NEUTRAL);
}
/*
* @implemented
@ -812,7 +826,6 @@ MessageBoxExA(
return MessageBoxIndirectA(&msgbox);
}
/*
* @implemented
*/
@ -920,7 +933,6 @@ MessageBoxIndirectA(
return ret;
}
/*
* @implemented
*/
@ -933,20 +945,6 @@ MessageBoxIndirectW(
}
/*
* @implemented
*/
int
WINAPI
MessageBoxW(
IN HWND hWnd,
IN LPCWSTR lpText,
IN LPCWSTR lpCaption,
IN UINT uType)
{
return MessageBoxExW(hWnd, lpText, lpCaption, uType, LANG_NEUTRAL);
}
/*
* @implemented
*/
@ -958,7 +956,7 @@ MessageBoxTimeoutA(
IN LPCSTR lpCaption,
IN UINT uType,
IN WORD wLanguageId,
IN DWORD dwTime)
IN DWORD dwTimeout)
{
MSGBOXPARAMSW msgboxW;
UNICODE_STRING textW, captionW;
@ -985,7 +983,7 @@ MessageBoxTimeoutA(
msgboxW.lpfnMsgBoxCallback = NULL;
msgboxW.dwLanguageId = wLanguageId;
ret = MessageBoxTimeoutIndirectW(&msgboxW, (UINT)dwTime);
ret = MessageBoxTimeoutIndirectW(&msgboxW, (UINT)dwTimeout);
if (!IS_INTRESOURCE(textW.Buffer))
RtlFreeUnicodeString(&textW);
@ -1007,7 +1005,7 @@ MessageBoxTimeoutW(
IN LPCWSTR lpCaption,
IN UINT uType,
IN WORD wLanguageId,
IN DWORD dwTime)
IN DWORD dwTimeout)
{
MSGBOXPARAMSW msgbox;
@ -1022,7 +1020,7 @@ MessageBoxTimeoutW(
msgbox.lpfnMsgBoxCallback = NULL;
msgbox.dwLanguageId = wLanguageId;
return MessageBoxTimeoutIndirectW(&msgbox, (UINT)dwTime);
return MessageBoxTimeoutIndirectW(&msgbox, (UINT)dwTimeout);
}