#include "ntrtlp.h"
Go to the source code of this file.
Defines | |
#define | NETBIOS_NAME_LEN 16 |
#define | UNICODE_FFFF 0xFFFF |
#define | REVERSE_BYTE_ORDER_MARK 0xFFFE |
#define | BYTE_ORDER_MARK 0xFEFF |
#define | PARAGRAPH_SEPARATOR 0x2029 |
#define | LINE_SEPARATOR 0x2028 |
#define | UNICODE_TAB 0x0009 |
#define | UNICODE_LF 0x000A |
#define | UNICODE_CR 0x000D |
#define | UNICODE_SPACE 0x0020 |
#define | UNICODE_CJK_SPACE 0x3000 |
#define | UNICODE_R_TAB 0x0900 |
#define | UNICODE_R_LF 0x0A00 |
#define | UNICODE_R_CR 0x0D00 |
#define | UNICODE_R_SPACE 0x2000 |
#define | UNICODE_R_CJK_SPACE 0x0030 /* Ambiguous - same as ASCII '0' */ |
#define | ASCII_CRLF 0x0A0D |
#define | __max(a, b) (((a) > (b)) ? (a) : (b)) |
#define | __min(a, b) (((a) < (b)) ? (a) : (b)) |
Functions | |
NTSTATUS | RtlAnsiStringToUnicodeString (OUT PUNICODE_STRING DestinationString, IN PANSI_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
WCHAR | RtlAnsiCharToUnicodeChar (IN OUT PUCHAR *SourceCharacter) |
NTSTATUS | RtlUnicodeStringToAnsiString (OUT PANSI_STRING DestinationString, IN PUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlUpcaseUnicodeStringToAnsiString (OUT PANSI_STRING DestinationString, IN PUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlOemStringToUnicodeString (OUT PUNICODE_STRING DestinationString, IN POEM_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlUnicodeStringToOemString (OUT POEM_STRING DestinationString, IN PUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlUpcaseUnicodeStringToOemString (OUT POEM_STRING DestinationString, IN PUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlOemStringToCountedUnicodeString (OUT PUNICODE_STRING DestinationString, IN POEM_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlUnicodeStringToCountedOemString (OUT POEM_STRING DestinationString, IN PUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlUpcaseUnicodeStringToCountedOemString (OUT POEM_STRING DestinationString, IN PUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlUpcaseUnicodeString (OUT PUNICODE_STRING DestinationString, IN PCUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
NTSTATUS | RtlDowncaseUnicodeString (OUT PUNICODE_STRING DestinationString, IN PUNICODE_STRING SourceString, IN BOOLEAN AllocateDestinationString) |
WCHAR | RtlUpcaseUnicodeChar (IN WCHAR SourceCharacter) |
VOID | RtlFreeUnicodeString (IN OUT PUNICODE_STRING UnicodeString) |
VOID | RtlFreeAnsiString (IN OUT PANSI_STRING AnsiString) |
VOID | RtlFreeOemString (IN OUT POEM_STRING OemString) |
ULONG | RtlxUnicodeStringToAnsiSize (IN PUNICODE_STRING UnicodeString) |
ULONG | RtlxUnicodeStringToOemSize (IN PUNICODE_STRING UnicodeString) |
ULONG | RtlxAnsiStringToUnicodeSize (IN PANSI_STRING AnsiString) |
ULONG | RtlxOemStringToUnicodeSize (IN POEM_STRING OemString) |
LONG | RtlCompareUnicodeString (IN PUNICODE_STRING String1, IN PUNICODE_STRING String2, IN BOOLEAN CaseInSensitive) |
BOOLEAN | RtlEqualUnicodeString (IN PCUNICODE_STRING String1, IN PCUNICODE_STRING String2, IN BOOLEAN CaseInSensitive) |
BOOLEAN | RtlPrefixUnicodeString (IN PUNICODE_STRING String1, IN PUNICODE_STRING String2, IN BOOLEAN CaseInSensitive) |
VOID | RtlCopyUnicodeString (OUT PUNICODE_STRING DestinationString, IN PUNICODE_STRING SourceString OPTIONAL) |
NTSTATUS | RtlAppendUnicodeToString (IN PUNICODE_STRING Destination, IN PCWSTR Source OPTIONAL) |
NTSTATUS | RtlAppendUnicodeStringToString (IN PUNICODE_STRING Destination, IN PUNICODE_STRING Source) |
BOOLEAN | RtlCreateUnicodeString (OUT PUNICODE_STRING DestinationString, IN PCWSTR SourceString) |
BOOLEAN | RtlEqualDomainName (IN PUNICODE_STRING String1, IN PUNICODE_STRING String2) |
BOOLEAN | RtlEqualComputerName (IN PUNICODE_STRING String1, IN PUNICODE_STRING String2) |
BOOLEAN | RtlIsTextUnicode (IN PVOID Buffer, IN ULONG Size, IN OUT PULONG Result OPTIONAL) |
NTSTATUS | RtlDnsHostNameToComputerName (OUT PUNICODE_STRING ComputerNameString, IN PUNICODE_STRING DnsHostNameString, IN BOOLEAN AllocateComputerNameString) |
Variables | |
PUSHORT | NlsAnsiToUnicodeData |
PUSHORT | NlsLeadByteInfo |
|
Definition at line 2093 of file nls.c. Referenced by ArbGetNextAllocationRange(), and RtlIsTextUnicode(). |
|
Definition at line 2094 of file nls.c. Referenced by ArbGetNextAllocationRange(), and RtlIsTextUnicode(). |
|
Definition at line 2091 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
Definition at line 2074 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
Definition at line 2077 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
Definition at line 76 of file nls.c. Referenced by RtlDnsHostNameToComputerName(). |
|
Definition at line 2076 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
Definition at line 2073 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
|
|
|
|
Definition at line 2072 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
|
|
|
|
Definition at line 2087 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
Definition at line 2086 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
Definition at line 2088 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
Definition at line 2085 of file nls.c. Referenced by RtlIsTextUnicode(). |
|
|
|
|
|
Definition at line 171 of file nls.c. References NlsAnsiToUnicodeData, NlsLeadByteInfo, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, and RtlMultiByteToUnicodeN(). Referenced by RegLoadAsciiFileAsUnicode(), and RtlpAnsiPszToUnicodePsz().
|
|
Definition at line 82 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlMultiByteToUnicodeN(), SourceString, and USHORT. Referenced by ChangeDisplaySettingsEx(), CmpAddAliasEntry(), CmpAppendStringToMultiSz(), CmpCreateControlSet(), CmpCreateHwProfileFriendlyName(), CmpFindControlSet(), CmpGetAddRegInfData(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpInitializeSystemHive(), CmpOpenRegKey(), CmpProcessAddRegLine(), CmpProcessBitRegLine(), CmpProcessDelRegLine(), CmpSetVersionData(), CreateDesktopA(), CsrClientConnectToServer(), CtLnpQos(), CtLpcQos(), DbgkCreateThread(), DbgkpSectionHandleToFileHandle(), EnumDisplayDevices(), EnumDisplaySettingsEx(), ExpSystemErrorHandler(), FtCreateKey(), FtDeleteValue(), FtOpenKey(), FtReturnValue(), FtSetValue(), GetHardErrorText(), GetTaskName(), HalpNextDriveLetter(), IoGetBootDiskInformation(), IoInitSystem(), IopAddRemoteBootValuesToRegistry(), IopApplySystemPartitionProt(), IopAssignNetworkDriveLetter(), IopCopyBootLogRegistryToFile(), IopCreateArcNames(), IopGetDumpStack(), IopInitializeBootLogging(), IopMarkBootPartition(), IopReassignSystemRoot(), IopSetupRemoteBootCard(), IopWriteIpAddressToRegistry(), KbdLayerRealDllFileForWBT(), LdrpLoadImportModule(), LdrpSnapThunk(), LdrpUpdateLoadCount(), main(), MemPrintWriteThread(), MiLoadSystemImage(), MiResolveImageReferences(), MiSnapThunk(), NtQuerySystemEnvironmentValue(), processargs(), RtlCreateUnicodeStringFromAsciiz(), RtlInt64ToUnicodeString(), RtlIntegerToUnicodeString(), SepClientOpenPipe(), SepInitializationPhase1(), SepServerSpawnClientProcess(), SeRmInitPhase1(), SetConsoleInputExeNameA(), SetEnvironment(), TestSeInitialize(), and xHalIoAssignDriveLetters().
|
|
Definition at line 1883 of file nls.c. Referenced by CmpAddDriverToList(), CmpGetSymbolicLink(), CmpLoadHiveVolatile(), CmpNameFromAttributes(), DriverEntry(), IoOpenDeviceRegistryKey(), IopBootLog(), IopBuildSymbolicLinkStrings(), IopDeleteSessionSymLinks(), IopGetDriverNameFromKeyNode(), IopLoadDriver(), IopLoadDumpDriver(), IopSafebootDriverLoad(), IopUnregisterDeviceInterface(), IoQueryDeviceDescription(), IsInterestingPath(), KbdLayerRealDllFileForWBT(), LdrLoadAlternateResourceModule(), LdrpInitializeProcess(), LdrQueryImageFileExecutionOptions(), MiLoadSystemImage(), MiResolveImageReferences(), MmCallDllInitialize(), OpenCacheKeyEx(), pIoQueryBusDescription(), pIoQueryDeviceDescription(), RtlpGetRegistryHandle(), xxxResolveDesktop(), and xxxResolveDesktopForWOW().
|
|
Definition at line 1821 of file nls.c. References n, RtlInitUnicodeString(), and USHORT. Referenced by CmpAddDriverToList(), CmpFindDrivers(), CmpLoadHiveVolatile(), CsrpConnectToServer(), DriverEntry(), ExpValidateLocale(), FsVgaServiceParameters(), GetRealDllFileNameWorker(), InitializeRestrictedStuff(), InitPreviousUserString(), IoepCatMsgArg(), IoepGetErrMessage(), IoOpenDeviceRegistryKey(), IopBuildCmResourceList(), IopBuildSymbolicLinkStrings(), IopGetDriverNameFromKeyNode(), IopLoadDriver(), IopLoadDumpDriver(), IopSafebootDriverLoad(), IsInterestingPath(), LdrLoadAlternateResourceModule(), LdrpInitializeProcess(), LdrQueryImageFileExecutionOptions(), MapperConstructRootEnumTree(), MapperMarkKey(), MapperPhantomizeDetectedComPorts(), MapperSeedKey(), MiResolveImageReferences(), MmCallDllInitialize(), OpenCacheKeyEx(), OpenMultiplePortDevice(), pIoQueryBusDescription(), pIoQueryDeviceDescription(), RemoteOpenCacheKeyEx(), RtlFormatCurrentUserKeyPath(), RtlpGetRegistryHandle(), xxxResolveDesktop(), and xxxResolveDesktopForWOW().
|
|
Definition at line 1520 of file nls.c. References ASSERT, NLS_UPCASE, String1, and String2. Referenced by CmpCacheLookup(), CmpDoCompareKeyName(), CmpFindNameInList(), CmpFindValueByNameFromCache(), ComPortDBAdd(), FsRtlCompareNodeAndKey(), IopDeleteSessionSymLinks(), IopEliminateBogusConflict(), IopExecuteHardwareProfileChange(), IopGetDeviceInterfaces(), MyStringCompareW(), PnPBiosCopyDeviceParamKey(), RtlSetEnvironmentVariable(), and SetAppImeCompatFlags().
|
|
Definition at line 1763 of file nls.c. References n, SourceString, and USHORT. Referenced by _InternalGetIconInfo(), CmpLoadHiveVolatile(), CreateDeviceInfo(), CreateProfileUserName(), FsRtlFindInTunnelCache(), FsVgaServiceParameters(), InitPreviousUserString(), IopBootLog(), IopBuildSymbolicLinkStrings(), IopDeleteSessionSymLinks(), IopNotifyHwProfileChange(), IopOpenOrCreateDeviceInterfaceSubKeys(), IopParseDevice(), IopSafebootDriverLoad(), IsInterestingPath(), KbdLayerRealDllFileForWBT(), LdrLoadAlternateResourceModule(), LdrpCheckForLoadedDll(), NtUserResolveDesktopForWOW(), ObCreateObjectType(), ObpCreateDosDevicesDirectory(), PsLocateSystemDll(), RtlConvertSidToUnicodeString(), SeOpenObjectAuditAlarm(), SeOpenObjectForDeleteAuditAlarm(), SepCopyProxyData(), xxxResolveDesktop(), and xxxResolveDesktopForWOW().
|
|
Definition at line 1935 of file nls.c. References FALSE, RTL_PAGED_CODE, RtlAllocateStringRoutine, SourceString, TRUE, and USHORT. Referenced by CmpCreateHwProfileFriendlyName(), GetHardErrorText(), InitializeRestrictedStuff(), IopBootLog(), IopCopyBootLogRegistryToFile(), IopStartNetworkForRemoteBoot(), ObpCreateDosDevicesDirectory(), RtlConvertSidToUnicodeString(), and RtlpDphTargetDllsLoadCallBack().
|
|
Definition at line 2519 of file nls.c. References CHAR, L, NETBIOS_NAME_LEN, NT_SUCCESS, NTSTATUS(), RTL_PAGED_CODE, RtlOemStringToUnicodeString(), RtlpDidUnicodeToOemWork(), RtlUpcaseUnicodeToOemN(), Status, and USHORT. Referenced by IopAddRemoteBootValuesToRegistry().
|
|
Definition at line 1108 of file nls.c. References Index, NLS_DOWNCASE, RTL_PAGED_CODE, RtlAllocateStringRoutine, and SourceString.
|
|
Definition at line 2035 of file nls.c. References RtlEqualDomainName(), String1, and String2.
|
|
Definition at line 1959 of file nls.c. References FALSE, NT_SUCCESS, NTSTATUS(), RTL_PAGED_CODE, RtlEqualString(), RtlFreeOemString(), RtlUpcaseUnicodeStringToOemString(), Status, String1, String2, and TRUE. Referenced by RtlEqualComputerName().
|
|
Definition at line 1608 of file nls.c. References ASSERT, FALSE, NLS_UPCASE, RTL_PAGED_CODE, String1, String2, and TRUE. Referenced by _UserTestForWinStaAccess(), CmpDoSort(), CmpFindRSDTTable(), CmpResolveDriverDependencies(), CmSetValueKey(), FindPathForDevice(), HalpNextDriveLetter(), IopDeviceObjectFromDeviceInstance(), IopGetGroupOrderIndex(), IopIsReportedAlready(), IopLoadBootFilterDriver(), IopLookupGroupName(), IopProcessCriticalDeviceRoutine(), IopProcessSetInterfaceState(), IopRemoveDeviceInterfaces(), IopRemoveStringFromValueKey(), IopSetupRemoteBootCard(), LdrGetDllHandle(), LdrpCheckForLoadedDll(), LdrpMapDll(), MiApplyDriverVerifier(), MiBuildImportsForBootDrivers(), MiInitializeDriverVerifierList(), MiLoadSystemImage(), MiResolveImageReferences(), MiSessionWideReserveImageAddress(), MiVerifyingDriverUnloading(), MmGetSystemRoutineAddress(), NlsKbdInitializePerSystem(), ObpLookupDirectoryEntry(), ParseDesktop(), ResStrCmp(), RtlDosPathNameToNtPathName_U(), RtlGetNtProductType(), RtlIsDosDeviceName_Ustr(), RtlQueryEnvironmentVariable_U(), RtlVolumeDeviceToDosName(), and SubstituteDeviceName().
|
|
Definition at line 1249 of file nls.c. References RTL_PAGED_CODE, and RtlFreeStringRoutine. Referenced by GetHardErrorText(), MiMapViewOfImageSection(), MiSegmentDelete(), MmGetSystemRoutineAddress(), and MmUnloadSystemImage().
|
|
Definition at line 1283 of file nls.c. References RTL_PAGED_CODE, and RtlFreeStringRoutine. Referenced by RtlEqualDomainName().
|
|
|
Definition at line 2098 of file nls.c. References __max, __min, ASCII_CRLF, Buffer, BYTE_ORDER_MARK, FALSE, HIBYTE, LINE_SEPARATOR, LOBYTE, NlsLeadByteInfo, NlsMbCodePageTag, PARAGRAPH_SEPARATOR, REVERSE_BYTE_ORDER_MARK, Size, TRUE, UNICODE_CJK_SPACE, UNICODE_CR, UNICODE_FFFF, UNICODE_LF, UNICODE_R_CR, UNICODE_R_LF, UNICODE_R_SPACE, UNICODE_R_TAB, UNICODE_SPACE, and UNICODE_TAB. Referenced by _ClientEventCallback(), and FixupDdeExecuteIfNecessary().
|
|
Definition at line 716 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlOemToUnicodeN(), SourceString, and USHORT.
|
|
Definition at line 439 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlOemToUnicodeN(), SourceString, and USHORT. Referenced by RtlDnsHostNameToComputerName().
|
|
Definition at line 1690 of file nls.c. References FALSE, n, NLS_UPCASE, String1, String2, and TRUE. Referenced by HalpNextDriveLetter(), IopSetLegacyDeviceInstance(), IsInterestingPath(), RegGetKeyValue(), and xHalIoAssignDriveLetters().
|
|
Definition at line 246 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlUnicodeToMultiByteN(), SourceString, and USHORT. Referenced by ConvertOutputToOem(), ExpQueryModuleInformation(), ExpSystemErrorHandler(), GetConsoleInputExeNameA(), GetHardErrorText(), InternalRegisterClassEx(), IoInitSystem(), IopReassignSystemRoot(), LdrQueryProcessModuleInformation(), ListDrivers(), MiMapViewOfImageSection(), MiSegmentDelete(), MmGetFileNameForSection(), MmGetSystemRoutineAddress(), MmUnloadSystemImage(), NtQuerySystemEnvironmentValue(), NtSetSystemEnvironmentValue(), ObCreateObjectType(), print(), and UnicodePrint().
|
|
Definition at line 816 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlpDidUnicodeToOemWork(), RtlUnicodeToOemN(), SourceString, and USHORT. Referenced by UdfIs8dot3Name().
|
|
Definition at line 528 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlUnicodeToOemN(), SourceString, and USHORT. Referenced by ExpSystemErrorHandler().
|
|
Definition at line 1178 of file nls.c. References NLS_UPCASE, and RTL_PAGED_CODE. Referenced by CmpCompareCompressedName(), CmpCompareInIndex(), CmpComputeHashValue(), CmpCreateKeyControlBlock(), CmpGetNameControlBlock(), CmpGetSymbolicLink(), CmpParseKey(), MiApplyDriverVerifier(), ObpCreateSymbolicLinkName(), ObpLookupDirectoryEntry(), RtlGetFullPathName_Ustr(), RtlpDphIsDllTargeted(), RtlpHashStringToAtom(), RtlUpcaseUnicodeToMultiByteN(), and ViPrintString().
|
|
Definition at line 1038 of file nls.c. References Index, NLS_UPCASE, RTL_PAGED_CODE, RtlAllocateStringRoutine, and SourceString. Referenced by FsRtlAreNamesEqual(), FsRtlIsNameInExpression(), IopCreateMadeupNode(), IopMakeGloballyUniqueId(), UdfInitializeEnumeration(), and UdfUpcaseName().
|
|
Definition at line 350 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlUpcaseUnicodeToMultiByteN(), SourceString, and USHORT.
|
|
Definition at line 927 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlpDidUnicodeToOemWork(), RtlUpcaseUnicodeToOemN(), SourceString, and USHORT. Referenced by RtlIsNameLegalDOS8Dot3().
|
|
Definition at line 617 of file nls.c. References Index, NT_SUCCESS, NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAllocateStringRoutine, RtlFreeStringRoutine, RtlpDidUnicodeToOemWork(), RtlUpcaseUnicodeToOemN(), SourceString, and USHORT. Referenced by RtlEqualDomainName().
|
|
Definition at line 1421 of file nls.c. References RTL_PAGED_CODE, and RtlMultiByteToUnicodeSize().
|
|
Definition at line 1467 of file nls.c. References RTL_PAGED_CODE, and RtlMultiByteToUnicodeSize().
|
|
Definition at line 1314 of file nls.c. References RTL_PAGED_CODE, and RtlUnicodeToMultiByteSize().
|
|
Definition at line 1364 of file nls.c. References RTL_PAGED_CODE, and RtlUnicodeToMultiByteSize().
|
|
Definition at line 68 of file nls.c. Referenced by RtlAnsiCharToUnicodeChar(), RtlConsoleMultiByteToUnicodeN(), RtlMultiByteToUnicodeN(), RtlResetRtlTranslations(), RtlUpcaseUnicodeToMultiByteN(), and RtlUpperChar(). |
|
Definition at line 69 of file nls.c. Referenced by CompareNamesCaseSensitive(), ComputeNameLength(), RtlAnsiCharToUnicodeChar(), RtlConsoleMultiByteToUnicodeN(), RtlIsTextUnicode(), RtlMultiByteToUnicodeN(), RtlMultiByteToUnicodeSize(), RtlResetRtlTranslations(), RtlUpcaseUnicodeToMultiByteN(), and RtlUpperChar(). |