shlwapi: Forward SetDlgItemTextWrapW to user32.SetDlgItemTextW.

This commit is contained in:
Dmitry Timoshkov 2007-10-25 14:10:51 +09:00 committed by Alexandre Julliard
parent 374db6371c
commit f7a7e6d9f9
2 changed files with 1 additions and 23 deletions

View File

@ -738,28 +738,6 @@ BOOL WINAPI GetStringType3ExW(LPWSTR lpszStr, DWORD dwLen, LPVOID p3)
return TRUE;
}
/*************************************************************************
* @ [SHLWAPI.138]
*
* Set the text of a given dialog item.
*
* PARAMS
* hWnd [I] Handle of dialog
* iItem [I] Index of item
* lpszText [O] Text to set
*
* RETURNS
* Success: TRUE. The text of the dialog is set to lpszText.
* Failure: FALSE, Otherwise.
*/
BOOL WINAPI SetDlgItemTextWrapW(HWND hWnd, INT iItem, LPCWSTR lpszText)
{
HWND hWndItem = GetDlgItem(hWnd, iItem);
if (hWndItem)
return SetWindowTextW(hWndItem, lpszText);
return FALSE;
}
/*************************************************************************
* @ [SHLWAPI.151]
*

View File

@ -135,7 +135,7 @@
135 stdcall @(long long long long long) user32.SendDlgItemMessageW
136 stdcall @(long long long long) user32.SendMessageW
137 stdcall @(wstr) kernel32.SetCurrentDirectoryW
138 stdcall -noname SetDlgItemTextWrapW(long long wstr)
138 stdcall -noname SetDlgItemTextWrapW(long long wstr) user32.SetDlgItemTextW
139 stdcall @(long long long ptr) user32.SetMenuItemInfoW
140 stdcall @(long wstr long) user32.SetPropW
141 stdcall @(long long long) user32.SetWindowLongW