mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[SHLWAPI] Fix parameter ordering at call of AutoComplete_AdaptFlags
CORE-9281
This commit is contained in:
parent
bac45efe5d
commit
179da0b237
1 changed files with 3 additions and 3 deletions
|
@ -170,8 +170,8 @@ AutoComplete_AdaptFlags(IN HWND hwndEdit,
|
||||||
if (GetWindowLongPtrW(hwndEdit, GWL_EXSTYLE) & WS_EX_LAYOUTRTL)
|
if (GetWindowLongPtrW(hwndEdit, GWL_EXSTYLE) & WS_EX_LAYOUTRTL)
|
||||||
dwACO |= ACO_RTLREADING;
|
dwACO |= ACO_RTLREADING;
|
||||||
|
|
||||||
*pdwACO = dwACO;
|
|
||||||
*pdwSHACF = dwSHACF;
|
*pdwSHACF = dwSHACF;
|
||||||
|
*pdwACO = dwACO;
|
||||||
*pdwACLO = dwACLO;
|
*pdwACLO = dwACLO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,8 +192,8 @@ HRESULT WINAPI SHAutoComplete(HWND hwndEdit, DWORD dwFlags)
|
||||||
{
|
{
|
||||||
TRACE("SHAutoComplete(%p, 0x%lX)\n", hwndEdit, dwFlags);
|
TRACE("SHAutoComplete(%p, 0x%lX)\n", hwndEdit, dwFlags);
|
||||||
|
|
||||||
DWORD dwACO = 0, dwACLO = 0, dwSHACF = dwFlags;
|
DWORD dwSHACF = dwFlags, dwACO = 0, dwACLO = 0;
|
||||||
AutoComplete_AdaptFlags(hwndEdit, &dwACO, &dwACLO, &dwSHACF);
|
AutoComplete_AdaptFlags(hwndEdit, &dwSHACF, &dwACO, &dwACLO);
|
||||||
|
|
||||||
// Load the list (with IEnumString interface)
|
// Load the list (with IEnumString interface)
|
||||||
CComPtr<IUnknown> pList = AutoComplete_LoadList(dwSHACF, dwACLO);
|
CComPtr<IUnknown> pList = AutoComplete_LoadList(dwSHACF, dwACLO);
|
||||||
|
|
Loading…
Reference in a new issue