Fixed the signature of SysAllocStringByteLen.

This commit is contained in:
Francois Gouget 2000-10-13 17:08:12 +00:00 committed by Alexandre Julliard
parent 557066db1c
commit 529779cf4c
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ HRESULT WINAPI OleTranslateColor(
* SysAllocStringByteLen [OLEAUT32.150]
*
*/
BSTR WINAPI SysAllocStringByteLen(char *in, int len)
BSTR WINAPI SysAllocStringByteLen(LPCSTR in, UINT len)
{
DWORD* newBuffer;
char* stringBuffer;

View File

@ -24,7 +24,7 @@ extern "C" {
*/
BSTR WINAPI SysAllocString(const OLECHAR*);
BSTR WINAPI SysAllocStringByteLen(char*,int);
BSTR WINAPI SysAllocStringByteLen(LPCSTR,UINT);
BSTR WINAPI SysAllocStringLen(const OLECHAR*,UINT);
void WINAPI SysFreeString(BSTR);
INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*);