mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
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 a new issue