wcsncmp

NTSTATUS __stdcall wcsncmp(const WCHAR *Str1, const WCHAR *Str2, size_t MaxCount){
  if( !*(_QWORD *)&MaxCount )
    return 0;
  while( --*(_QWORD *)&MaxCount && *Str1 && *Str1 == *Str2 )
  {
    ++Str1;
    ++Str2;
  }
  return *Str1 - *Str2;
}

Referenced by:

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