Commit c8a3f7ac authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Implemented StrRChrA.

parent 3723c2c8
......@@ -1228,6 +1228,28 @@ HRESULT WINAPI SHFlushClipboard(void)
return 1;
}
/*************************************************************************
* StrRChrA [SHELL32.346]
*
*/
LPSTR WINAPI StrRChrA(LPCSTR lpStart, LPCSTR lpEnd, DWORD wMatch)
{
if (!lpStart)
return NULL;
/* if the end not given, search*/
if (!lpEnd)
{ lpEnd=lpStart;
while (*lpEnd)
lpEnd++;
}
for (--lpEnd;lpStart <= lpEnd; lpEnd--)
if (*lpEnd==(char)wMatch)
return (LPSTR)lpEnd;
return NULL;
}
/*************************************************************************
* StrRChrW [SHELL32.320]
*
*/
......
......@@ -346,7 +346,7 @@ type win32
343 stub StrNCatW
344 stub StrPBrkA
345 stub StrPBrkW
346 stub StrRChrA
346 stdcall StrRChrA (str str long) StrRChrA
347 stub StrRChrIA
348 stub StrRChrIW
349 stdcall StrRChrW (wstr wstr long) StrRChrW
......
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