Implemented StrRChrA.
This commit is contained in:
parent
3723c2c8e9
commit
c8a3f7acb2
|
@ -1227,6 +1227,28 @@ HRESULT WINAPI SHFlushClipboard(void)
|
||||||
{ FIXME("stub\n");
|
{ FIXME("stub\n");
|
||||||
return 1;
|
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]
|
* StrRChrW [SHELL32.320]
|
||||||
*
|
*
|
||||||
|
|
|
@ -346,7 +346,7 @@ type win32
|
||||||
343 stub StrNCatW
|
343 stub StrNCatW
|
||||||
344 stub StrPBrkA
|
344 stub StrPBrkA
|
||||||
345 stub StrPBrkW
|
345 stub StrPBrkW
|
||||||
346 stub StrRChrA
|
346 stdcall StrRChrA (str str long) StrRChrA
|
||||||
347 stub StrRChrIA
|
347 stub StrRChrIA
|
||||||
348 stub StrRChrIW
|
348 stub StrRChrIW
|
||||||
349 stdcall StrRChrW (wstr wstr long) StrRChrW
|
349 stdcall StrRChrW (wstr wstr long) StrRChrW
|
||||||
|
|
Loading…
Reference in New Issue