Void functions can't return a value, even if it is the return value

from another void function.
This commit is contained in:
Gregg Mattinson 2002-07-03 01:20:07 +00:00 committed by Alexandre Julliard
parent a3f4e7ff3f
commit 2e38a17021
4 changed files with 23 additions and 16 deletions

View File

@ -90,7 +90,7 @@ HRESULT FakeZBuffer_DirectDrawSurface_Create(IDirectDrawImpl* pDD,
void
FakeZBuffer_DirectDrawSurface_final_release(IDirectDrawSurfaceImpl* This)
{
return Main_DirectDrawSurface_final_release(This);
Main_DirectDrawSurface_final_release(This);
}
HRESULT

View File

@ -84,7 +84,7 @@ void WINAPI RtlInitAnsiString( PSTRING target, LPCSTR source)
*/
void WINAPI RtlInitString( PSTRING target, LPCSTR source )
{
return RtlInitAnsiString( target, source );
RtlInitAnsiString( target, source );
}

View File

@ -183,8 +183,9 @@ BOOL WINAPI PathRemoveFileSpecAW(LPVOID lpszPath)
void WINAPI PathStripPathAW(LPVOID lpszPath)
{
if (SHELL_OsIsUnicode())
return PathStripPathW(lpszPath);
return PathStripPathA(lpszPath);
PathStripPathW(lpszPath);
else
PathStripPathA(lpszPath);
}
/*************************************************************************
@ -203,8 +204,9 @@ BOOL WINAPI PathStripToRootAW(LPVOID lpszPath)
void WINAPI PathRemoveArgsAW(LPVOID lpszPath)
{
if (SHELL_OsIsUnicode())
PathRemoveArgsW(lpszPath);
PathRemoveArgsA(lpszPath);
PathRemoveArgsW(lpszPath);
else
PathRemoveArgsA(lpszPath);
}
/*************************************************************************
@ -213,8 +215,9 @@ void WINAPI PathRemoveArgsAW(LPVOID lpszPath)
void WINAPI PathRemoveExtensionAW(LPVOID lpszPath)
{
if (SHELL_OsIsUnicode())
return PathRemoveExtensionW(lpszPath);
return PathRemoveExtensionA(lpszPath);
PathRemoveExtensionW(lpszPath);
else
PathRemoveExtensionA(lpszPath);
}
@ -256,8 +259,9 @@ LPVOID WINAPI PathGetShortPathAW(LPVOID lpszPath)
void WINAPI PathRemoveBlanksAW(LPVOID str)
{
if(SHELL_OsIsUnicode())
PathRemoveBlanksW(str);
PathRemoveBlanksA(str);
PathRemoveBlanksW(str);
else
PathRemoveBlanksA(str);
}
/*************************************************************************
@ -266,8 +270,9 @@ void WINAPI PathRemoveBlanksAW(LPVOID str)
VOID WINAPI PathQuoteSpacesAW (LPVOID lpszPath)
{
if(SHELL_OsIsUnicode())
return PathQuoteSpacesW(lpszPath);
return PathQuoteSpacesA(lpszPath);
PathQuoteSpacesW(lpszPath);
else
PathQuoteSpacesA(lpszPath);
}
/*************************************************************************
@ -635,9 +640,11 @@ HRESULT WINAPI PathProcessCommandAW (
* PathSetDlgItemPath (SHELL32.48)
*/
VOID WINAPI PathSetDlgItemPathAW(HWND hDlg, int id, LPCVOID pszPath)
{ if (SHELL_OsIsUnicode())
return PathSetDlgItemPathW(hDlg, id, pszPath);
return PathSetDlgItemPathA(hDlg, id, pszPath);
{
if (SHELL_OsIsUnicode())
PathSetDlgItemPathW(hDlg, id, pszPath);
else
PathSetDlgItemPathA(hDlg, id, pszPath);
}

View File

@ -1461,7 +1461,7 @@ void WINAPI SetInternalWindowPos16( HWND16 hwnd, UINT16 showCmd, LPRECT16 rect,
*/
void WINAPI CalcChildScroll16( HWND16 hwnd, WORD scroll )
{
return CalcChildScroll( WIN_Handle32(hwnd), scroll );
CalcChildScroll( WIN_Handle32(hwnd), scroll );
}