wcsncmp

INT64 __cdecl wcsncmp(const WCHAR *Str1, const WCHAR *Str2, size_t MaxCount){
  if( !MaxCount )
    return 0i64;
  while( --MaxCount && *Str1 && *Str1 == *Str2 )
  {
    ++Str1;
    ++Str2;
  }
  return *Str1 - (unsigned int)*Str2;
}

Referenced by:

AslPathClean
AslPathCleanUstr
AslPathWildcardFindFirst
AslpPathWildcardMakeLeaves
DrvDbSetDeviceIdDriverInfMatches
EtwpApplyPredicate
EtwpRemoveMicroarchitecturalPmcFromPmcGroup
ExpWatchProductTypeInitialization
HalpDeviceEquals
HalpFindDevice
HalpInsertProfileSource
LdrpCompareResourceNamesWithValidation
LdrpResCompareResourceNames
PfSnFindPrefetchVolumeInfoInList
PopFxInitializeSocSubsystemStaticInfo
PopPluginInitializeSocSubsystemStaticInfo
PopProcessWakeSourceWork
PopWakeSourceIsParent
WmipFindISinGEbyName
pIoQueryBusDescription