Definition at line 16 of file wcsstr.c.
Referenced by ACPIDispatchDeviceControl(), Bus_PDO_QueryDeviceText(), Bus_PDO_QueryResourceRequirements(), Bus_PDO_QueryResources(), CreateComputerTypeList(), CreateDisplayDriverList(), CNewMenu::CreateNewItem(), DriverFilesCallback(), GetEventMessage(), InitVideo(), CShellLink::InvokeCommand(), IopDetectResourceConflict(), IopParseDevice(), OpenAdapterHandle(), ProcessPageShowContextMenu(), RecycleBin5_Create(), RtlCreateUserProcess(), SmpQueryRegistrySosOption(), VideoPortIsNoVesa(), wmain(), and XCOPY_DoCopy().
{
wchar_t *x;
wchar_t *y;
wchar_t *c;
x=(wchar_t *)s;
while (*x) {
if (*x==*b) {
y=x;
c=(wchar_t *)b;
while (*y && *c && *y==*c) {
c++;
y++;
}
if (!*c)
return x;
}
x++;
}
return NULL;
}