Change GetFileTitleA/W prototype to match PSDK.
This commit is contained in:
parent
8a37297fe8
commit
5bec0d7ef8
|
@ -40,7 +40,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
|
|||
* GetFileTitleA (COMDLG32.@)
|
||||
*
|
||||
*/
|
||||
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf)
|
||||
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf)
|
||||
{
|
||||
int ret;
|
||||
UNICODE_STRING strWFile;
|
||||
|
@ -60,7 +60,7 @@ short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf)
|
|||
* GetFileTitleW (COMDLG32.@)
|
||||
*
|
||||
*/
|
||||
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, UINT cbBuf)
|
||||
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf)
|
||||
{
|
||||
int i, len;
|
||||
static const WCHAR brkpoint[] = {'*','[',']',0};
|
||||
|
|
|
@ -670,8 +670,8 @@ DWORD WINAPI CommDlgExtendedError(void);
|
|||
HWND WINAPI FindTextA(LPFINDREPLACEA lpFind);
|
||||
HWND WINAPI FindTextW(LPFINDREPLACEW lpFind);
|
||||
#define FindText WINELIB_NAME_AW(FindText)
|
||||
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf);
|
||||
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, UINT cbBuf);
|
||||
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf);
|
||||
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf);
|
||||
#define GetFileTitle WINELIB_NAME_AW(GetFileTitle)
|
||||
BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn);
|
||||
BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn);
|
||||
|
|
Loading…
Reference in New Issue