#include <ntos.h>
#include <nturtl.h>
#include <zwapi.h>
#include "string.h"
#include "wchar.h"
Go to the source code of this file.
Classes | |
struct | _ALT_RESOURCE_MODULE |
Defines | |
#define | RtlpBitSetAnywhere(Byte) RtlpBitsClearAnywhere[ (~(Byte) & 0xFF) ] |
#define | RtlpBitsSetLow(Byte) RtlpBitsClearLow[ (~(Byte) & 0xFF) ] |
#define | RtlpBitsSetHigh(Byte) RtlpBitsClearHigh[ (~(Byte) & 0xFF) ] |
#define | RtlpBitsSetTotal(Byte) RtlpBitsClearTotal[ (~(Byte) & 0xFF) ] |
#define | LOBYTE(w) ((UCHAR)((w))) |
#define | HIBYTE(w) ((UCHAR)(((USHORT)((w)) >> 8) & 0xFF)) |
#define | GET8(w) ((ULONG)(((w) >> 8) & 0xff)) |
#define | GETHI4(w) ((ULONG)(((w) >> 4) & 0xf)) |
#define | GETLO4(w) ((ULONG)((w) & 0xf)) |
#define | TRAVERSE844W(pTable, wch) ( (pTable)[(pTable)[(pTable)[GET8((wch))] + GETHI4((wch))] + GETLO4((wch))] ) |
#define | NLS_UPCASE(wch) |
#define | NLS_DOWNCASE(wch) |
#define | RTL_PAGED_CODE() |
#define | RtlpInitializeSListHead(_listhead_) (_listhead_)->Alignment = 0 |
#define | RtlpQueryDepthSList(_listhead_) (_listhead_)->Depth |
#define | NO_ALTERNATE_RESOURCE_MODULE (PVOID)(-1) |
Typedefs | |
typedef NTSTATUS(* | PRTL_COMPRESS_WORKSPACE_SIZE )(IN USHORT CompressionEngine, OUT PULONG CompressBufferWorkSpaceSize, OUT PULONG CompressFragmentWorkSpaceSize) |
typedef NTSTATUS(* | PRTL_COMPRESS_BUFFER )(IN USHORT CompressionEngine, IN PUCHAR UncompressedBuffer, IN ULONG UncompressedBufferSize, OUT PUCHAR CompressedBuffer, IN ULONG CompressedBufferSize, IN ULONG UncompressedChunkSize, OUT PULONG FinalCompressedSize, IN PVOID WorkSpace) |
typedef NTSTATUS(* | PRTL_DECOMPRESS_BUFFER )(OUT PUCHAR UncompressedBuffer, IN ULONG UncompressedBufferSize, IN PUCHAR CompressedBuffer, IN ULONG CompressedBufferSize, OUT PULONG FinalUncompressedSize) |
typedef NTSTATUS(* | PRTL_DECOMPRESS_FRAGMENT )(OUT PUCHAR UncompressedFragment, IN ULONG UncompressedFragmentSize, IN PUCHAR CompressedBuffer, IN ULONG CompressedBufferSize, IN ULONG FragmentOffset, OUT PULONG FinalUncompressedSize, IN PVOID WorkSpace) |
typedef NTSTATUS(* | PRTL_DESCRIBE_CHUNK )(IN OUT PUCHAR *CompressedBuffer, IN PUCHAR EndOfCompressedBufferPlus1, OUT PUCHAR *ChunkBuffer, OUT PULONG ChunkSize) |
typedef NTSTATUS(* | PRTL_RESERVE_CHUNK )(IN OUT PUCHAR *CompressedBuffer, IN PUCHAR EndOfCompressedBufferPlus1, OUT PUCHAR *ChunkBuffer, IN ULONG ChunkSize) |
typedef _ALT_RESOURCE_MODULE | ALT_RESOURCE_MODULE |
typedef _ALT_RESOURCE_MODULE * | PALT_RESOURCE_MODULE |
Functions | |
VOID | RtlpGetStackLimits (OUT PULONG_PTR LowLimit, OUT PULONG_PTR HighLimit) |
LONG | LdrpCompareResourceNames (IN ULONG ResourceName, IN PIMAGE_RESOURCE_DIRECTORY ResourceDirectory, IN PIMAGE_RESOURCE_DIRECTORY_ENTRY ResourceDirectoryEntry) |
NTSTATUS | LdrpSearchResourceSection (IN PVOID DllHandle, IN PULONG_PTR ResourceIdPath, IN ULONG ResourceIdPathLength, IN BOOLEAN FindDirectoryEntry, OUT PVOID *ResourceDirectoryOrData) |
LONG | LdrpCompareResourceNames_U (IN ULONG_PTR ResourceName, IN PIMAGE_RESOURCE_DIRECTORY ResourceDirectory, IN PIMAGE_RESOURCE_DIRECTORY_ENTRY ResourceDirectoryEntry) |
NTSTATUS | LdrpSearchResourceSection_U (IN PVOID DllHandle, IN PULONG_PTR ResourceIdPath, IN ULONG ResourceIdPathLength, IN BOOLEAN FindDirectoryEntry, IN BOOLEAN ExactMatchOnly, OUT PVOID *ResourceDirectoryOrData) |
NTSTATUS | LdrpAccessResourceData (IN PVOID DllHandle, IN PIMAGE_RESOURCE_DATA_ENTRY ResourceDataEntry, OUT PVOID *Address OPTIONAL, OUT PULONG Size OPTIONAL) |
VOID | RtlpAnsiPszToUnicodePsz (IN PCHAR AnsiString, IN WCHAR *UnicodeString, IN USHORT AnsiStringLength) |
BOOLEAN | RtlpDidUnicodeToOemWork (IN POEM_STRING OemString, IN PUNICODE_STRING UnicodeString) |
NTSTATUS | RtlCompressWorkSpaceSizeLZNT1 (IN USHORT CompressionEngine, OUT PULONG CompressBufferWorkSpaceSize, OUT PULONG CompressFragmentWorkSpaceSize) |
NTSTATUS | RtlCompressBufferLZNT1 (IN USHORT CompressionEngine, IN PUCHAR UncompressedBuffer, IN ULONG UncompressedBufferSize, OUT PUCHAR CompressedBuffer, IN ULONG CompressedBufferSize, IN ULONG UncompressedChunkSize, OUT PULONG FinalCompressedSize, IN PVOID WorkSpace) |
NTSTATUS | RtlDecompressBufferLZNT1 (OUT PUCHAR UncompressedBuffer, IN ULONG UncompressedBufferSize, IN PUCHAR CompressedBuffer, IN ULONG CompressedBufferSize, OUT PULONG FinalUncompressedSize) |
NTSTATUS | RtlDecompressFragmentLZNT1 (OUT PUCHAR UncompressedFragment, IN ULONG UncompressedFragmentSize, IN PUCHAR CompressedBuffer, IN ULONG CompressedBufferSize, IN ULONG FragmentOffset, OUT PULONG FinalUncompressedSize, IN PVOID WorkSpace) |
NTSTATUS | RtlDescribeChunkLZNT1 (IN OUT PUCHAR *CompressedBuffer, IN PUCHAR EndOfCompressedBufferPlus1, OUT PUCHAR *ChunkBuffer, OUT PULONG ChunkSize) |
NTSTATUS | RtlReserveChunkLZNT1 (IN OUT PUCHAR *CompressedBuffer, IN PUCHAR EndOfCompressedBufferPlus1, OUT PUCHAR *ChunkBuffer, IN ULONG ChunkSize) |
NTSTATUS | DebugPrint (IN PSTRING Output) |
ULONG | DebugPrompt (IN PSTRING Output, IN PSTRING Input) |
PVOID FASTCALL | RtlpInterlockedPopEntrySList (IN PSLIST_HEADER ListHead) |
PVOID FASTCALL | RtlpInterlockedPushEntrySList (IN PSLIST_HEADER ListHead, IN PVOID ListEntry) |
ULONG | RtlpLogExceptionHandler (IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT ContextRecord, IN ULONG_PTR ControlPc, IN PVOID HandlerData, IN ULONG Size) |
VOID | RtlpLogLastExceptionDisposition (IN ULONG LogIndex, IN EXCEPTION_DISPOSITION Disposition) |
BOOLEAN | LdrpVerifyAlternateResourceModule (IN PVOID Module, IN PVOID AlternateModule) |
BOOLEAN | LdrpSetAlternateResourceModuleHandle (IN PVOID Module, IN PVOID AlternateModule) |
Variables | |
CONST CCHAR | RtlpBitsClearAnywhere [256] |
CONST CCHAR | RtlpBitsClearLow [256] |
CONST CCHAR | RtlpBitsClearHigh [256] |
CONST CCHAR | RtlpBitsClearTotal [256] |
PUSHORT | Nls844UnicodeUpcaseTable |
PUSHORT | Nls844UnicodeLowercaseTable |
|
|
|
|
|
|
|
|
|
Value:
Definition at line 231 of file ntrtlp.h. Referenced by RtlDowncaseUnicodeString(). |
|
Value:
Definition at line 219 of file ntrtlp.h. Referenced by CompareUnicodeStrings(), RtlCompareUnicodeString(), RtlEqualUnicodeString(), RtlIsValidOemCharacter(), RtlPrefixUnicodeString(), RtlUpcaseUnicodeChar(), RtlUpcaseUnicodeString(), RtlUpcaseUnicodeToCustomCPN(), RtlUpcaseUnicodeToMultiByteN(), RtlUpcaseUnicodeToOemN(), and RtlUpperChar(). |
|
Definition at line 485 of file ntrtlp.h. Referenced by LdrFlushAlternateResourceModules(), LdrLoadAlternateResourceModule(), and LdrUnloadAlternateResourceModule(). |
|
|
Definition at line 144 of file ntrtlp.h. Referenced by RtlFindSetBits(). |
|
Definition at line 160 of file ntrtlp.h. Referenced by RtlFindSetBits(). |
|
Definition at line 152 of file ntrtlp.h. Referenced by RtlFindSetBits(). |
|
Definition at line 167 of file ntrtlp.h. Referenced by RtlNumberOfSetBits(). |
|
Definition at line 405 of file ntrtlp.h. Referenced by RtlpInitializeHeapLookaside(). |
|
Definition at line 431 of file ntrtlp.h. Referenced by RtlpFreeToHeapLookaside(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 44 of file debug3.c. References DebugService().
|
|
Definition at line 53 of file debug3.c. References DebugService(). Referenced by DbgPrompt().
|
|
Definition at line 96 of file ldrrsrc.c. References EXCEPTION_EXECUTE_HANDLER, LdrLoadAlternateResourceModule(), NT_SUCCESS, NtQueryVirtualMemory(), NTSTATUS(), NULL, RTL_PAGED_CODE, RtlAddressInSectionTable(), RtlImageDirectoryEntryToData(), RtlImageNtHeader(), RtlSectionTableFromVirtualAddress(), Size, Status, and TRUE. Referenced by LdrAccessResource(), LdrpGetFileVersion(), LdrQueryApplicationCompatibilityGoo(), and RtlFindMessage().
|
|
|
|
Definition at line 451 of file ldrrsrc.c. Referenced by LdrEnumResources(), and LdrpSearchResourceSection_U().
|
|
|
|
Definition at line 492 of file ldrrsrc.c. References dir(), EXCEPTION_EXECUTE_HANDLER, FALSE, InstallLangId, LdrLoadAlternateResourceModule(), LdrpCompareResourceNames_U(), n, NT_SUCCESS, NtQueryDefaultLocale(), NtQueryDefaultUILanguage(), NtQueryInstallUILanguage(), NTSTATUS(), NULL, PsDefaultSystemLocaleId, PsInstallUILanguageId, RTL_PAGED_CODE, RtlImageDirectoryEntryToData(), Status, TRUE, UILangId, USE_FIRSTAVAILABLE_LANGID, and USHORT. Referenced by LdrFindResource_U(), LdrFindResourceDirectory_U(), LdrpGetFileVersion(), LdrQueryApplicationCompatibilityGoo(), and RtlFindMessage().
|
|
Definition at line 1492 of file ldrrsrc.c. References _ALT_RESOURCE_MODULE::AlternateModule, AlternateResourceModuleCount, AlternateResourceModules, AltResMemBlockCount, FALSE, MEMBLOCKSIZE, _ALT_RESOURCE_MODULE::ModuleBase, NULL, RESMODSIZE, RtlAllocateHeap, RtlReAllocateHeap(), and TRUE. Referenced by LdrLoadAlternateResourceModule().
|
|
Definition at line 1427 of file ldrrsrc.c. References FALSE, InstallLangId, LdrpGetFileVersion(), NT_SUCCESS, NtQueryDefaultUILanguage(), NtQueryInstallUILanguage(), NTSTATUS(), Status, TRUE, and UILangId.
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 69 of file nlssup.c. References Index, and RtlAnsiCharToUnicodeChar().
|
|
Definition at line 1665 of file nlsxlat.c. References ASSERT, FALSE, NlsMbOemCodePageTag, NlsOemLeadByteInfo, OemDefaultChar, OemTransUniDefaultChar, RTL_PAGED_CODE, TRUE, and USHORT. Referenced by RtlDnsHostNameToComputerName(), RtlUnicodeStringToCountedOemString(), RtlUpcaseUnicodeStringToCountedOemString(), and RtlUpcaseUnicodeStringToOemString().
|
|
Definition at line 126 of file rtl/ia64/miscc.c. Referenced by RtlDispatchException(), RtlGetCallersAddress(), RtlUnwind(), RtlUnwind2(), RtlUnwindReturn(), and RtlUnwindRfp().
|
|
Referenced by RtlpAllocateFromHeapLookaside(). |
|
Referenced by RtlpFreeToHeapLookaside(). |
|
Definition at line 65 of file excptdbg.c. References ASSERT, RtlpExceptionLog, RtlpExceptionLogCount, and Size. Referenced by RtlDispatchException().
|
|
Referenced by RtlDispatchException(). |
|
|
|
Definition at line 176 of file ntrtlp.h. Referenced by RtlResetRtlTranslations(). |
|
Definition at line 175 of file ntrtlp.h. Referenced by RtlResetRtlTranslations(). |
|
Definition at line 134 of file ntrtlp.h. Referenced by RtlFindClearBits(), and RtlFindClearRuns(). |
|
Definition at line 136 of file ntrtlp.h. Referenced by RtlFindClearBits(), RtlFindClearRuns(), and RtlFindMostSignificantBit(). |
|
Definition at line 135 of file ntrtlp.h. Referenced by RtlFindClearBits(), RtlFindClearRuns(), and RtlFindLeastSignificantBit(). |
|
Definition at line 137 of file ntrtlp.h. Referenced by RtlNumberOfClearBits(). |