ReactOS 0.4.16-dev-1983-g1a17364
_wcsicmp_nt.c File Reference
#include <string.h>
Include dependency graph for _wcsicmp_nt.c:

Go to the source code of this file.

Functions

_Check_return_ int __cdecl _wcsicmp (_In_z_ wchar_t const *_String1, _In_z_ wchar_t const *_String2)
 

Function Documentation

◆ _wcsicmp()

_Check_return_ int __cdecl _wcsicmp ( _In_z_ wchar_t const _String1,
_In_z_ wchar_t const _String2 
)

Definition at line 13 of file _wcsicmp_nt.c.

16{
17 wchar_t const* p1 = _String1;
18 wchar_t const* p2 = _String2;
19 wchar_t chr1, chr2;
20
21 while (1)
22 {
23 chr1 = *p1++;
24 chr2 = *p2++;
25
26 if (chr1 != chr2)
27 {
28 if ((chr1 >= 'A') && (chr1 <= 'Z'))
29 chr1 += ('a' - 'A');
30 if ((chr2 >= 'A') && (chr2 <= 'Z'))
31 chr2 += ('a' - 'A');
32
33 if (chr1 != chr2)
34 return chr1 - chr2;
35 }
36 else if (chr1 == 0)
37 {
38 break;
39 }
40 }
41
42 return 0;
43}
_In_z_ wchar_t const * _String2

Referenced by CFSDropTarget::_CopyItems(), _CreateNonspooledPort(), _DoDLLInjection(), CFSDropTarget::_DoDrop(), _LocalEnumPrintersCheckName(), _LocalGetPrintServerHandleData(), _LocalSetPrintServerHandleData(), _PrinterListCompareRoutine(), _tmain(), AccpOpenNamedObject(), AddCodePage(), AddDialogControl(), AddKeyboardLayouts(), AddOrUpdateHwnd(), CDefaultContextMenu::AddStaticEntry(), ApplyAuditEvents(), ApplyRegistryValues(), ArcMatchTokenU(), AssocQ(), AvrfpFindDuplicateThunk(), AvrfpResolveThunks(), BinaryFileCompare(), BlpDisplayRegisterLocale(), BuildLogListAndFilterList(), BuildParameterArray(), CNewMenu::CacheItems(), ChanMgrGetChannelByName(), CheckForChangedNames(), CheckForDeviceId(), CheckInfFile(), CheckLogOrSourceExistence(), CheckUnattendedSetup(), ChooseGinaUI(), clean_main(), cmdAccounts(), cmdComputer(), cmdConfig(), cmdContinue(), cmdGroup(), cmdHelp(), cmdHelpMsg(), cmdLocalGroup(), cmdPause(), cmdSession(), cmdShare(), cmdStart(), cmdStatistics(), cmdStop(), cmdUse(), cmdUser(), co_UserCreateWindowEx(), compare(), CompareCanonical(), CZipFolder::CompareIDs(), CFontExt::CompareIDs(), CompareInfo(), CompareName(), CHString::CompareNoCase(), CFSFolder::CompareUiStrings(), ConvertAddCmdLine(), CountryEnumProc(), CreateExtendedPartition(), CreateFileSystemList(), CreateLogicalPartition(), CreatePrimaryPartition(), CreateProfile(), CryptOIDEnumCallback(), CSR_API(), DefaultProcessEntry(), DeletePartition(), DisplayApplet(), DnsIntCacheGetEntryByName(), DnsIntCacheRemoveEntryByName(), DnsIntFlushCacheEntry(), DoesPortExist(), DoParse(), CDeskLinkDropHandler::Drop(), ElfCreateEventLogHandle(), EnableVisualTheme(), EngpHasVgaDriver(), EnumerateConnections(), EnumerateDevices(), EnumerateReactOSEntries(), EnumerateSoundProfiles(), EnumFilesWorker(), EqualFamilyInfo(), FileCopyCallback(), FileOpCallback(), FileSystemToMBRPartitionType(), FileTableCompareWithSameAttributes(), FileTableCompareWithSubsetAttributes(), FillList(), FilterByString(), COpenWithList::Find(), find_actctx_dll(), FindCurrentDriver(), FindDatatype(), FindEnumOption(), FindExpectedFile(), FindFlag(), FindForm(), FindLabelContext(), FindLanguageIndex(), FindLanguageInList(), FindNetworkAdapter(), FindNetworkComponent(), FindOrAppendTheme(), FindPort(), FindPrintMonitor(), FindPrintProcessor(), FindSoundFileInList(), FindSoundProfile(), FindStyle(), FontLink_LoadDefaultCharset(), FormatEx(), FormatFileSystem_UStr(), FormatPartition(), FreeLdrEnumerateBootEntries(), FreeLdrMigrateBootDrivePart(), FsGetVolumeSize(), GdipGetEncoderClsid(), get_mmioFromProfile(), get_type_from_name(), GetAdapterIndexFromNetCfgInstanceId(), GetArgument(), GetDefaultClusterSize(), GetEventSourceByName(), GetFileSystemByName(), GetFontFamilyInfoForSubstitutes(), GetFontPenalty(), GetFriendlyVerb(), CNetConnectionPropertyUi::GetINetCfgComponent(), GetInstallSourceWin32(), GetLargerTimeZoneEntry(), GetLayerInfo(), CWineTest::GetNextFile(), GetOptionType(), GetPrinterDataExA(), GetProcessID(), GetProfileSize(), GetProvider(), GetRootKeyByName(), GetSystemName(), HandleDesktopIniOp(), has_executable_extension(), help_main(), HelpCommand(), HelpCompare(), Imm32WriteImeLayout(), ImmInstallIMEW(), ImportRegistryFile(), ImportSoundLabel(), INetCfgClass_fnFindComponent(), INetCfgComponentBindings_fnIsBoundTo(), InferFileSystemWorker(), IniCacheFindKey(), IniCacheFindSection(), InitAudioDlg(), CLayerUIPropPage::InitFile(), CFontExt::Initialize(), COpenWithMenu::Initialize(), Initialize(), InitializeFileSystemList(), InitializeFormatDriveDlg(), InitializeGlobalJobList(), InputList_Compare(), InputList_FindPreloadKLID(), InsertDefaultClusterSizeForFs(), InstallBootManagerAndBootEntriesWorker(), InstallDriver(), InstallFatBootcodeToPartition(), InstallVBRToPartition(), InstallWindowsNt(), Int_EnumDependentServicesW(), IntAddNameFromFamInfo(), IntCheckForConsoleFileName(), IntConvertFontPaths(), IntDeleteRegFontEntries(), InterpretCmd(), InterpretCommand(), IntFontFamilyCompareEx(), IntGdiGetFontResourceInfo(), IntGdiRemoveFontResourceSingle(), IntGetIcdData(), IntTMWFixUp(), IsBinaryExt(), IsBuiltinLayer(), isCmd(), IsConsoleBoot(), IsConsoleShell(), IsFontDotExt(), IsGenericSystemName(), IsInternalCommand(), IsLanguageAvailable(), IsLiveCD(), IsRootDeviceInstanceID(), IsShortcut(), IsSupportedActivePartition(), KspAddObjectCreateItemToList(), KspCreateDeviceReference(), KsServiceBusEnumCreateRequest(), LangCountryEnumProc(), LangCountryEnumProcEx(), LanguageEnumProc(), LanguageEnumProcEx(), CNewMenu::LoadCachedItems(), LoadEventSources(), LoadSettings(), LoadSetupData(), LoadSetupInf(), LoadShellLinkConsoleInfo(), LocalmonOpenPort(), LogfListItemByName(), LogonPageProc(), LsapLookupAccountRightValue(), LsarpLookupPrivilegeDisplayName(), LsarpLookupPrivilegeValue(), MAIN_AutoStart(), MapVerbToCmdId(), CDefaultContextMenu::MapVerbToCmdId(), MatchVerb(), MMixerGetDataByDeviceName(), MMixerGetMixerByName(), MMSYS_InstallDevice(), MoveKey(), MsvpCheckWorkstations(), NetStatisticsGet(), NtfsDirFindFile(), NtfsGrabFCBFromTable(), NtUserMessageCall(), OnInitDialog(), CShellLink::OnNotify(), OpenConsoleW(), OpenPrintProcessor(), ParseArcName(), ParseCmdLine(), ParseCmdline(), ParseDay(), ParseHour(), ParseLogonHours(), ParseReasonCode(), ParseTime(), ParseUnattend(), PathIsEqual(), pBuildFileList(), PlaySound_GetMMIO(), PreprocessUnattend(), PrintGroupHelp(), PrintPartitionData(), ProcessCodePage(), ProcessCommandLine(), ProcessLangEntry(), ProcessPageCompareFunc(), ProcessUnattendSection(), RCreateServiceW(), ReadPortSettings(), RecycleBinGeneric_IsEqualFileIdentity(), RegConnectRegistryW(), RegFindRecurse(), RegFindWalk(), REnumServiceGroupW(), REnumServicesStatusExW(), RtlpHashAtomName(), RunningOnLiveMedium(), SaveColumnSettings(), SaveCustomPath(), ScLookupServiceByServiceName(), ScmCheckDriver(), ScmCreateManagerHandle(), ScmGetDriverStatus(), ScmGetServiceEntryByDisplayName(), ScmGetServiceEntryByName(), ScmGetServiceGroupByName(), ScmGetServiceImageByImagePath(), ScmIsLocalSystemAccount(), ScmIsSameServiceAccount(), ScmSetServiceGroup(), SdbFindFirstNamedTag(), SdbGetMatchingExe(), SdbpMatchFileAttributes(), SdbpMatchLayer(), SearchDriverRecursive(), SelectDisk(), SelectNode(), SetConsoleCodePage(), setid_main(), SetModeCommand(), SetupStartPage(), SetUserEnvironment(), SetUserEnvironmentVariable(), SetVolumeCallback(), SHELL32_GetDllFromRundll32CommandLine(), SHELL_FindExecutable(), ShowParallelStatus(), SIC_CompareEntries(), SmpConfigureEnvironment(), SmpConfigureKnownDlls(), SmpConfigureSubSystems(), SmpLoadSubSystemsForMuSession(), SndMixerGetLineByName(), SoundsDlgProc(), START_TEST(), StartDocDlgW(), strlist_find_i(), SubContextCompare(), SuggestKeys(), test_checklinkpath(), test_EnumDirFiles(), test_iconlocation(), test_match_ex(), Test_MetricKey(), Test_SPI_SETBEEP(), Test_SPI_SETMOUSEBUTTONSWAP(), test_stringtable(), test_tcp(), test_udp(), TestCommandLine(), TestInterfaceRegistry(), TestModuleRegistry(), TextFileCompare(), throw(), TranslateName(), ua_wcsicmp(), UniqueIdDisk(), UpdateAddress(), UpdateColumnDataHints(), UpdateDialogLineSliderControl(), UpdateDialogLineSwitchControl(), UpdateDriverForPlugAndPlayDevicesW(), UpdateRegistry(), User32DoImeHelp(), VerifyInteg(), W32TmServiceMain(), wmain(), and wWinMain().