Fixed the signature of SysAllocStringByteLen.
This commit is contained in:
parent
557066db1c
commit
529779cf4c
|
@ -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;
|
||||
|
|
|
@ -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*);
|
||||
|
|
Loading…
Reference in New Issue