ReactOS  0.4.11-dev-765-g5e024bf
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

LPSTR WINAPI lstrcatA ( LPSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 123 of file lstring.c.

Referenced by add_file(), cleanup_eventlog(), compare_pf_data(), copy_dll_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(), enum_datetime_procA(), EnumColorProfilesA(), fdi_notify_extract(), full_file_path_name_in_a_CWD(), get_pf_file_size(), get_progfiles_dir(), GetFileNamePreview(), GetNlsSectionName(), getNotepadPath(), 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(), SHRestricted(), 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_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_remove_ini_values(), test_RemoveDirectoryA(), test_RunSetupCommand(), test_setpropertyfolder(), 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().

124 {
125  LPSTR Ret = NULL;
126 
127  _SEH2_TRY
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
char * LPSTR
Definition: xmlstorage.h:182
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
_SEH2_END
Definition: create.c:4424
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
LPWSTR WINAPI lstrcatW ( LPWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 274 of file lstring.c.

Referenced by __wcserror_s(), ACTION_AppSearchComponents(), ACTION_RecurseSearchDirectory(), ACTION_RegisterClassInfo(), add_wildcard(), AddDelBackupEntryW(), alloc_child_window(), append_current_units(), AVIBuildFilterW(), AVISaveOptionsUpdate(), CLRRuntimeInfo_GetRuntimeDirectory(), CM_Open_Class_Key_ExW(), COMDLG32_GetCanonicalPath(), create_file_test(), create_manifest_file(), create_monodata(), create_package(), create_testfontfile(), CRYPT_OpenSIPFunctionKey(), CRYPT_SIPDeleteFunction(), CRYPT_SIPWriteFunction(), CryptSIPRetrieveSubjectGuid(), delete_file_test(), Display_SetTypeFace(), DoEntry(), enum_datetime_procW(), EnumColorProfilesW(), EnumThemes(), ExtCabCallback(), FILEDLG95_InitControls(), FILEDLG95_OnOpen(), FILEDLG95_OnOpenMultipleFiles(), fill_file_description(), find_published_source(), format_filelist_filename(), get_mono_path_from_registry(), get_stream_name(), get_temp_filepath(), get_working_dir(), GetColorDirectoryW(), GetComputerObjectNameW(), GetStandardColorSpaceProfileW(), GetSystemFontDirectory(), GetSystemFontPath(), HCR_GetDefaultVerbW(), HCR_GetExecuteCommandW(), HCR_GetIconW(), header_from_file(), IAssemblyNameImpl_GetDisplayName(), init_paths(), install_init(), InstallColorProfileW(), ItemMonikerImpl_GetDisplayName(), ITERATE_MoveFiles(), ITERATE_RemoveFiles(), load_driver(), load_mapi_providers(), load_resource(), LoadThemes(), MMDevEnum_GetDefaultAudioEndpoint(), mqr_GetMetadataByName(), msi_add_table_to_db(), msi_build_createsql_columns(), MSI_DatabaseExport(), MSI_DatabaseImport(), msi_dialog_dirlist_handler(), msi_dialog_update_directory_list(), MSI_InstallPackage(), MSI_OpenDatabaseW(), msi_record_encoded_stream_name(), MsiConfigureFeatureW(), MsiConfigureProductExW(), MsiCreateAndVerifyInstallerDirectory(), MsiSourceListAddMediaDiskW(), MsiSourceListAddSourceExW(), notif_thread_proc(), on_command_filetype(), on_default_action(), PNP_GetClassName(), PRINTDLG_UpdatePrinterInfoTextsW(), read_tree(), RegInstallW(), registry_get_handle(), search_for_inf(), set_firewall(), set_up_attribute_test(), SETUP_CreateClassKey(), SetupDiInstallClassExW(), SetupDiInstallDriverFiles(), SetupDiRegisterCoDeviceInstallers(), SetupOpenLog(), SetupQuerySpaceRequiredOnDriveW(), SHCoCreateInstance(), SHFormatDateTimeW(), show_frame(), START_TEST(), strdupWW(), StrFormatKBSizeW(), tear_down_attribute_test(), test_AtlAxCreateControl(), test_ax_win(), test_codec(), test_CompleteLocalURL(), test_create(), test_CreateDirectoryW(), test_Data(), test_DeleteFileW(), test_directshow_filter(), 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_namespace(), test_navigation(), test_ntncdf(), test_ntncdf_async(), 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_TransformWithLoadingLocalFile(), test_UninstallColorProfileW(), test_vfw(), test_wavein(), test_waveout(), test_Win32_ComputerSystem(), test_WriteLine(), testSystemStore(), truncate_path(), 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().

275 {
276  LPWSTR Ret = NULL;
277 
278  _SEH2_TRY
279  {
280  Ret = wcscat(lpString1, lpString2);
281  }
283  {
284  }
285  _SEH2_END;
286 
287  return Ret;
288 }
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
_SEH2_END
Definition: create.c:4424
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
WCHAR * LPWSTR
Definition: xmlstorage.h:184
int WINAPI lstrcmpA ( LPCSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 18 of file lstring.c.

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(), LPropCompareProp(), main(), match_emf_record(), mdi_child_wnd_proc_1(), mdi_child_wnd_proc_2(), mdr_GetValue(), 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_carriagereturn(), test_ccpsearch(), test_collation(), test_columnorder(), test_CompareStringA(), test_complocator(), test_ConvertINetUnicodeToMultiByte(), test_CreateAssemblyNameObject(), test_CreateFontIndirect(), test_CredMarshalCredentialA(), test_CryptCATAdminAddRemoveCatalog(), test_dbmerge(), test_dbtopackage(), test_DdeCreateDataHandle(), test_DdeCreateStringHandleW(), test_ddeml_client(), test_deleterow(), test_DoEnvironmentSubst(), test_droptable(), test_EM_GETHANDLE(), test_EM_SETTEXTEX(), test_emptypackage(), test_EnumDateFormatsA(), test_enumerate(), test_enumerate_name(), test_EnumTimeFormatsA(), test_envvar(), 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_getproperty(), test_GetPtrAW(), test_GetRfc1766FromLcid(), test_GetRfc1766Info(), test_GetSetConsoleInputExeName(), test_GetSetEnvironmentVariableA(), test_getstring(), test_GetSystemDirectoryA(), test_GetTextFace(), test_GetWindowsDirectoryA(), test_IMultiLanguage2_ConvertStringFromUnicode(), test_inffilelistA(), test_initialization(), test_Installer_InstallProduct(), test_installprops(), test_InternetCanonicalizeUrlA(), test_interthread_messages(), test_join(), 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_noquotes(), test_norecompute(), test_oemcharset(), test_Option_PerConnectionOptionA(), test_order(), 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_quotes(), test_readwrite(), test_reg_query_value(), test_RegisterClipboardFormatA(), test_remove_env_strings(), test_rows_order(), test_RtlGetFullPathName_U(), test_ScriptGetFontProperties(), test_select_column_names(), test_select_markers(), 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_stringtable(), test_summary_binary(), test_SysAllocStringByteLen(), test_tables_order(), test_try_transform(), test_UDS_SETBUDDYINT(), test_update(), test_updown_base(), test_UrlApplyScheme(), test_urlcacheW(), test_viewmodify(), test_viewmodify_delete(), test_viewmodify_refresh(), test_where(), test_XcvDataPort_ConfigureLPTPortCommandOK(), testAuth(), testGetDeviceInstanceId(), testGetValidUsages(), testPropsHelper(), testScreenBuffer(), verify_shima_imp(), and wsprintfATest().

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 }
_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:426
smooth NULL
Definition: ftsmooth.c:416
INT WINAPI CompareStringA(LCID lcid, DWORD flags, LPCSTR str1, INT len1, LPCSTR str2, INT len2)
Definition: lang.c:1923
LCID WINAPI GetThreadLocale(void)
Definition: lang.c:1123
int WINAPI lstrcmpiA ( LPCSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 42 of file lstring.c.

Referenced by __ConvertName(), __GetLCIDFromName(), cbt_global_hook_proc(), check_info_filename(), check_lnk_(), check_reg_str(), cmp_mru_strA(), create_sub_body(), dns_strcmpX(), enum_all_fonts_proc(), EnumLocalesProcA(), fdi_decomp(), file_in_list(), find_default_prop(), find_prop(), FindImportDescriptor(), get_window_attributes(), hook_WaitForInputIdle(), IntGetImageBase(), 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(), SHAddToRecentDocs(), SHELL32_GetFSItemAttributes(), SHRegGetBoolUSValueA(), SHSettingsChanged(), START_TEST(), StrCmpICA(), test_appsearch_drlocator(), test_bitmap_font_glyph_index(), test_CompareStringA(), test_CurrentDirectoryA(), test_enum_sections(), 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_installprops(), 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(), testDeviceRegistryPropertyA(), testGetDeviceInstanceId(), testGetDeviceInterfaceDetail(), testing_status_routine(), testRegisterAndGetDetail(), testSystemDir(), testWinDir(), translateinfstringex_test(), TTIsEmbeddingEnabledForFacename(), VerInstallFileA(), WDML_ClientProc(), WDML_ServerNameProc(), win_event_global_hook_proc(), WINHELP_CreateHelpWindow(), WINHELP_DeleteWindow(), and WINHELP_GetWindowInfo().

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:173
_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:426
smooth NULL
Definition: ftsmooth.c:416
INT WINAPI CompareStringA(LCID lcid, DWORD flags, LPCSTR str1, INT len1, LPCSTR str2, INT len2)
Definition: lang.c:1923
LCID WINAPI GetThreadLocale(void)
Definition: lang.c:1123
int WINAPI lstrcmpiW ( LPCWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 194 of file lstring.c.

Referenced by activate_drive_window(), activate_fs_window(), ActivateContentTopic(), add_favs_to_menu(), add_font(), BaseRendererImpl_FindPin(), CFn_WMCommand(), compareExt(), compareName(), 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(), domain_name_matches(), DoSync(), EditTypeDlg_OnCommand(), EditTypeDlg_OnDrawItem(), FILEDLG95_FILETYPE_SearchExt(), FILEDLG95_OnOpen(), FileMonikerImpl_CommonPrefixWith(), FileMonikerImpl_IsEqual(), FileMonikerImpl_RelativePathTo(), ATL::CImage::FileTypeFromExtension(), find_control(), find_installed_ports(), find_portinfo2(), find_top_window(), fnIMultiLanguage3_GetCharsetInfo(), format_filelist_filename(), get_cmp_func(), get_operation(), GetBinaryTypeW(), ATL::CImage::GetEncoderClsid(), GetFileTypeIconsEx(), HTMLFormElement_put_encoding(), HTMLFormElement_put_method(), IAssemblyCacheImpl_InstallAssembly(), CVfdShExt::InvokeCommand(), is_exe_file(), ITypeComp_fnBind(), ITypeInfo_fnGetIDsOfNames(), ldr_enum_callback(), ldr_notify_callback1(), ldr_notify_callback_imports(), load_mapi_provider(), MSSTYLES_FindClass(), MSSTYLES_GetActiveThemeIni(), MSSTYLES_GetFont(), MSSTYLES_LoadBitmap(), MSSTYLES_LookupEnum(), MSSTYLES_LookupPartState(), MSSTYLES_LookupProperty(), MSSTYLES_OpenThemeFile(), MSSTYLES_ParseThemeIni(), MSTASK_ITaskScheduler_SetTargetComputer(), ok_child_stringWA(), parse_display_name(), parse_procarch(), parse_pubkey(), PrintOSVersion(), PropertyStorage_PropNameCompare(), PropStgNameToFmtId(), PropVariantCompareEx(), PropVariantToBoolean(), pSetupStringTableAddString(), pSetupStringTableAddStringEx(), pSetupStringTableLookUpString(), pSetupStringTableLookUpStringEx(), realize_font(), registry_set_filelist(), rfc822_name_matches(), SampleGrabber_IBaseFilter_FindPin(), ScanAdvancedSettings(), SECUR32_findPackageW(), ServiceStarter(), set_ldids(), shellex_run_context_menu_default(), SHRegGetBoolUSValueW(), SHSettingsChanged(), StrCmpICW(), SvcRegisterStopCallback(), test_createfont(), test_detailed_info(), 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_NetFwAuthorizedApplication(), test_ParseDisplayNamePBC(), test_PathCreateFromUrl(), test_PathSearchAndQualify(), test_ProgIDFromCLSID(), test_QueryFullProcessImageNameW(), test_realization(), test_RtlStringFromGUID(), test_SetApplicationName_GetApplicationName(), test_SetTargetComputer(), test_SHGetFolderPathEx(), test_SHGetPathFromIDList(), test_streamenum(), test_StringFromGUID2(), test_StringTableStringFromId(), test_type_info(), test_typelib(), test_UrlCreateFromPath(), test_Win32_ComputerSystem(), testDeviceRegistryPropertyW(), ThemeDlgPostWindowProc(), THEMING_DialogSubclassProc(), TLB_get_typeinfo_by_name(), TLB_get_vardesc_by_name(), TREEVIEW_SortOnName(), UPDOWN_SetBuddy(), UPDOWN_SetBuddyInt(), URLMoniker_IsEqual(), Validate_EmptyShimData_Win10(), Validate_ShimData_Win10(), ViewTree_FindIcon(), ViewTree_LoadTree(), WDML_BroadcastEnumProc(), WDML_ClientProc(), WDML_ServerNameProc(), WICMapShortNameToGuid(), wmain(), and write_registry_values().

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 }
#define NORM_IGNORECASE
Definition: winnls.h:173
_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:426
smooth NULL
Definition: ftsmooth.c:416
INT WINAPI CompareStringW(LCID lcid, DWORD flags, LPCWSTR str1, INT len1, LPCWSTR str2, INT len2)
Definition: lang.c:1899
LCID WINAPI GetThreadLocale(void)
Definition: lang.c:1123
int WINAPI lstrcmpW ( LPCWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 170 of file lstring.c.

Referenced by _check_default_props(), _check_set_props(), _test_GetCurMoniker(), _test_language_string(), ActiveScript_AddNamedItem(), add_favs_to_menu(), add_font_to_fonttbl(), ADVAPI_IsLocalComputer(), AVIBuildFilterW(), BindCtxImpl_GetObjectIndex(), check_display_name_(), check_known_folder(), ClassMoniker_IsEqual(), ClassTest(), compare_addrinfow(), compare_export_(), compare_items(), compare_metadata(), compareAltNameEntry(), ConfigFileHandler_startElement(), cpinfo_cmp(), CRYPT_RegReadSerializedFromReg(), CryptFindOIDInfo(), dde_server_wndprocA(), dde_server_wndprocW(), DELNODE_recurse_dirtree(), DoEntry(), DSPROPERTY_WaveDeviceMappingW(), enum_find_filter(), enum_gac_assemblies(), enum_stream_names(), EnumJoysticks(), FileMonikerImpl_ComposeWith(), FileMonikerImpl_Construct(), find_font_in_fonttbl(), find_property_index(), find_window_callback(), FindDll(), general_on_notify(), get_cmp_func(), get_dest_dir(), get_encoder_clsid(), GetClassFile(), GetFileTypeIconsEx(), getstring_test(), HlinkBrowseContext_GetObject(), hls_site_Moniker_ComposeWith(), HttpNegotiate_BeginningTransaction(), IDxDiagContainerImpl_GetChildContainerInternal(), IDxDiagContainerImpl_GetProp(), iframe_onreadystatechange(), 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(), ItemMonikerImpl_IsEqual(), ldap_parse_page_controlW(), LISTVIEW_EndEditLabelT(), LISTVIEW_FindItemW(), LsapIsLocalComputer(), map_shortname_to_schema(), ME_GetCharFormat(), ME_IsFontEqual(), MimeProtocol_Start(), mixer_test_deviceW(), MMDevEnum_GetDevice(), MonikerProp_PutProperty(), MsgConversionProcW(), notify_if_changed(), ok_child_stringWA(), on_default_action(), on_fontlist_modified(), on_sizelist_modified(), pagesetup_set_devnames(), ParseDisplayName_ParseDisplayName(), PathMatchSpecW(), PB_Read(), pointer_tests(), PRINTDLG_ChangePrinterW(), PRINTDLG_CreateDevNamesW(), PropertyNotifySink_OnChanged(), PropertyStorage_PropNameCompare(), 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(), res_sec_url_cmp(), resource_strcmp(), RtlAtomTestThread(), run_get_comp_name_tests(), run_usergetinfo_tests(), run_wkstausergetinfo_tests(), scriptinfo_cmp(), server_end_to_end_callback(), set_up_attribute_test(), SetupQuerySpaceRequiredOnDriveW(), setValue(), SHGetFileInfoW(), should_enumerate_device(), show_frame(), simple_callbackW(), START_TEST(), STATUSBAR_SetTextT(), statusclb_OnDataAvailable(), statusclb_OnProgress(), Storage_CreateStream(), Storage_OpenStream(), StorageBaseImpl_CopyChildEntryTo(), StorageBaseImpl_CopyTo(), strcmp_aw(), strcmp_wa(), StrCmpCW(), string_off_equal(), tear_down_attribute_test(), test_32bit_win(), test_about_protocol(), 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_create(), test_create_attribute(), test_create_catalog_file(), test_createNode(), test_CreateTextFile(), test_CreateTypeLib(), test_CredUnmarshalCredentialA(), test_cryptunprotectdata(), 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_handler(), test_default_properties(), test_devenum(), test_directory_sort(), test_directshow_filter(), 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_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_inet_pton(), 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_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_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_basic(), test_namespaces_change(), test_NameToStrConversionW(), test_negative_source_length(), test_newline_normalization(), test_nodeTypedValue(), test_nodeValue(), test_NtAtom(), test_NtIntAtom(), test_null(), test_OleRegGetUserType(), test_OleUIAddVerbMenu(), test_one_cmdline(), test_Option_PerConnectionOption(), test_overwrite(), test_para_numbering(), test_PathUnExpandEnvStrings(), test_PathUnquoteSpaces(), test_PathYetAnotherMakeUniqueName(), test_preserve_charref(), test_profile_string(), test_propertybag_getpropertyinfo(), test_propertytovariant(), test_PropVariantChangeType_LPWSTR(), 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_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_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_wndclass_section(), test_WriteLine(), test_WSAAddressToStringW(), 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(), TMStubImpl_Invoke(), TREEVIEW_InsertItemT(), update_font_list(), update_size_list(), validate_endptr(), Validate_ShimData_Win2k3(), Validate_ShimData_Win7(), variant_func2(), verify_shimw_imp(), WICMapSchemaToName(), Widget_VarArg_Ref_Run(), Widget_VarArg_Run(), WinHttpCrackUrl_test(), WinHttpCreateUrl_test(), winproc_convW(), wsprintfWTest(), and XCOPY_DoCopy().

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 }
_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:426
smooth NULL
Definition: ftsmooth.c:416
INT WINAPI CompareStringW(LCID lcid, DWORD flags, LPCWSTR str1, INT len1, LPCWSTR str2, INT len2)
Definition: lang.c:1899
LCID WINAPI GetThreadLocale(void)
Definition: lang.c:1123
LPSTR WINAPI lstrcpyA ( LPSTR  lpString1,
LPCSTR  lpString2 
)

Definition at line 100 of file lstring.c.

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_ExportRsaPublicKeyInfoEx(), D3DXCreateFontA(), dde_server_wndproc(), delete_cab_files(), delete_cf(), delete_component_path(), delete_pf(), delete_pf_native(), delete_pfmsitest_files(), dns_strdup_a(), 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(), 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(), SHRestricted(), SQLGetPrivateProfileString(), START_TEST(), test_AddDelBackupEntry(), test_AdvInstallFile(), test_appsearch_inilocator(), test_appsearch_reglocator(), test_autocreation(), test_BindToObject(), test_cdf_parsing(), test_columnorder(), 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_EM_GETHANDLE(), test_emf_ExtTextOut_on_path(), 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_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_remove_ini_values(), test_RunSetupCommand(), test_SaveDC(), test_script_cache_reuse(), test_ScriptCacheGetHeight(), test_ScriptGetFontProperties(), test_ScriptShape(), test_setpropertyfolder(), 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().

101 {
102  LPSTR Ret = NULL;
103 
104  _SEH2_TRY
105  {
106  memmove(lpString1, lpString2, strlen(lpString2) + 1);
107  Ret = lpString1;
108  }
110  {
111  }
112  _SEH2_END;
113 
114  return Ret;
115 }
#define memmove(s1, s2, n)
Definition: mkisofs.h:881
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
char * LPSTR
Definition: xmlstorage.h:182
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
_SEH2_END
Definition: create.c:4424
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
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 
73  _SEH2_TRY
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  }
89  _SEH2_END;
90 
91  return Ret;
92 }
char * LPSTR
Definition: xmlstorage.h:182
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
const char * LPCSTR
Definition: xmlstorage.h:183
#define d
Definition: ke_i.h:81
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLdouble s
Definition: gl.h:2039
_SEH2_END
Definition: create.c:4424
unsigned int UINT
Definition: ndis.h:50
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
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 
225  _SEH2_TRY
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
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
#define d
Definition: ke_i.h:81
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLdouble s
Definition: gl.h:2039
_SEH2_END
Definition: create.c:4424
unsigned int UINT
Definition: ndis.h:50
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LPWSTR WINAPI lstrcpyW ( LPWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 252 of file lstring.c.

253 {
254  LPWSTR Ret = NULL;
255 
256  _SEH2_TRY
257  {
258  Ret = wcscpy(lpString1, lpString2);
259  }
261  {
262  }
263  _SEH2_END;
264 
265  return Ret;
266 }
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_SEH2_END
Definition: create.c:4424
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
WCHAR * LPWSTR
Definition: xmlstorage.h:184
int WINAPI lstrlenA ( LPCSTR  lpString)

Definition at line 145 of file lstring.c.

Referenced by _ConvertAtoW(), _RTFGetToken(), _SHStrDupAA(), _test_hkey_main_Value_A(), add_table_to_db(), ansi_to_unicode_list(), AVIFILE_CLSIDFromString(), basic_tests(), CertGetValidUsages(), check_file_data(), CM_Enumerate_Enumerators_ExA(), CM_Get_Class_Key_Name_ExA(), CM_Get_Class_Name_ExA(), compare_metadata(), ConvertINetMultiByteToUnicode(), copy_dll_file(), create_cab_file(), create_cdf_file(), create_execute(), create_file(), create_full_path(), create_test_files(), CRYPT_AddPrefixA(), CRYPT_AddPrefixAToW(), CRYPT_ExportRsaPublicKeyInfoEx(), 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(), HEAP_strdupA2W(), init_shfo_tests(), init_TCPIP_provider(), IntDrawState(), InternetCreateUrlA_test(), IntGrayString(), is_prefix_wa(), LISTVIEW_GetStringWidthT(), main(), msi_export_forcecodepage(), msi_export_summaryinformation(), MSI_RecordGetStringA(), msi_scrolltext_add_text(), 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(), save_prop(), scan_subkeys(), ScCopyProps(), ScRelocProps(), search_absolute_directory(), SECUR32_CalcNTLM2Subkey(), 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_MsiSourceListAddSource(), 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_XcvDataPort_ConfigureLPTPortCommandOK(), test_XcvDataPort_GetTransmissionRetryTimeout(), testAuth(), testGetModuleFileName(), testLoadLibraryEx(), testScreenBuffer(), testSignSeal(), textlenT(), threadFunc1(), thunk_PSecPkgInfoWToA(), translateinfstringex_test(), UlPropSize(), wine_dbgstr_propvariant(), WNetGetUniversalNameA(), and write_string().

146 {
147  INT Ret = 0;
148 
149  if (lpString == NULL)
150  return 0;
151 
152  _SEH2_TRY
153  {
154  Ret = strlen(lpString);
155  }
157  {
158  }
159  _SEH2_END;
160 
161  return Ret;
162 }
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
int32_t INT
Definition: typedefs.h:56
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
_SEH2_END
Definition: create.c:4424
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
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 
303  _SEH2_TRY
304  {
305  Ret = wcslen(lpString);
306  }
308  {
309  }
310  _SEH2_END;
311 
312  return Ret;
313 }
int32_t INT
Definition: typedefs.h:56
_SEH2_TRY
Definition: create.c:4250
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
_SEH2_END
Definition: create.c:4424
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)