Commit 5bec0d7e authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

Change GetFileTitleA/W prototype to match PSDK.

parent 8a37297f
...@@ -40,7 +40,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg); ...@@ -40,7 +40,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
* GetFileTitleA (COMDLG32.@) * GetFileTitleA (COMDLG32.@)
* *
*/ */
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf) short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf)
{ {
int ret; int ret;
UNICODE_STRING strWFile; UNICODE_STRING strWFile;
...@@ -60,7 +60,7 @@ short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf) ...@@ -60,7 +60,7 @@ short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf)
* GetFileTitleW (COMDLG32.@) * GetFileTitleW (COMDLG32.@)
* *
*/ */
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, UINT cbBuf) short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf)
{ {
int i, len; int i, len;
static const WCHAR brkpoint[] = {'*','[',']',0}; static const WCHAR brkpoint[] = {'*','[',']',0};
......
...@@ -670,8 +670,8 @@ DWORD WINAPI CommDlgExtendedError(void); ...@@ -670,8 +670,8 @@ DWORD WINAPI CommDlgExtendedError(void);
HWND WINAPI FindTextA(LPFINDREPLACEA lpFind); HWND WINAPI FindTextA(LPFINDREPLACEA lpFind);
HWND WINAPI FindTextW(LPFINDREPLACEW lpFind); HWND WINAPI FindTextW(LPFINDREPLACEW lpFind);
#define FindText WINELIB_NAME_AW(FindText) #define FindText WINELIB_NAME_AW(FindText)
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf); short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf);
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, UINT cbBuf); short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf);
#define GetFileTitle WINELIB_NAME_AW(GetFileTitle) #define GetFileTitle WINELIB_NAME_AW(GetFileTitle)
BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn); BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn);
BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn); BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn);
......
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