Commit e5d7d69f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ole2nls: Fix CompareString() prototype.

parent eee6332e
...@@ -104,10 +104,9 @@ INT16 WINAPI LCMapString16(LCID lcid, DWORD mapflags, LPCSTR srcstr, INT16 srcle ...@@ -104,10 +104,9 @@ INT16 WINAPI LCMapString16(LCID lcid, DWORD mapflags, LPCSTR srcstr, INT16 srcle
/*********************************************************************** /***********************************************************************
* CompareStringA (OLE2NLS.8) * CompareStringA (OLE2NLS.8)
*/ */
UINT16 WINAPI CompareString16(DWORD lcid,DWORD fdwStyle, INT16 WINAPI CompareString16(LCID lcid, DWORD flags, LPCSTR str1, INT16 len1, LPCSTR str2, INT16 len2)
LPCSTR s1,DWORD l1,LPCSTR s2,DWORD l2)
{ {
return (UINT16)CompareStringA(lcid,fdwStyle,s1,l1,s2,l2); return CompareStringA(lcid, flags, str1, len1, str2, len2);
} }
/****************************************************************************** /******************************************************************************
......
...@@ -435,7 +435,7 @@ VOID WINAPI _LeaveWin16Lock(void); ...@@ -435,7 +435,7 @@ VOID WINAPI _LeaveWin16Lock(void);
INT16 WINAPI AccessResource16(HINSTANCE16,HRSRC16); INT16 WINAPI AccessResource16(HINSTANCE16,HRSRC16);
ATOM WINAPI AddAtom16(LPCSTR); ATOM WINAPI AddAtom16(LPCSTR);
UINT16 WINAPI CompareString16(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD); INT16 WINAPI CompareString16(LCID,DWORD,LPCSTR,INT16,LPCSTR,INT16);
BOOL16 WINAPI CreateDirectory16(LPCSTR,LPVOID); BOOL16 WINAPI CreateDirectory16(LPCSTR,LPVOID);
BOOL16 WINAPI DefineHandleTable16(WORD); BOOL16 WINAPI DefineHandleTable16(WORD);
ATOM WINAPI DeleteAtom16(ATOM); ATOM WINAPI DeleteAtom16(ATOM);
......
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