ReactOS 0.4.15-dev-7788-g1ad9096
lstring.c File Reference
#include <k32.h>
Include dependency graph for lstring.c:

Go to the source code of this file.

Functions

int WINAPI lstrcmpA (LPCSTR lpString1, LPCSTR lpString2)
 
int WINAPI lstrcmpiA (LPCSTR lpString1, LPCSTR lpString2)
 
LPSTR WINAPI lstrcpynA (LPSTR lpString1, LPCSTR lpString2, int iMaxLength)
 
LPSTR WINAPI lstrcpyA (LPSTR lpString1, LPCSTR lpString2)
 
LPSTR WINAPI lstrcatA (LPSTR lpString1, LPCSTR lpString2)
 
int WINAPI lstrlenA (LPCSTR lpString)
 
int WINAPI lstrcmpW (LPCWSTR lpString1, LPCWSTR lpString2)
 
int WINAPI lstrcmpiW (LPCWSTR lpString1, LPCWSTR lpString2)
 
LPWSTR WINAPI lstrcpynW (LPWSTR lpString1, LPCWSTR lpString2, int iMaxLength)
 
LPWSTR WINAPI lstrcpyW (LPWSTR lpString1, LPCWSTR lpString2)
 
LPWSTR WINAPI lstrcatW (LPWSTR lpString1, LPCWSTR lpString2)
 
int WINAPI lstrlenW (LPCWSTR lpString)
 

Function Documentation

◆ lstrcatA()

LPSTR WINAPI lstrcatA ( LPSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 123 of file lstring.c.

124{
125 LPSTR Ret = NULL;
126
128 {
129 Ret = strcat(lpString1, lpString2);
130 }
132 {
133 }
134 _SEH2_END;
135
136 return Ret;
137}
char * strcat(char *DstString, const char *SrcString)
Definition: utclib.c:568
#define NULL
Definition: types.h:112
#define _SEH2_END
Definition: filesup.c:22
#define _SEH2_TRY
Definition: filesup.c:19
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:34
char * LPSTR
Definition: xmlstorage.h:182

Referenced by add_file(), cleanup_eventlog(), compare_pf_data(), copy_dll_file(), create_avi_file(), create_cache_file(), create_file(), create_file_with_version(), create_pf_data(), delete_cab_files(), delete_cf(), delete_pf(), delete_pf_native(), delete_pfmsitest_files(), delete_win_ini(), delnode_test(), DllMain(), enum_datetime_procA(), EnumColorProfilesA(), fdi_notify_extract(), full_file_path_name_in_a_CWD(), get_pf_file_size(), get_progfiles_dir(), GetFileNamePreview(), GetNlsSectionName(), getNotepadPath(), GetPathA(), have_profile(), ntlm_AcceptSecurityContext(), ntlm_InitializeSecurityContextW(), pf_exists(), register_server(), run_js_script(), search_absolute_directory(), set_cab_parameters(), set_component_path(), set_file_url(), SHAddToRecentDocs(), START_TEST(), test_AddDelBackupEntry(), test_AdvInstallFile(), test_AssociateColorProfileWithDeviceA(), test_autocreation(), test_BindToObject(), test_cdf_parsing(), test_complocator(), test_concurrentinstall(), test_context(), test_CreateDirectoryA(), test_CryptCATAdminAddRemoveCatalog(), test_currentworkingdir(), test_driver_install(), test_drvGetDefaultCommConfigA(), test_drvGetDefaultCommConfigW(), test_enumerate(), test_enumerate_name(), test_EnumObjects_and_CompareIDs(), test_ExtractFiles(), test_FDICopy(), test_ffcn_directory_overlap(), test_ffcnMultipleThreads(), test_file_in_use(), test_file_in_use_cab(), test_FindFirstChangeNotification(), test_formatrecord_tables(), test_GetAcceptLanguagesA(), test_GetAttributesOf(), test_GetDisplayName(), test_GetLongPathNameA(), test_icon_table(), test_info_size(), test_ini_values(), test_InstallColorProfileA(), test_installprops(), test_lastusedsource(), test_LaunchINFSection(), test_LaunchINFSectionEx(), test_load_save(), test_MoveFileA(), test_MsiConfigureProductEx(), test_MsiEnumClients(), test_MsiEnumPatches(), test_MsiEnumPatchesEx_machine(), test_MsiEnumPatchesEx_usermanaged(), test_MsiEnumPatchesEx_userunmanaged(), test_msiexport(), test_MsiGetComponentPath(), test_MsiGetComponentPathEx(), test_MsiGetFileVersion(), test_MsiGetPatchInfo(), test_MsiGetPatchInfoEx(), test_MsiGetProductCode(), test_MsiGetProductInfoEx(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_MsiGetUserInfo(), test_MsiOpenProduct(), test_MsiProvideQualifiedComponentEx(), test_MsiQueryComponentState(), test_MsiQueryFeatureState(), test_MsiQueryProductState(), test_MsiSetComponentState(), test_MsiSourceListAddMediaDisk(), test_MsiSourceListAddSource(), test_MsiSourceListAddSourceEx(), test_MsiSourceListEnumMediaDisks(), test_MsiSourceListEnumSources(), test_MsiSourceListGetInfo(), test_MsiSourceListSetInfo(), test_OpenFile(), test_packagecoltypes(), test_process_components(), test_profile_directory_readonly(), test_publish_product(), test_publish_sourcelist(), test_QueryAssemblyInfo(), test_readonlyfile(), test_readonlyfile_cab(), test_RemoveDirectoryA(), test_RunSetupCommand(), test_settargetpath(), test_SetupGetInfInformation(), test_SetupGetSourceFileLocation(), test_SetupGetSourceInfo(), test_SetupGetTargetPath(), test_SHCreateStreamOnFileA(), test_SHCreateStreamOnFileEx(), test_SHCreateStreamOnFileW(), test_shortlongsource(), test_sourcedir(), test_UninstallColorProfileA(), testLoadLibraryEx(), tmpdir(), and uniquecontainer().

◆ lstrcatW()

LPWSTR WINAPI lstrcatW ( LPWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 274 of file lstring.c.

275{
276 LPWSTR Ret = NULL;
277
279 {
280 Ret = wcscat(lpString1, lpString2);
281 }
283 {
284 }
285 _SEH2_END;
286
287 return Ret;
288}
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
WCHAR * LPWSTR
Definition: xmlstorage.h:184

Referenced by __wcserror_s(), ACTION_PublishFeatures(), ACTION_RegisterClassInfo(), ACTION_RegisterExtensionInfo(), ACTION_RegisterMIMEInfo(), ACTION_UnregisterClassInfo(), ACTION_UnregisterExtensionInfo(), ACTION_UnregisterMIMEInfo(), add_wildcard(), AddDelBackupEntryW(), alloc_element(), AllocStrCat(), apd_copyfile(), append_current_units(), append_productcode(), AVIBuildFilterW(), AVISaveOptionsUpdate(), build_default_format(), build_full_keypath(), build_manifest_filename(), build_policy_filename(), build_query_string(), cache_container_open_index(), CATIDEnumGUID_Construct(), CLRRuntimeInfo_GetRuntimeDirectory(), clsid_from_string_reg(), CM_Open_Class_Key_ExW(), COM_OpenKeyForAppIdFromCLSID(), COMDLG32_GetCanonicalPath(), CompositeMonikerImpl_GetDisplayName(), create_EnumMoniker(), create_file_test(), create_manifest_file(), create_monodata(), create_package(), create_PropertyBag(), create_server(), create_system_ports_list(), create_testfontfile(), CRYPT_OpenSIPFunctionKey(), CRYPT_SIPDeleteFunction(), CRYPT_SIPWriteFunction(), CryptCATAdminAcquireContext(), CryptCATAdminAddCatalog(), CryptCATAdminEnumCatalogFromHash(), CryptCATAdminRemoveCatalog(), CryptCATAdminResolveCatalogPath(), CryptSIPRetrieveSubjectGuid(), custom_start_server(), DATETIME_GetText(), decode_string(), delete_file_test(), DEVENUM_IMediaCatMoniker_GetDisplayName(), Display_SetTypeFace(), DoEntry(), driver_load(), enum_datetime_procW(), EnumColorProfilesW(), EnumThemes(), export_append_extension(), ExtCabCallback(), FD31_DirListDblClick(), FD31_TestPath(), fetch_user_component(), fetch_user_product(), filecoll_get_Count(), FILEDLG95_InitControls(), FILEDLG95_OnOpen(), FILEDLG95_OnOpenMultipleFiles(), FileMonikerImpl_CommonPrefixWith(), FileMonikerImpl_ComposeWith(), FileMonikerImpl_Construct(), FileMonikerImpl_RelativePathTo(), filesys_BuildPath(), fill_file_description(), find_and_map_dsym(), find_published_source(), FindHTMLHelpSetting(), foldercoll_get_Count(), font_name_from_file(), format_filelist_filename(), get_assembly_display_name(), get_cabinet_filename(), get_engine_clsid(), get_full_path(), get_fusion_filename(), get_lcid_subkey(), get_mono_path_from_registry(), get_path_with_extension(), get_stream_name(), get_temp_filepath(), get_unique_folder_name(), get_wine_loader_name(), get_working_dir(), GetColorDirectoryW(), GetComputerObjectNameW(), GetPathW(), GetStandardColorSpaceProfileW(), GetSystemFontDirectory(), GetSystemFontPath(), HCR_GetDefaultVerbW(), HCR_GetExecuteCommandW(), HCR_GetIconW(), HDropFromClipboard(), header_from_file(), HTTP_build_req(), HTTP_DealWithProxy(), IAssemblyNameImpl_GetDisplayName(), init_paths(), install_assembly(), install_init(), InstallColorProfileW(), is_wine_loader(), ItemMonikerImpl_GetDisplayName(), ITERATE_InstallService(), ITERATE_MoveFiles(), ITERATE_PublishComponent(), ITERATE_RemoveFiles(), ITERATE_RemoveRegistryValuesOnInstall(), ITERATE_RemoveRegistryValuesOnUninstall(), ITERATE_UnpublishComponent(), ITERATE_WriteRegistryValues(), ITSS_IStorageImpl_OpenStorage(), ITSS_IStorageImpl_OpenStream(), load_driver(), load_mapi_providers(), load_resource(), LoadThemes(), LocalGetPrinterDriverDirectory(), MCIWND_UpdateState(), MCIWndProc(), MMDevEnum_GetDefaultAudioEndpoint(), mqr_GetMetadataByName(), msi_add_table_to_db(), msi_build_createsql_columns(), msi_build_directory_name(), msi_create_empty_local_file(), MSI_DatabaseExport(), MSI_DatabaseImport(), msi_dialog_dirlist_handler(), msi_dialog_update_directory_list(), MSI_InstallPackage(), MSI_OpenDatabaseW(), MSI_ProcessMessage(), MsiConfigureFeatureW(), MsiConfigureProductExW(), MsiCreateAndVerifyInstallerDirectory(), MSIREG_DeleteUserFeaturesKey(), MSIREG_DeleteUserProductKey(), MSIREG_DeleteUserUpgradeCodesKey(), MSIREG_OpenClassesUpgradeCodesKey(), MSIREG_OpenFeaturesKey(), MSIREG_OpenInstallerFeaturesKey(), MSIREG_OpenPatchesKey(), MSIREG_OpenProductKey(), MSIREG_OpenUninstallKey(), MSIREG_OpenUpgradeCodesKey(), MSIREG_OpenUserComponentsKey(), MSIREG_OpenUserPatchesKey(), MSIREG_OpenUserUpgradeCodesKey(), MsiReinstallFeatureW(), MsiSourceListAddMediaDiskW(), MsiSourceListAddSourceExW(), myAddPrinterDriverEx(), NdrDllRegisterProxy(), NdrDllUnregisterProxy(), notif_thread_proc(), on_command_filetype(), on_default_action(), open_package(), PathAllocCombine(), PdhMakeCounterPathW(), PNP_GetClassName(), PRINTDLG_UpdatePrinterInfoTextsW(), query_from_path(), ready_media(), recurse_search_directory(), RegInstallW(), register_codec(), register_dsound_devices(), register_legacy_filters(), register_verb(), registry_get_handle(), resolve_filename(), rpcrt4_ncacn_http_open(), run_winemenubuilder(), search_components(), search_dr(), search_for_inf(), set_firewall(), set_installer_properties(), set_up_attribute_test(), SETUP_CreateClassKey(), SetupDiInstallClassExW(), SetupDiInstallDriverFiles(), SetupDiRegisterCoDeviceInstallers(), SetupOpenLog(), SetupQuerySpaceRequiredOnDriveW(), SHFormatDateTimeW(), start_enumeration(), START_TEST(), strdupWW(), StrFormatKBSizeW(), tear_down_attribute_test(), test_AtlAxCreateControl(), test_ax_win(), test_codec(), test_CompleteLocalURL(), test_create(), test_create_effect_from_file(), test_CreateDirectoryW(), test_Data(), test_DeleteFileW(), test_directshow_filter(), test_dmo(), test_drvGetDefaultCommConfigW(), test_dsound(), test_ExtractIcon(), test_ffcn(), test_file_link_information(), test_file_protocol(), test_file_rename_information(), test_FileCollection(), test_find_window_class(), test_FolderCollection(), test_FolderShortcut(), test_GetCachePath(), test_GetFile(), test_GetFileVersion(), test_GetFinalPathNameByHandleW(), test_GetLongPathNameW(), test_GetShortPathNameW(), test_GetUIObject(), test_InstallColorProfileW(), test_int_widths(), test_interfaces(), test_junction_points(), test_knownFolders(), test_legacy_filter(), test_legacy_filter_registration(), test_Load(), test_MatchApplicationsEx(), test_midiout(), test_msidatabase(), test_namespace(), test_navigation(), test_ntncdf(), test_ntncdf_async(), test_ParseDisplayName(), test_ParseName(), test_PathSearchAndQualify(), test_PathUnExpandEnvStrings(), test_PathYetAnotherMakeUniqueName(), test_QueryAssemblyInfo(), test_Read(), test_ReadAll(), test_readdirectorychanges(), test_readdirectorychanges_cr(), test_readdirectorychanges_filedir(), test_readdirectorychanges_null(), test_registry(), test_RemoveDirectoryW(), test_SHCreateDefaultContextMenu(), test_SHCreateShellItem(), test_SHCreateShellItemArray(), test_ShellItemArrayEnumItems(), test_ShellItemArrayGetAttributes(), test_ShellItemGetAttributes(), test_SHFormatDateTimeW(), test_SHGetPathFromIDList(), test_SHGetSetFolderCustomSettings(), test_TransformWithLoadingLocalFile(), test_UninstallColorProfileW(), test_vfw(), test_wavein(), test_waveout(), test_Win32_ComputerSystem(), test_WriteLine(), test_wshshell(), testSystemStore(), truncate_path(), uninstall_assembly(), wildcard_to_file(), WININET_GetSetPassword(), WINTRUST_ReadProviderFromReg(), WINTRUST_RemoveProviderFromReg(), WINTRUST_WriteProviderToReg(), WINTRUST_WriteSingleUsageEntry(), write_predefined_strings(), write_registry_values(), wWinMain(), XCOPY_DoCopy(), XCOPY_ProcessDestParm(), and XCOPY_ProcessSourceParm().

◆ lstrcmpA()

int WINAPI lstrcmpA ( LPCSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 18 of file lstring.c.

19{
20 int Result;
21
22 if (lpString1 == lpString2)
23 return 0;
24 if (lpString1 == NULL)
25 return -1;
26 if (lpString2 == NULL)
27 return 1;
28
29 Result = CompareStringA(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
30 if (Result)
31 Result -= 2;
32
33 return Result;
34}
LCID WINAPI GetThreadLocale(void)
Definition: lang.c:1459
INT WINAPI CompareStringA(LCID lcid, DWORD flags, LPCSTR str1, INT len1, LPCSTR str2, INT len2)
Definition: lang.c:2695
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:409

Referenced by check_font(), check_list(), check_reg_str(), check_wellknown_name(), compare_string1(), CryptFindOIDInfo(), dde_msg_client_wndproc(), dde_server_wndproc(), dde_server_wndprocA(), dde_server_wndprocW(), eto_emf_enum_proc(), expect_shim_imp(), file_matches(), find_prop_in_property(), FindTest(), hook_WaitForInputIdle(), is_prefix_wa(), JustDoIt(), LPropCompareProp(), main(), match_emf_record(), mdi_child_wnd_proc_1(), mdi_child_wnd_proc_2(), mdr_GetValue(), notify_datetime_handler(), notify_generic_text_handler(), notify_tooltip_handler(), option_equal(), parse_clr_metadata(), PathMatchSpecA(), PRINTDLG_ChangePrinterA(), PropertyStorage_PropNameCompare(), proppage_callback_a(), PropVariantCompareEx(), PropVariantToBoolean(), server_ddeml_callback(), server_end_to_end_callback(), START_TEST(), str_eq_wa(), strcmp_wa(), strcmp_ww(), StrCmpCA(), strcomparefunc(), test_32bit_win(), test_appsearch_complocator(), test_appsearch_drlocator(), test_appsearch_inilocator(), test_appsearch_reglocator(), test_authentication(), test_binary(), test_binary_import(), test_BstrCopy(), test_ccpsearch(), test_collation(), test_CompareStringA(), test_complocator(), test_ConvertINetUnicodeToMultiByte(), test_CreateAssemblyNameObject(), test_CreateFontIndirect(), test_CredMarshalCredentialA(), test_CryptCATAdminAddRemoveCatalog(), test_db(), test_dbmerge(), test_dbtopackage(), test_DdeCreateDataHandle(), test_DdeCreateStringHandleW(), test_ddeml_client(), test_DoEnvironmentSubst(), test_EM_GETHANDLE(), test_EM_SETTEXTEX(), test_emptypackage(), test_EnumDateFormatsA(), test_enumerate(), test_enumerate_name(), test_EnumTimeFormatsA(), test_Extract(), test_fieldzero(), test_FoldStringA(), test_font_substitution(), test_forcecodepage(), test_formatrecord(), test_formatrecord_package(), test_formatrecord_tables(), test_fullname(), test_fullname2_helper(), test_GetAcceptLanguagesA(), test_GetDisplayName(), test_GetFullPathNameA(), test_GetLocaleInfoA(), test_GetPrivateProfileString(), test_GetPtrAW(), test_GetRfc1766FromLcid(), test_GetRfc1766Info(), test_GetSetConsoleInputExeName(), test_GetSetEnvironmentVariableA(), test_getstring(), test_GetSystemDirectoryA(), test_GetTextFace(), test_GetUrlCacheConfigInfo(), test_GetWindowsDirectoryA(), test_IMultiLanguage2_ConvertStringFromUnicode(), test_inffilelistA(), test_initialization(), test_Installer_InstallProduct(), test_installprops(), test_InternetCanonicalizeUrlA(), test_interthread_messages(), test_kerberos(), test_lastusedsource(), test_LcidToRfc1766(), test_lcmapstring_unicode(), test_LCMapStringA(), test_LookupAccountName(), test_LookupAccountSid(), test_LZOpenFileA(), test_LZOpenFileA_existing_compressed(), test_LZOpenFileA_nonexisting_compressed(), test_LZOpenFileW(), test_LZOpenFileW_existing_compressed(), test_LZOpenFileW_nonexisting_compressed(), test_MsiDatabaseCommit(), test_MsiEnumClients(), test_MsiEnumPatches(), test_MsiEnumPatchesEx(), test_MsiEnumPatchesEx_machine(), test_MsiEnumPatchesEx_usermanaged(), test_MsiEnumPatchesEx_userunmanaged(), test_msiexport(), test_MsiGetComponentPath(), test_MsiGetComponentPathEx(), test_MsiGetFileVersion(), test_MsiGetPatchInfo(), test_MsiGetPatchInfoEx(), test_MsiGetProductCode(), test_MsiGetProductInfoEx(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_MsiGetUserInfo(), test_MsiInstallProduct(), test_MsiOpenProduct(), test_MsiProvideQualifiedComponentEx(), test_MsiRecordGetString(), test_MsiSetProperty(), test_MsiSourceListAddSourceEx(), test_MsiSourceListEnumMediaDisks(), test_MsiSourceListEnumSources(), test_MsiSourceListGetInfo(), test_multibyte_to_unicode_translations(), test_negative_dest_length(), test_negative_source_length(), test_norecompute(), test_notify_generic_text_helper(), test_notify_proc(), test_oemcharset(), test_Option_PerConnectionOptionA(), test_ParseURLFromOutsideSourceA(), test_ParseURLFromOutsideSourceW(), test_PathAddBackslash(), test_PathAppendA(), test_PathBuildRootA(), test_PathCanonicalizeA(), test_PathCombineA(), test_PathCommonPrefixA(), test_PathFindExtensionA(), test_PathNameA(), test_PdhLookupPerfNameByIndexA(), test_process_components(), test_PropCopyMore(), test_property_table(), test_pSetupGetField(), test_publish_sourcelist(), test_queryreader(), test_readwrite(), test_reg_query_value(), test_RegisterClipboardFormatA(), test_RtlGetFullPathName_U(), test_ScriptGetFontProperties(), test_SetDefaultPrinter(), test_settargetpath(), test_SetupGetFileCompressionInfo(), test_SetupGetFileCompressionInfoEx(), test_SetupGetSourceFileLocation(), test_SetupGetSourceInfo(), test_SHCreateWorkerWindowA(), test_SHFormatDateTimeA(), test_SHGetFolderPathAndSubDirA(), test_SHGetObjectCompatFlags(), test_shortlongsource(), test_sorting(), test_sourcedir(), test_storages_table(), test_streamtable(), test_summary_binary(), test_SysAllocStringByteLen(), test_try_transform(), test_UDS_SETBUDDYINT(), test_updown_base(), test_UrlApplyScheme(), test_urlcacheW(), test_XcvDataPort_ConfigureLPTPortCommandOK(), testAuth(), testGetValidUsages(), testPropsHelper(), testScreenBuffer(), verify_shima_imp(), WorkerThread(), and wsprintfATest().

◆ lstrcmpiA()

int WINAPI lstrcmpiA ( LPCSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 42 of file lstring.c.

43{
44 int Result;
45
46 if (lpString1 == lpString2)
47 return 0;
48 if (lpString1 == NULL)
49 return -1;
50 if (lpString2 == NULL)
51 return 1;
52
53 Result = CompareStringA(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2, -1);
54 if (Result)
55 Result -= 2;
56
57 return Result;
58}
#define NORM_IGNORECASE
Definition: winnls.h:176

Referenced by __ConvertName(), __GetLCIDFromName(), cbt_global_hook_proc(), check_info_filename(), check_lnk_(), check_reg_str(), cmp_mru_strA(), create_sub_body(), dns_strcmpX(), DoTestEntry(), enum_all_fonts_proc(), EnumLocalesProcA(), fdi_decomp(), file_in_list(), find_default_prop(), find_prop(), FindImportDescriptor(), get_window_attributes(), hook_WaitForInputIdle(), IntGetImageBase(), CCopyMoveToMenu::InvokeCommand(), is_local_machineA(), is_our_logged_class(), is_stub_dll(), MACRO_CloseSecondarys(), MACRO_CloseWindow(), MACRO_FocusWindow(), MACRO_HelpOnTop(), MACRO_LookupButton(), main(), matchSpecialFolderPathToEnv(), MimeBody_DeleteProp(), MimeBody_GetProp(), MimeBody_IsContentType(), MimeBody_SetProp(), MimeInternat_FindCharset(), okChildString_(), path_hook_proc(), PathIsExeA(), PropertyStorage_PropNameCompare(), PropVariantCompareEx(), PropVariantToBoolean(), read_prop(), RedirectIat(), scan_subkeys(), SHADD_compare_mru(), SHELL32_GetFSItemAttributes(), SHRegGetBoolUSValueA(), START_TEST(), StrCmpICA(), stricmp_wa(), Test2(), test_appsearch_drlocator(), test_bitmap_font_glyph_index(), test_CompareStringA(), test_CurrentDirectoryA(), test_enum_sections(), test_enumdisplaydevices_monitor(), test_filenames(), test_FindFirstFileA(), test_FunnyChars(), test_get_displayname(), test_get_file_info(), test_get_servicekeyname(), test_get_set(), test_GetFinalPathNameByHandleA(), test_GetIconLocation(), test_GetLongPathNameA(), test_GetProcessImageFileNameA(), test_GetStandardColorSpaceProfileA(), test_GetStandardColorSpaceProfileW(), test_GetTempFileNameA(), test_GetTempPathA(), test_handles(), test_hwnd_message(), test_IME(), test_InitPathA(), test_LoadLibraryEx_search_flags(), test_LongtoShortA(), test_LookupAccountName(), test_module(), test_nonexistent_font(), test_open_svc(), test_OpenFile(), test_PathCreateFromUrl(), test_PathNameA(), test_PrintDlgA(), test_process_components(), test_QueryFullProcessImageNameA(), test_readwrite(), test_registerDefaultOIDFunction(), test_setdir(), test_SetSearchPathMode(), test_settargetpath(), test_SetupGetTargetPath(), test_sh_new_link_info(), test_SHGetFolderPathA(), test_urlcacheA(), test_UrlCreateFromPath(), test_ValidPathA(), testing_status_routine(), testSystemDir(), testWinDir(), translateinfstringex_test(), TTIsEmbeddingEnabledForFacename(), VerInstallFileA(), WDML_ClientProc(), WDML_ServerNameProc(), win_event_global_hook_proc(), WINHELP_CreateHelpWindow(), WINHELP_DeleteWindow(), and WINHELP_GetWindowInfo().

◆ lstrcmpiW()

int WINAPI lstrcmpiW ( LPCWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 194 of file lstring.c.

195{
196 int Result;
197
198 if (lpString1 == lpString2)
199 return 0;
200 if (lpString1 == NULL)
201 return -1;
202 if (lpString2 == NULL)
203 return 1;
204
205 Result = CompareStringW(GetThreadLocale(), NORM_IGNORECASE, lpString1, -1, lpString2, -1);
206 if (Result)
207 Result -= 2;
208
209 return Result;
210}
INT WINAPI CompareStringW(LCID lcid, DWORD flags, LPCWSTR str1, INT len1, LPCWSTR str2, INT len2)
Definition: lang.c:2671

Referenced by ActivateContentTopic(), add_favs_to_menu(), add_font(), AviMux_FindPin(), BaseRendererImpl_FindPin(), CFn_WMCommand(), CFSExtractIcon_CreateInstance(), CExplorerBand::CompareTreeItems(), compareUrlArray(), copy_files(), count_moniker_matches(), CRYPT_FileNameOpenStoreW(), CRYPT_FindStringInMultiString(), CRYPT_SysRegOpenStoreW(), CryptFindLocalizedName(), DdeCmpStringHandles(), DEVENUM_IMediaCatMoniker_IsEqual(), dns_name_matches(), dns_strcmpX(), do_process_key(), ATL::CRegObject::do_process_key(), do_process_root_key(), ATL::CRegObject::do_process_root_key(), DoEntry(), DoInitAutoCompleteWithCWD(), domain_name_matches(), DoSync(), DoTestComputerName(), DoTestEntry(), EditTypeDlg_OnCommand(), EditTypeDlg_OnDrawItem(), EnumStubProc(), CDirectoryItem::EqualPath(), extract_cab_cb(), FILEDLG95_FILETYPE_SearchExt(), FILEDLG95_OnOpen(), FileMonikerImpl_CommonPrefixWith(), FileMonikerImpl_IsEqual(), FileMonikerImpl_RelativePathTo(), CMenuSFToolbar::FillToolbar(), find_control(), find_installed_ports(), find_portinfo2(), find_top_window(), FindExeCplClass(), fnIMultiLanguage3_GetCharsetInfo(), format_filelist_filename(), get_operation(), GetBinaryTypeW(), GetFileTypeIconsEx(), HTMLFormElement_put_encoding(), HTMLFormElement_put_method(), IAssemblyCacheImpl_InstallAssembly(), ILIsParentOrSpecialParent(), Imm32IsRunningInMsoobe(), Imm32WriteImeLayout(), ImmInstallIMEW(), CACLCustomMRU::Initialize(), CVfdShExt::InvokeCommand(), IsPidlPrograms(), IsSwitch(), ITypeComp_fnBind(), ITypeInfo_fnGetIDsOfNames(), JapaneseEra_IsFirstYearGannen(), ldr_enum_callback(), ldr_notify_callback1(), ldr_notify_callback_imports(), load_mapi_provider(), LocalmonAddPortEx(), MSSTYLES_FindClass(), MSSTYLES_GetActiveThemeIni(), MSSTYLES_GetFont(), MSSTYLES_LoadBitmap(), MSSTYLES_LookupEnum(), MSSTYLES_LookupPartState(), MSSTYLES_LookupProperty(), MSSTYLES_OpenThemeFile(), MSSTYLES_ParseThemeIni(), MSTASK_ITaskScheduler_SetTargetComputer(), ok_child_stringWA(), CDesktopBrowser::OnSettingChange(), CTrayWindow::OnSettingChanged(), parse_display_name(), parse_procarch(), parse_pubkey(), PrintOSVersion(), PropertyStorage_PropNameCompare(), PropStgNameToFmtId(), PropVariantCompareEx(), PropVariantToBoolean(), pSetupStringTableAddString(), pSetupStringTableAddStringEx(), pSetupStringTableLookUpString(), pSetupStringTableLookUpStringEx(), CDummyPropertyBag::Read(), realize_font(), reg_add(), reg_copy(), reg_delete(), reg_export(), reg_import(), reg_query(), registry_set_filelist(), rfc822_name_matches(), SampleGrabber_IBaseFilter_FindPin(), ScanAdvancedSettings(), SECUR32_findPackageW(), ServiceStarter(), set_ldids(), SHADD_compare_mru(), SHAddToRecentDocs(), SHCreatePropertyBagOnProfileSection(), shellex_run_context_menu_default(), SHRegGetBoolUSValueW(), SHSettingsChanged(), START_TEST(), StrCmpICW(), SvcRegisterStopCallback(), test_createfont(), test_detailed_info(), TEST_DoTestEntryStruct(), test_EnumCodePages(), test_file_all_name_information(), test_file_info(), test_file_link_information(), test_file_name_information(), test_file_rename_information(), test_FolderCollection(), test_FolderShortcut(), test_fontfamily(), test_format_object(), test_GetAbsolutePathName(), test_GetDisplayName(), test_GetFile(), test_GetFinalPathNameByHandleW(), Test_GetFontResourceInfoW_case1(), Test_GetFontResourceInfoW_case2(), Test_GetFontResourceInfoW_case4(), test_getgenerics(), test_GetSpecialFolder(), test_getstring_bad(), test_GetTempPathW(), test_HashLinks(), test_info_in_assembly(), test_knownFolders(), test_LocalizedNames(), test_namespace(), test_ParseDisplayNamePBC(), test_PathCreateFromUrl(), test_PathSearchAndQualify(), test_ProgIDFromCLSID(), test_QueryFullProcessImageNameW(), test_realization(), test_RtlStringFromGUID(), test_SetApplicationName_GetApplicationName(), test_SetTargetComputer(), test_SHGetFolderPathEx(), test_SHGetPathFromIDList(), test_SHGetSetFolderCustomSettings(), TEST_Start(), test_streamenum(), test_StringFromGUID2(), test_StringTableStringFromId(), test_type_info(), test_typelib(), test_UrlCreateFromPath(), test_Win32_ComputerSystem(), TestCommandLine(), ThemeDlgPostWindowProc(), TLB_get_typeinfo_by_name(), TLB_get_vardesc_by_name(), TREEVIEW_SortOnName(), UPDOWN_SetBuddy(), UPDOWN_SetBuddyInt(), URLMoniker_IsEqual(), Validate_EmptyShimData_Win10(), validate_envW(), validate_operation(), Validate_ShimData_Win10(), ViewTree_FindIcon(), ViewTree_LoadTree(), WDML_BroadcastEnumProc(), WDML_ClientProc(), WDML_ServerNameProc(), WICMapShortNameToGuid(), CDummyPropertyBag::Write(), write_registry_values(), and wWinMain().

◆ lstrcmpW()

int WINAPI lstrcmpW ( LPCWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 170 of file lstring.c.

171{
172 int Result;
173
174 if (lpString1 == lpString2)
175 return 0;
176 if (lpString1 == NULL)
177 return -1;
178 if (lpString2 == NULL)
179 return 1;
180
181 Result = CompareStringW(GetThreadLocale(), 0, lpString1, -1, lpString2, -1);
182 if (Result)
183 Result -= 2;
184
185 return Result;
186}

Referenced by _check_default_props(), _check_set_props(), _findProviderIndexW(), _test_GetCurMoniker(), _test_language_string(), ActiveScript_AddNamedItem(), ActiveScriptSite_GetItemInfo(), add_favs_to_menu(), ADVAPI_IsLocalComputer(), AVIBuildFilterW(), cert_mgr_sort_by_text(), check_display_name_(), check_dropdown_(), check_known_folder(), ClassTest(), compare_addrinfow(), compare_export_(), compare_font(), compare_items(), compare_metadata(), compareAltNameEntry(), CRegistryFolder::CompareIDs(), ConfigFileHandler_startElement(), cpinfo_cmp(), CredDialogFillUsernameCombo(), CredUIConfirmCredentialsW(), CredUIPromptForCredentialsW(), CRYPT_RegReadSerializedFromReg(), CryptFindOIDInfo(), dde_server_wndprocA(), dde_server_wndprocW(), DELNODE_recurse_dirtree(), DEVENUM_IPropertyBag_Read(), dispex_GetDispID(), DoEntry(), DoGetProductType(), DoTestComputerName(), DoTestEntry(), DSPROPERTY_WaveDeviceMappingW(), enum_find_filter(), enum_gac_assemblies(), enum_stream_names(), enumeration_callback(), EnumJoysticks(), export_password_dlg_proc(), FEqualNames(), find_existing_credential(), find_property_index(), find_window(), find_window_callback(), FindDll(), general_on_notify(), get_dest_dir(), get_encoder_clsid(), GetFileTypeIconsEx(), getstring_test(), GetTypeFromName(), HlinkBrowseContext_GetObject(), hls_site_Moniker_ComposeWith(), HttpNegotiate_BeginningTransaction(), IAssemblyNameImpl_IsEqual(), IDxDiagContainerImpl_GetChildContainerInternal(), IDxDiagContainerImpl_GetProp(), iframe_onreadystatechange(), Imm32UnitTest(), InitPropertyBag_IPropertyBag_Read(), InPlaceFrame_SetActiveObject(), InPlaceUIWindow_SetActiveObject(), inst_func2(), InstallColorProfileW(), InternetProtocolInfo_CombineUrl(), InternetProtocolInfo_ParseUrl(), is_expected_variant(), is_ime_window_proc(), is_in_strarray(), is_netmeeting_running(), JustDoIt(), ldap_parse_page_controlW(), LISTVIEW_EndEditLabelT(), LISTVIEW_FindItemW(), LPropCompareProp(), LsapIsLocalComputer(), map_shortname_to_schema(), MimeProtocol_Start(), mixer_test_deviceW(), MMDevEnum_GetDevice(), MNLS_lstrcmpW(), MonikerProp_PutProperty(), MSACM_FillFormatTagsCB(), MsgConversionProcW(), notify_generic_text_handler(), notify_if_changed(), ok_child_stringWA(), on_default_action(), on_fontlist_modified(), on_mime_message_available(), on_sizelist_modified(), pagesetup_set_devnames(), parse_file_header(), parse_hhindex(), ParseDisplayName_ParseDisplayName(), PathMatchSpecW(), PB_Read(), PerformRegAction(), pointer_tests(), PRINTDLG_ChangePrinterW(), PRINTDLG_CreateDevNamesW(), PropertyNotifySink_OnChanged(), proppage_callback_w(), PropVariantCompareEx(), PropVariantToBoolean(), Protocol_Continue(), Protocol_Start(), protocol_start(), ProtocolSink_ReportProgress(), pSetupStringTableAddString(), pSetupStringTableAddStringEx(), pSetupStringTableLookUpString(), pSetupStringTableLookUpStringEx(), r_getMonikerRef(), r_getStringRef(), r_verify_pidl(), REBAR_MoveChildWindows(), REBAR_strdifW(), REGPROC_open_export_file(), res_sec_url_cmp(), resource_strcmp(), RtlAtomTestThread(), run_get_comp_name_tests(), run_test(), run_usergetinfo_tests(), run_wkstausergetinfo_tests(), scriptinfo_cmp(), search_dll_path(), server_end_to_end_callback(), set_up_attribute_test(), SetupQuerySpaceRequiredOnDriveW(), SHGetFileInfoW(), should_enumerate_device(), simple_callbackW(), site_GetItemInfo(), SmartTeeFilter_FindPin(), START_TEST(), STATUSBAR_SetTextT(), statusclb_OnDataAvailable(), statusclb_OnProgress(), Storage_CreateStream(), Storage_OpenStream(), strcmp_aw(), strcmp_wa(), StrCmpCW(), tear_down_attribute_test(), test_32bit_win(), test_about_protocol(), test_aclist_expand(), test_assembly_name_props_line(), test_aw_conversion_dlgproc(), test_aw_conversion_dlgprocA(), test_aw_conversion_dlgprocW(), test_aw_conversion_wndproc(), test_bad_header(), test_basics(), test_BindToObject(), test_BindToStorage(), test_bstr_cache(), test_BuildPath(), test_button_class(), test_catalog_properties(), test_CertRDNValueToStrW(), test_CharToOem_OemToChar(), test_chunked_read(), Test_ClassAtoms(), test_cloneNode(), test_codec(), test_CoInternetCombineIUri_Pluggable(), test_CoInternetCombineUrlEx_Pluggable(), test_CoInternetParseIUri_InvalidArgs(), test_CoInternetParseIUri_Pluggable(), test_CoInternetParseUrl(), test_collation(), test_commandline2argv(), test_convert(), test_cookies(), test_copy(), test_CopyStgMedium(), test_costs(), test_create(), test_create_attribute(), test_create_catalog_file(), test_createNode(), test_CreateTextFile(), test_CreateTypeLib(), test_CredUnmarshalCredentialA(), test_cryptunprotectdata(), test_cue_banner(), test_custom_source(), test_customize(), test_customize_onfolderchange(), test_datalink(), test_DavGetHTTPFromUNCPath(), test_DavGetUNCFromHTTPPath(), test_DdeCreateStringHandleW(), test_decodeAltName(), test_decodeAuthorityKeyId2(), test_decodeCatMemberInfo(), test_decodeCatNameValue(), test_decodeCRLDistPoints(), test_decodePolicyQualifierUserNotice(), test_decoder_info(), test_decodeSPCLink(), test_decodeSPCPEImage(), test_decodeSpOpusInfo(), test_default_client_accessible_object(), test_default_format(), test_default_handler(), test_default_properties(), test_desktop_displaynameof(), test_directory_sort(), test_directshow_filter(), test_dmo(), test_doc_load_from_path(), test_DoEnvironmentSubst(), test_domdoc(), test_domnode(), test_DsClientMakeSpnForTargetServer(), test_DsMakeSpn(), test_dsound(), test_EM_GETHANDLE(), test_EM_GETLINE(), test_EM_SETTEXTEX(), test_EnumTimeFormatsW(), test_exec_fontname(), test_FileCollection(), test_filename_opendlg_(), test_filename_savedlg_(), test_filesourcefilter(), test_find_com_redirection(), test_find_surrogate(), test_find_window_class(), test_FindName(), test_findOIDInfo(), test_fm2_enummatchingfilters(), test_FolderCollection(), test_font_events_disp(), test_format_object(), test_format_record(), test_FormattingXML(), test_get_attributes(), test_get_childNodes(), test_get_doctype(), test_get_firstChild(), test_get_namespaces(), test_get_nodeTypeString(), test_get_prefix(), test_get_tagName(), test_getAttribute(), test_GetBaseName(), test_GetCachePath(), test_GetCharsetInfo_other(), test_GetCodePageInfo(), test_GetDisplayName(), test_GetDrive(), test_GetDriveName(), test_GetDynamicTimeZoneInformation(), test_GetExtensionName(), test_GetFileName(), test_GetFullPathNameW(), test_GetLocaleInfoEx(), test_GetLocaleInfoW(), test_GetLocalName(), test_GetName(), test_GetParentFolderName(), test_GetRemoteName(), test_GetRfc1766Info(), test_getruntime(), test_GetSetEnvironmentVariableW(), test_getstring(), test_GetSystemDirectoryW(), test_GetText(), test_GetTextFace(), test_GetTimeZoneInformationForYear(), test_getuserobjectinformation(), test_GetWindowsDirectoryW(), test_Global(), test_globalness(), test_HlinkClone(), test_HlinkCreateExtensionServices(), test_HlinkGetSetMonikerReference(), test_HlinkGetSetStringReference(), test_HlinkParseDisplayName(), test_HttpOptions(), test_IActiveScriptError(), test_ICInfo(), test_inffilelist(), test_insertBefore(), test_Installer_Products(), test_Installer_RegistryValue(), test_InternetGetSecurityUrl(), test_ITEMIDLIST_format(), test_items(), test_ITextDocument_Open(), test_ITextFont(), test_IUriBuilder_GetFragment(), test_IUriBuilder_GetHost(), test_IUriBuilder_GetPassword(), test_IUriBuilder_GetPath(), test_IUriBuilder_GetQuery(), test_IUriBuilder_GetSchemeName(), test_IUriBuilder_GetUserName(), test_IUriBuilder_HasBeenModified(), test_IWbemPath_GetClassName(), test_IWbemPath_GetNamespaceAt(), test_IWbemPath_GetServer(), test_IWbemPath_GetText(), test_IWbemPath_RemoveNamespaceAt(), test_IWbemPath_SetClassName(), test_IWbemPath_SetNamespaceAt(), test_IWbemPath_SetServer(), test_IWbemPath_SetText(), test_knownFolders(), test_lcmapstring_unicode(), test_LCMapStringEx(), test_legacy_filter(), test_legacy_filter_registration(), test_load(), test_LocaleNameToLCID(), test_marshal_array(), test_marshal_SNB(), test_media_streams(), test_mediadet(), test_menu_add_string(), test_message_allocate_buffer_wide(), test_message_from_64bit_number(), test_message_from_string_wide(), test_message_ignore_inserts_wide(), test_message_invalid_flags_wide(), test_MessageBoxFontTest(), test_MessageSetProp(), test_metadata_APE(), test_metadata_cHRM(), test_metadata_gAMA(), test_metadata_GCE(), test_metadata_gif(), test_metadata_GIF_comment(), test_metadata_IMD(), test_metadata_LSD(), test_midiout(), test_MkParseDisplayNameEx(), test_moniker(), test_mouse_keyboard(), test_MsiGetProductProperty(), test_multibyte_to_unicode_translations(), test_mxattr_addAttribute(), test_mxattr_clear(), test_mxnamespacemanager(), test_mxnamespacemanager_override(), test_mxwriter_cdata(), test_mxwriter_characters(), test_mxwriter_comment(), test_mxwriter_default_properties(), test_mxwriter_dtd(), test_mxwriter_encoding(), test_mxwriter_ignorablespaces(), test_mxwriter_indent(), test_mxwriter_pi(), test_mxwriter_properties(), test_mxwriter_startenddocument(), test_mxwriter_startendelement(), test_mxwriter_startendelement_batch(), test_mxwriter_startendelement_batch2(), test_mxwriter_stream(), test_namedmap_newenum(), test_namespace(), test_namespaces_as_attributes(), test_namespaces_basic(), test_namespaces_change(), test_NameToStrConversionW(), test_negative_source_length(), test_NetFwAuthorizedApplication(), test_newline_normalization(), test_nodeTypedValue(), test_nodeValue(), test_note(), test_notify_generic_text_helper(), test_notify_proc(), test_NtAtom(), test_NtIntAtom(), test_null(), test_OleRegGetUserType(), test_OleUIAddVerbMenu(), test_one_cmdline(), test_Option_PerConnectionOption(), test_overwrite(), test_para_numbering(), test_ParseDisplayName(), test_passport_auth(), test_PathUnExpandEnvStrings(), test_PathUnquoteSpaces(), test_PathYetAnotherMakeUniqueName(), test_prefix_filtering(), test_preserve_charref(), test_profile_string(), test_propertybag_getpropertyinfo(), test_propertytovariant(), test_props(), test_PropVariantChangeType_LPWSTR(), test_PropVariantToString(), test_PropVariantToStringAlloc(), test_PropVariantToStringWithDefault(), test_proxy_direct(), test_pSetupGetField(), test_put_data(), test_put_nodeTypedValue(), test_QueryAssemblyInfo(), test_queryconfig2(), test_QueryPathOfRegTypeLib(), test_queryreader(), test_Read(), test_read_attribute(), test_read_charref(), test_read_element(), test_read_pi(), test_read_public_dtd(), test_read_system_dtd(), test_read_xmldeclaration(), test_ReadAll(), test_recinfo(), test_reference(), test_reg_query_value(), test_registry(), test_registry_property_w(), test_RegQueryValueExPerformanceData(), test_root_children(), test_RtlGetFullPathName_U(), test_RtlInitUnicodeString(), test_RtlQueryPackageIdentity(), test_save(), test_saxreader_properties(), test_Sdb(), test_SdbTagToString(), test_SearchPathW(), test_selection(), test_Session(), test_SetAccountInformation_GetAccountInformation(), test_setAttributeNode(), test_SetComment_GetComment(), test_SetInitialHlink(), test_SetParameters_GetParameters(), test_SetupPromptForDiskW(), test_SHCreateShellItem(), test_SHCreateShellItemArray(), test_SHFormatDateTimeW(), test_SHGetIniString(), test_SHGetNameFromIDList(), test_SHGetPathFromIDList(), test_SQLGetPrivateProfileStringW(), test_SspiEncodeStringsAsAuthIdentity(), test_SspiPrepareForCredWrite(), test_StdHlink(), test_SysAllocString(), test_SysAllocStringByteLen(), test_SysAllocStringLen(), test_SysReAllocString(), test_SysReAllocStringLen(), test_targetpath(), test_textfont_global_defaults(), test_ToUnicode(), test_typelibmarshal(), test_url_canonicalize(), test_url_combine(), test_url_part(), test_urlcacheW(), test_UrlEscapeW(), test_UrlUnescape(), test_VarDateChangeTypeEx(), test_vfw(), test_wavein(), test_waveout(), test_wcscpy_s(), test_WICMapGuidToShortName(), test_WICMapSchemaToName(), test_Win32_Service(), test_WinHttpSendRequest(), test_wm_notify_comboboxex(), test_wm_notify_datetime(), test_wm_notify_tooltip(), test_wndclass_section(), test_WriteLine(), test_WTSEnumerateProcessesW(), test_XDR_datatypes(), test_xmldoc(), test_xmlelem(), test_xmlelem_collection(), test_XMLHTTP(), test_xmlns_attribute(), test_xmlTypes(), test_XPath(), test_xsltext(), testAddCertificateLink(), testCreateSelfSignCert(), testExpand(), testQuery(), testScreenBuffer(), testSetHelper(), textcmpWT(), TREEVIEW_InsertItemT(), update_font_list(), update_size_list(), validate_endptr(), Validate_ShimData_Win2k3(), Validate_ShimData_Win7(), variant_func2(), verify_shimw_imp(), WICMapSchemaToName(), Widget_complex_struct(), Widget_VarArg_Ref_Run(), Widget_VarArg_Run(), Widget_variant(), Widget_variant_array(), WinHttpCrackUrl_test(), WinHttpCreateUrl_test(), winproc_convW(), WNetOpenEnumW(), WorkerThread(), wsprintfWTest(), and XCOPY_DoCopy().

◆ lstrcpyA()

LPSTR WINAPI lstrcpyA ( LPSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 100 of file lstring.c.

101{
102 LPSTR Ret = NULL;
103
105 {
106 memmove(lpString1, lpString2, strlen(lpString2) + 1);
107 Ret = lpString1;
108 }
110 {
111 }
112 _SEH2_END;
113
114 return Ret;
115}
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
#define memmove(s1, s2, n)
Definition: mkisofs.h:881

Referenced by _find_font_for_range(), _RTFGetToken(), add_file(), CertGetValidUsages(), cleanup_eventlog(), compare_pf_data(), create_execute(), create_full_path(), create_pf_data(), create_poke(), CRYPT_ExportPublicKeyInfoEx(), D3DXCreateFontA(), dde_server_wndproc(), delete_cab_files(), delete_cf(), delete_component_path(), delete_pf(), delete_pf_native(), delete_pfmsitest_files(), dns_strdup_a(), DoTestEntry(), DP_CopySessionDesc(), enum_gac_assembly_dirs(), EnumColorProfilesA(), Extract(), ExtractFilesA(), fdi_notify_extract(), fill_file_node(), get_glyph_indices(), get_pf_file_size(), get_progfiles_dir(), get_temp_file(), get_temp_filename(), GetFileNamePreview(), GetNlsSectionName(), GetPathA(), heap_strdup(), init_strings(), make_tmp_file(), node_to_string(), notify_system_change(), ntlm_AcceptSecurityContext(), ntlm_InitializeSecurityContextW(), parent_wnd_proc(), PathGetShortPathA(), pf_exists(), process_pending_renames(), ReadFontTbl(), register_server(), RTFStrSave(), RTFUngetToken(), run_js_script(), search_absolute_directory(), server_ddeml_callback(), set_cab_parameters(), set_component_path(), set_file_url(), set_prop(), setperusersecvalues_test(), SetupGetFileCompressionInfoExA(), SHADD_create_add_mru_data(), SHAddToRecentDocs(), SHQueryValueExA(), SHRegSetPathA(), SQLGetPrivateProfileString(), START_TEST(), test_AddDelBackupEntry(), test_AdvInstallFile(), test_appsearch_inilocator(), test_appsearch_reglocator(), test_autocreation(), test_bcm_get_ideal_size(), test_BindToObject(), test_cdf_parsing(), test_complocator(), test_concurrentinstall(), test_context(), test_copy(), test_CreateFontIndirect(), test_CreateFontIndirectEx(), test_CryptCATAdminAddRemoveCatalog(), test_CurrentDirectoryA(), test_currentworkingdir(), test_dbtopackage(), test_ddeml_client(), test_DoEnvironmentSubst(), test_DrawTextCalcRect(), test_driver_install(), test_dtm_get_ideal_size(), test_EM_GETHANDLE(), test_emf_ExtTextOut_on_path(), test_enumdisplaydevices(), test_enumdisplaydevices_monitor(), test_enumerate_name(), test_Extract(), test_ExtractFiles(), test_ExtTextOut(), test_FDICopy(), test_ffcn_directory_overlap(), test_fieldzero(), test_file_disposition_information(), test_file_in_use(), test_file_in_use_cab(), test_FindFirstChangeNotification(), test_font_substitution(), test_font_transform(), test_formatrecord_tables(), test_fstype_fixup(), test_fullname(), test_fullname2_helper(), test_GdiGetCodePage(), test_GetCachePath(), test_GetDisplayName(), test_getfolderpath(), test_GetFontUnicodeRanges(), test_GetGlyphOutline(), test_GetGlyphOutline_empty_contour(), test_GetGlyphOutline_metric_clipping(), test_GetLongPathNameA(), test_GetPrivateProfileString(), test_GetSetEnvironmentVariableA(), test_GetSystemDirectoryA(), test_GetTempPathA(), test_GetWindowsDirectoryA(), test_icon_table(), test_ini_values(), test_InitPathA(), test_installprops(), test_lastusedsource(), test_LaunchINFSection(), test_LaunchINFSectionEx(), test_LCMapStringA(), test_logfont(), test_mf_SaveDC(), test_MoveFileA(), test_MsiConfigureProductEx(), test_MsiEnumClients(), test_MsiEnumPatches(), test_MsiEnumPatchesEx(), test_MsiEnumPatchesEx_machine(), test_MsiEnumPatchesEx_usermanaged(), test_MsiEnumPatchesEx_userunmanaged(), test_MsiGetComponentPath(), test_MsiGetComponentPathEx(), test_MsiGetFileVersion(), test_MsiGetPatchInfo(), test_MsiGetPatchInfoEx(), test_MsiGetProductCode(), test_MsiGetProductInfoEx(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_MsiGetUserInfo(), test_MsiOpenProduct(), test_MsiProvideQualifiedComponentEx(), test_MsiQueryComponentState(), test_MsiQueryFeatureState(), test_MsiQueryProductState(), test_MsiRecordGetString(), test_MsiSetComponentState(), test_MsiSourceListAddMediaDisk(), test_MsiSourceListAddSource(), test_MsiSourceListAddSourceEx(), test_MsiSourceListEnumMediaDisks(), test_MsiSourceListEnumSources(), test_MsiSourceListGetInfo(), test_MsiSourceListSetInfo(), test_oemcharset(), test_orientation(), test_packagecoltypes(), test_PathAddBackslash(), test_PathAppendA(), test_PathBuildRootA(), test_PathCanonicalizeA(), test_PathCombineA(), test_PathCommonPrefixA(), test_PathFindExtensionA(), test_process_components(), test_property_table(), test_publish_product(), test_publish_sourcelist(), test_readonlyfile(), test_readonlyfile_cab(), test_regconnectregistry(), test_RegisterClipboardFormatA(), test_RunSetupCommand(), test_SaveDC(), test_script_cache_reuse(), test_ScriptCacheGetHeight(), test_ScriptGetFontProperties(), test_ScriptShape(), test_SetTextJustification(), test_SetupDecompressOrCopyFile(), test_SetupGetInfInformation(), test_SetupGetSourceFileLocation(), test_SetupGetSourceInfo(), test_SetupGetTargetPath(), test_shortlongsource(), test_size(), test_sourcedir(), test_SplitShortPathA(), test_status_control(), test_storages_table(), test_StrRetToBSTR(), test_StrRetToStringNW(), test_UrlApplyScheme(), test_ValidPathA(), translateinfstringex_test(), twain_add_onedriver(), uniquecontainer(), and WNetGetUniversalNameA().

◆ lstrcpynA()

LPSTR WINAPI lstrcpynA ( LPSTR  lpString1,
LPCSTR  lpString2,
int  iMaxLength 
)

Definition at line 66 of file lstring.c.

67{
68 LPSTR d = lpString1;
69 LPCSTR s = lpString2;
70 UINT count = iMaxLength;
71 LPSTR Ret = NULL;
72
74 {
75 while ((count > 1) && *s)
76 {
77 count--;
78 *d++ = *s++;
79 }
80
81 if (count)
82 *d = 0;
83
84 Ret = lpString1;
85 }
87 {
88 }
90
91 return Ret;
92}
GLdouble s
Definition: gl.h:2039
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define d
Definition: ke_i.h:81
unsigned int UINT
Definition: ndis.h:50
const char * LPCSTR
Definition: xmlstorage.h:183

◆ lstrcpynW()

LPWSTR WINAPI lstrcpynW ( LPWSTR  lpString1,
LPCWSTR  lpString2,
int  iMaxLength 
)

Definition at line 218 of file lstring.c.

219{
220 LPWSTR d = lpString1;
221 LPCWSTR s = lpString2;
222 UINT count = iMaxLength;
223 LPWSTR Ret = NULL;
224
226 {
227 while ((count > 1) && *s)
228 {
229 count--;
230 *d++ = *s++;
231 }
232
233 if (count)
234 *d = 0;
235
236 Ret = lpString1;
237 }
239 {
240 }
241 _SEH2_END;
242
243 return Ret;
244}
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185

◆ lstrcpyW()

LPWSTR WINAPI lstrcpyW ( LPWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 252 of file lstring.c.

253{
254 LPWSTR Ret = NULL;
255
257 {
258 Ret = wcscpy(lpString1, lpString2);
259 }
261 {
262 }
263 _SEH2_END;
264
265 return Ret;
266}
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)

◆ lstrlenA()

int WINAPI lstrlenA ( LPCSTR  lpString)

Definition at line 145 of file lstring.c.

146{
147 INT Ret = 0;
148
149 if (lpString == NULL)
150 return 0;
151
153 {
154 Ret = strlen(lpString);
155 }
157 {
158 }
159 _SEH2_END;
160
161 return Ret;
162}
int32_t INT
Definition: typedefs.h:58

Referenced by _ConvertAtoW(), _RTFGetToken(), _RunRemoteTest(), _SHStrDupAA(), _test_hkey_main_Value_A(), add_table_to_db(), ansi_to_unicode_list(), AVIFILE_CLSIDFromString(), basic_tests(), CertGetValidUsages(), check_file_data(), check_prop(), CM_Enumerate_Enumerators_ExA(), CM_Get_Class_Key_Name_ExA(), CM_Get_Class_Name_ExA(), compare_metadata(), convert_input_data(), ConvertINetMultiByteToUnicode(), copy_dll_file(), create_cab_file(), create_cdf_file(), create_execute(), create_file(), create_full_path(), create_inf_file(), create_test_files(), CRYPT_AddPrefixA(), CRYPT_AddPrefixAToW(), CRYPT_ExportPublicKeyInfoEx(), CRYPT_GetKeyName(), CryptRegisterOIDFunction(), dde_server_wndproc(), decodeAndCompareBase64_A(), dns_strdup_a(), DnsHostnameToComputerNameA(), DP_CalcSessionDescSize(), DP_CopySessionDesc(), dprintf(), EnumColorProfilesA(), Extract(), fdi_notify_extract(), file_in_list(), FILEDLG95_OnOpen(), find_prop_in_property(), FPropContainsProp(), get_directories(), get_progfiles_dir(), get_prop(), get_version_info(), GetHostnameFromCommand(), GetRequestAndWait(), heap_strdup(), HEAP_strdupA2W(), Imm32WideFromAnsi(), ATL::CA2AEX< t_nBufferLength >::Init(), ATL::CA2WEX< t_nBufferLength >::Init(), init_shfo_tests(), init_TCPIP_provider(), IntDrawState(), InternetCreateUrlA_test(), IntGetModuleInformation(), IntGrayString(), is_prefix_wa(), LISTVIEW_GetStringWidthT(), main(), MSI_RecordGetStringA(), msi_scrolltext_add_text(), multi_sz_lenA(), MultiByteToWideChar(), ntlm_AcceptSecurityContext(), ntlm_InitializeSecurityContextW(), ODBC_ReplicateODBCInstToRegistry(), ODBC_ReplicateODBCToRegistry(), parse_clr_metadata(), path_hook_proc(), PersistFile_Save(), PropCopyMore(), PropertyStorage_WritePropertyToStream(), PropVariantCopy(), register_coclasses(), register_key_defvalueA(), register_mediatypes_parsing(), RTFStrSave(), run_helper(), run_js_script(), s_str_struct_len(), scan_subkeys(), ScCopyProps(), ScRelocProps(), search_absolute_directory(), SECUR32_CalcNTLM2Subkey(), send_msg(), server_ddeml_callback(), set_component_path(), set_prop(), SetupDiGetDriverInfoDetailA(), SetupLogErrorA(), SHADD_create_add_mru_data(), SHAddToRecentDocs(), ShimLib_StringDuplicateA(), SHLWAPI_StrRChrHelperA(), SHOpenRegStream2A(), SHQueryValueExA(), SHRegSetPathA(), SQLInstall_strdup_multi(), SQLInstallTranslatorEx(), START_TEST(), StrRChrA(), StrRChrIA(), StrRStrIA(), test__hread(), test__lcreat(), test__lread(), test__snprintf(), test_appsearch(), test_appsearch_reglocator(), test_authentication(), test_autocreation(), test_CertRDNValueToStrA(), test_cf_dataobject(), test_CoInternetParseIUri(), test_complicated_cookie(), test_copy(), test_CreateDirectoryA(), test_CreateThread_basic(), test_currentworkingdir(), test_dde_aw_transaction(), test_DdeCreateDataHandle(), test_DdeCreateStringHandleW(), test_ddeml_client(), test_decodeInt(), test_DoEnvironmentSubst(), test_DrawTextCalcRect(), test_edit_control_3(), test_edit_control_5(), test_editbox(), test_EM_GETHANDLE(), test_EM_GETTEXTLENGTHEX(), test_EnumObjects_and_CompareIDs(), test_ExpandEnvironmentStringsA(), test_ExtTextOut(), test_FDICopy(), test_fgetwc(), test_file_disposition_information(), test_file_write_read(), test_fileops(), test_find_file(), test_FoldStringA(), test_get_user_profile_dir(), test_get_value(), test_GetAcceptLanguagesA(), test_GetAttributesOf(), test_GetFinalPathNameByHandleA(), test_GetLongPathNameA(), test_GetPrinterData(), test_GetPrinterDataEx(), test_GetPrinterDriverDirectory(), test_GetPrivateProfileString(), test_GetProcessImageFileNameA(), test_GetRfc1766FromLcid(), test_getroletext(), test_GetSetEnvironmentVariableA(), test_getstring(), test_getstring_no_extra(), test_inffilelistA(), test_InitPathA(), test_InternetCanonicalizeUrlA(), test_InternetGetConnectedStateExA(), test_InternetQueryOptionA(), test_interthread_messages(), test_invariant(), test_IUri_GetPropertyLength(), test_lastusedsource(), test_LcidToRfc1766(), test_LCMapStringA(), test_load(), test_LocalizedNames(), test_longtextA(), test_LookupAccountName(), test_lookupPrivilegeName(), test_MRUListA(), test_MsiConfigureProductEx(), test_MsiEnumPatches(), test_MsiEnumPatchesEx_machine(), test_MsiEnumPatchesEx_usermanaged(), test_MsiEnumPatchesEx_userunmanaged(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_MsiOpenProduct(), test_MsiProvideComponent(), test_MsiProvideQualifiedComponentEx(), test_MsiSourceListGetInfo(), test_multibyte_to_unicode_translations(), test_NameToStrConversionA(), test_OpenFile(), test_ParseURL(), test_PathAddBackslash(), test_PathAppendA(), test_PathCanonicalizeA(), test_PathCombineA(), test_PathCommonPrefixA(), test_PathFindExtensionA(), test_PathNameA(), test_pSetupGetField(), test_publish_sourcelist(), test_QueryFullProcessImageNameA(), test_readmode(), test_readwrite(), test_reg_delete_tree(), test_RegisterClipboardFormatA(), test_registerDefaultOIDFunction(), test_RemoveDirectoryA(), test_RpcServerUseProtseq(), test_RtlIsNameLegalDOS8Dot3(), test_RtlUnicodeToUTF8N(), test_set_provider_ex(), test_setdir(), test_SetupCopyOEMInf(), test_SetupGetFileCompressionInfoEx(), test_SetupGetTargetPath(), test_sh_new_link_info(), test_SHFormatDateTimeA(), test_shortlongsource(), test_simpleroundtrip(), test_sourcedir(), test_SplitShortPathA(), test_SQLGetInstalledDrivers(), test_UDS_SETBUDDYINT(), test_updown_create(), test_url_combine(), test_UrlApplyScheme(), test_UrlCanonicalizeA(), test_URLSubRegQueryA(), test_ValidPathA(), test_VerQueryValueA(), test_WM_GETTEXT(), test_WM_GETTEXTLENGTH(), test_WM_SETTEXT(), test_word_wrap(), Test_WSARecv(), test_XcvDataPort_ConfigureLPTPortCommandOK(), test_XcvDataPort_GetTransmissionRetryTimeout(), testAuth(), testGetModuleFileName(), testLoadLibraryEx(), testScreenBuffer(), testSignSeal(), textlenT(), threadFunc1(), thunk_PSecPkgInfoWToA(), translateinfstringex_test(), UlPropSize(), Utf8Convert_(), wine_dbgstr_propvariant(), WNetGetUniversalNameA(), write_string(), and WriteRegistryValue().

◆ lstrlenW()

int WINAPI lstrlenW ( LPCWSTR  lpString)

Definition at line 296 of file lstring.c.

297{
298 INT Ret = 0;
299
300 if (lpString == NULL)
301 return 0;
302
304 {
305 Ret = wcslen(lpString);
306 }
308 {
309 }
310 _SEH2_END;
311
312 return Ret;
313}
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)