Correct return type of SysStringLen() and SysStringByteLen().

This commit is contained in:
Martin Fuchs 2004-03-01 21:22:59 +00:00 committed by Alexandre Julliard
parent 46fceb19f3
commit 4932f56062
2 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ HMODULE OLEAUT32_hModule = NULL;
* calculated by lstrlenW(), since it returns the length that was used to
* allocate the string by SysAllocStringLen().
*/
int WINAPI SysStringLen(BSTR str)
UINT WINAPI SysStringLen(BSTR str)
{
DWORD* bufferPointer;
@ -121,7 +121,7 @@ int WINAPI SysStringLen(BSTR str)
* NOTES
* See SysStringLen(), BSTR().
*/
int WINAPI SysStringByteLen(BSTR str)
UINT WINAPI SysStringByteLen(BSTR str)
{
DWORD* bufferPointer;

View File

@ -44,8 +44,8 @@ BSTR WINAPI SysAllocStringLen(const OLECHAR*,UINT);
void WINAPI SysFreeString(BSTR);
INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*);
int WINAPI SysReAllocStringLen(BSTR*,const OLECHAR*,UINT);
int WINAPI SysStringByteLen(BSTR);
int WINAPI SysStringLen(BSTR);
UINT WINAPI SysStringByteLen(BSTR);
UINT WINAPI SysStringLen(BSTR);
/* IErrorInfo helpers */
HRESULT WINAPI SetErrorInfo(ULONG,IErrorInfo*);