Commit 4932f560 authored by Martin Fuchs's avatar Martin Fuchs Committed by Alexandre Julliard

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

parent 46fceb19
...@@ -91,7 +91,7 @@ HMODULE OLEAUT32_hModule = NULL; ...@@ -91,7 +91,7 @@ HMODULE OLEAUT32_hModule = NULL;
* calculated by lstrlenW(), since it returns the length that was used to * calculated by lstrlenW(), since it returns the length that was used to
* allocate the string by SysAllocStringLen(). * allocate the string by SysAllocStringLen().
*/ */
int WINAPI SysStringLen(BSTR str) UINT WINAPI SysStringLen(BSTR str)
{ {
DWORD* bufferPointer; DWORD* bufferPointer;
...@@ -121,7 +121,7 @@ int WINAPI SysStringLen(BSTR str) ...@@ -121,7 +121,7 @@ int WINAPI SysStringLen(BSTR str)
* NOTES * NOTES
* See SysStringLen(), BSTR(). * See SysStringLen(), BSTR().
*/ */
int WINAPI SysStringByteLen(BSTR str) UINT WINAPI SysStringByteLen(BSTR str)
{ {
DWORD* bufferPointer; DWORD* bufferPointer;
......
...@@ -44,8 +44,8 @@ BSTR WINAPI SysAllocStringLen(const OLECHAR*,UINT); ...@@ -44,8 +44,8 @@ BSTR WINAPI SysAllocStringLen(const OLECHAR*,UINT);
void WINAPI SysFreeString(BSTR); void WINAPI SysFreeString(BSTR);
INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*); INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*);
int WINAPI SysReAllocStringLen(BSTR*,const OLECHAR*,UINT); int WINAPI SysReAllocStringLen(BSTR*,const OLECHAR*,UINT);
int WINAPI SysStringByteLen(BSTR); UINT WINAPI SysStringByteLen(BSTR);
int WINAPI SysStringLen(BSTR); UINT WINAPI SysStringLen(BSTR);
/* IErrorInfo helpers */ /* IErrorInfo helpers */
HRESULT WINAPI SetErrorInfo(ULONG,IErrorInfo*); HRESULT WINAPI SetErrorInfo(ULONG,IErrorInfo*);
......
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