ReactOS 0.4.16-dev-125-g798ea90
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | MAX_PFX_SIZE 16 |
#define | IS_PATH_SEPARATOR(x) (((x)==L'\\')||((x)==L'/')) |
#define | RTL_CURDIR_IS_REMOVABLE 0x1 |
#define | RTL_CURDIR_DROP_OLD_HANDLE 0x2 |
#define | RTL_CURDIR_ALL_FLAGS (RTL_CURDIR_DROP_OLD_HANDLE | RTL_CURDIR_IS_REMOVABLE) |
#define RTL_CURDIR_ALL_FLAGS (RTL_CURDIR_DROP_OLD_HANDLE | RTL_CURDIR_IS_REMOVABLE) |
C_ASSERT | ( | RTL_CURDIR_ALL_FLAGS | = =OBJ_HANDLE_TAGBITS | ) |
NTSTATUS NTAPI RtlComputePrivatizedDllName_U | ( | _In_ PUNICODE_STRING | DllName, |
_Inout_ PUNICODE_STRING | RealName, | ||
_Inout_ PUNICODE_STRING | LocalName | ||
) |
Definition at line 586 of file path.c.
Referenced by RtlDosApplyFileIsolationRedirection_Ustr(), test_allocations(), and test_dllnames().
RTL_PATH_TYPE NTAPI RtlDetermineDosPathNameType_U | ( | IN PCWSTR | Path | ) |
RTL_PATH_TYPE NTAPI RtlDetermineDosPathNameType_Ustr | ( | IN PCUNICODE_STRING | PathString | ) |
Definition at line 61 of file path.c.
Referenced by RtlDosSearchPath_Ustr(), RtlGetLengthWithoutLastFullDosOrNtPathElement(), RtlIsDosDeviceName_Ustr(), RtlNtPathNameToDosPathName(), and START_TEST().
Definition at line 3029 of file path.c.
Referenced by RtlpCheckDeviceName().
Definition at line 1511 of file path.c.
Referenced by RtlDoesFileExists_U(), RtlDosSearchPath_U(), RtlDosSearchPath_Ustr(), and START_TEST().
BOOLEAN NTAPI RtlDoesFileExists_UStr | ( | IN PUNICODE_STRING | FileName | ) |
Definition at line 1503 of file path.c.
Referenced by LdrpInitializeDotLocalSupport(), RtlDosApplyFileIsolationRedirection_Ustr(), and START_TEST().
Definition at line 1430 of file path.c.
Referenced by LdrpSearchPath(), RtlDoesFileExists_UEx(), RtlDoesFileExists_UStr(), RtlDosSearchPath_Ustr(), and START_TEST().
BOOLEAN NTAPI RtlDosPathNameToNtPathName_U | ( | IN PCWSTR | DosName, |
OUT PUNICODE_STRING | NtName, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
Definition at line 2008 of file path.c.
Referenced by RtlSetCurrentDirectory_U().
NTSTATUS NTAPI RtlDosPathNameToNtPathName_U_WithStatus | ( | IN PCWSTR | DosName, |
OUT PUNICODE_STRING | NtName, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
BOOLEAN NTAPI RtlDosPathNameToRelativeNtPathName_U | ( | IN PCWSTR | DosName, |
OUT PUNICODE_STRING | NtName, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
NTSTATUS NTAPI RtlDosPathNameToRelativeNtPathName_U_WithStatus | ( | IN PCWSTR | DosName, |
OUT PUNICODE_STRING | NtName, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
BOOLEAN NTAPI RtlDosPathNameToRelativeNtPathName_Ustr | ( | IN PCUNICODE_STRING | DosName, |
OUT PUNICODE_STRING | NtName, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
Definition at line 1414 of file path.c.
Referenced by RtlDoesFileExists_UstrEx().
ULONG NTAPI RtlDosSearchPath_U | ( | IN PCWSTR | Path, |
IN PCWSTR | FileName, | ||
IN PCWSTR | Extension, | ||
IN ULONG | Size, | ||
IN PWSTR | Buffer, | ||
OUT PWSTR * | PartName | ||
) |
Definition at line 2168 of file path.c.
NTSTATUS NTAPI RtlDosSearchPath_Ustr | ( | IN ULONG | Flags, |
IN PUNICODE_STRING | PathString, | ||
IN PUNICODE_STRING | FileNameString, | ||
IN PUNICODE_STRING | ExtensionString, | ||
IN PUNICODE_STRING | CallerBuffer, | ||
IN OUT PUNICODE_STRING DynamicString | OPTIONAL, | ||
OUT PUNICODE_STRING *FullNameOut | OPTIONAL, | ||
OUT PSIZE_T FilePartSize | OPTIONAL, | ||
OUT PSIZE_T LengthNeeded | OPTIONAL | ||
) |
Definition at line 2559 of file path.c.
ULONG NTAPI RtlGetCurrentDirectory_U | ( | _In_ ULONG | MaximumLength, |
_Out_bytecap_(MaximumLength) PWSTR | Buffer | ||
) |
Definition at line 1661 of file path.c.
Referenced by GetCurrentDirectoryA(), GetCurrentDirectoryW(), and GetDriveTypeW().
ULONG NTAPI RtlGetFullPathName_U | ( | _In_ PCWSTR | FileName, |
_In_ ULONG | Size, | ||
_Out_z_bytecap_(Size) PWSTR | Buffer, | ||
_Out_opt_ PWSTR * | ShortName | ||
) |
Definition at line 1987 of file path.c.
Referenced by GetFullPathNameA(), GetFullPathNameW(), lookup_assembly(), RtlDosSearchPath_U(), RunTestCases(), and START_TEST().
ULONG NTAPI RtlGetFullPathName_UEx | ( | _In_ PWSTR | FileName, |
_In_ ULONG | BufferLength, | ||
_Out_writes_bytes_(BufferLength) PWSTR | Buffer, | ||
_Out_opt_ PWSTR * | FilePart, | ||
_Out_opt_ RTL_PATH_TYPE * | InputPathType | ||
) |
Definition at line 1942 of file path.c.
Referenced by RtlGetFullPathName_U().
ULONG NTAPI RtlGetFullPathName_Ustr | ( | _In_ PUNICODE_STRING | FileName, |
_In_ ULONG | Size, | ||
_Out_z_bytecap_(Size) PWSTR | Buffer, | ||
_Out_opt_ PCWSTR * | ShortName, | ||
_Out_opt_ PBOOLEAN | InvalidName, | ||
_Out_ RTL_PATH_TYPE * | PathType | ||
) |
Definition at line 734 of file path.c.
Referenced by LdrpResolveFullName(), RtlGetFullPathName_UEx(), RtlGetFullPathName_UstrEx(), RtlpDosPathNameToRelativeNtPathName_Ustr(), RtlSetCurrentDirectory_U(), RunTestCases(), and START_TEST().
NTSTATUS NTAPI RtlGetFullPathName_UstrEx | ( | IN PUNICODE_STRING | FileName, |
IN PUNICODE_STRING | StaticString, | ||
IN PUNICODE_STRING | DynamicString, | ||
IN PUNICODE_STRING * | StringUsed, | ||
IN PSIZE_T | FilePartSize, | ||
OUT PBOOLEAN | NameInvalid, | ||
OUT RTL_PATH_TYPE * | PathType, | ||
OUT PSIZE_T | LengthNeeded | ||
) |
Definition at line 2316 of file path.c.
Referenced by RtlDosSearchPath_Ustr().
NTSTATUS NTAPI RtlGetLengthWithoutLastFullDosOrNtPathElement | ( | IN ULONG | Flags, |
IN PCUNICODE_STRING | Path, | ||
OUT PULONG | LengthOut | ||
) |
Definition at line 496 of file path.c.
Referenced by START_TEST().
NTSTATUS NTAPI RtlGetLengthWithoutTrailingPathSeparators | ( | IN ULONG | Flags, |
IN PCUNICODE_STRING | PathString, | ||
OUT PULONG | Length | ||
) |
Definition at line 1573 of file path.c.
Definition at line 1555 of file path.c.
Referenced by START_TEST().
Definition at line 1639 of file path.c.
ULONG NTAPI RtlIsDosDeviceName_Ustr | ( | IN PCUNICODE_STRING | PathString | ) |
Definition at line 94 of file path.c.
Referenced by RtlGetFullPathName_Ustr(), RtlIsDosDeviceName_U(), and RtlSetCurrentDirectory_U().
NTSTATUS NTAPI RtlNtPathNameToDosPathName | ( | IN ULONG | Flags, |
IN OUT PRTL_UNICODE_STRING_BUFFER | Path, | ||
OUT PULONG | PathType, | ||
PULONG | Unknown | ||
) |
Definition at line 2080 of file path.c.
NTSTATUS NTAPI RtlpApplyLengthFunction | ( | IN ULONG | Flags, |
IN ULONG | Type, | ||
IN PVOID | UnicodeStringOrUnicodeStringBuffer, | ||
IN | NTSTATUSNTAPI *LengthFunction)(ULONG, PUNICODE_STRING, PULONG | ||
) |
Definition at line 446 of file path.c.
Referenced by START_TEST().
NTSTATUS NTAPI RtlpCheckDeviceName | ( | IN PUNICODE_STRING | FileName, |
IN ULONG | Length, | ||
OUT PBOOLEAN | NameInvalid | ||
) |
Definition at line 255 of file path.c.
Referenced by RtlGetFullPathName_Ustr().
Definition at line 306 of file path.c.
Referenced by RtlGetFullPathName_Ustr().
NTSTATUS NTAPI RtlpDosPathNameToRelativeNtPathName_U | ( | IN BOOLEAN | HaveRelative, |
IN PCWSTR | DosName, | ||
OUT PUNICODE_STRING | NtName, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
Definition at line 1387 of file path.c.
Referenced by RtlDosPathNameToNtPathName_U(), RtlDosPathNameToNtPathName_U_WithStatus(), RtlDosPathNameToRelativeNtPathName_U(), and RtlDosPathNameToRelativeNtPathName_U_WithStatus().
NTSTATUS NTAPI RtlpDosPathNameToRelativeNtPathName_Ustr | ( | IN BOOLEAN | HaveRelative, |
IN PCUNICODE_STRING | DosName, | ||
OUT PUNICODE_STRING | NtName, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
Definition at line 1155 of file path.c.
Referenced by RtlDosPathNameToRelativeNtPathName_Ustr(), and RtlpDosPathNameToRelativeNtPathName_U().
Definition at line 431 of file path.c.
Referenced by RtlGetFullPathName_Ustr().
NTSTATUS NTAPI RtlpWin32NTNameToNtPathName_U | ( | IN PUNICODE_STRING | DosPath, |
OUT PUNICODE_STRING | NtPath, | ||
OUT PCWSTR * | PartName, | ||
OUT PRTL_RELATIVE_NAME_U | RelativeName | ||
) |
Definition at line 1081 of file path.c.
Referenced by RtlpDosPathNameToRelativeNtPathName_Ustr().
VOID NTAPI RtlReleaseRelativeName | ( | IN PRTL_RELATIVE_NAME_U | RelativeName | ) |
Definition at line 1534 of file path.c.
Referenced by RtlDoesFileExists_UstrEx().
NTSTATUS NTAPI RtlSetCurrentDirectory_U | ( | IN PUNICODE_STRING | Path | ) |
Definition at line 1739 of file path.c.
const UNICODE_STRING DeviceRootString = RTL_CONSTANT_STRING(L"\\\\.\\") |
Definition at line 34 of file path.c.
Referenced by RtlGetFullPathName_Ustr(), and RtlIsDosDeviceName_Ustr().
PRTLP_CURDIR_REF RtlpCurDirRef |
Definition at line 55 of file path.c.
Referenced by RtlpDosPathNameToRelativeNtPathName_Ustr(), and RtlSetCurrentDirectory_U().
|
static |
Definition at line 50 of file path.c.
Referenced by RtlComputePrivatizedDllName_U().
const UNICODE_STRING RtlpDosAUXDevice = RTL_CONSTANT_STRING(L"AUX") |
Definition at line 44 of file path.c.
Referenced by RtlIsDosDeviceName_Ustr().
const UNICODE_STRING RtlpDosCOMDevice = RTL_CONSTANT_STRING(L"COM") |
Definition at line 42 of file path.c.
Referenced by RtlIsDosDeviceName_Ustr().
const UNICODE_STRING RtlpDosCONDevice = RTL_CONSTANT_STRING(L"CON") |
Definition at line 45 of file path.c.
Referenced by RtlIsDosDeviceName_Ustr().
const UNICODE_STRING RtlpDosDevicesPrefix = RTL_CONSTANT_STRING(L"\\??\\") |
Definition at line 39 of file path.c.
Referenced by RtlNtPathNameToDosPathName(), RtlpDosPathNameToRelativeNtPathName_Ustr(), and RtlpWin32NTNameToNtPathName_U().
const UNICODE_STRING RtlpDosDevicesUncPrefix = RTL_CONSTANT_STRING(L"\\??\\UNC\\") |
Definition at line 36 of file path.c.
Referenced by RtlGetLongestNtPathLength(), RtlNtPathNameToDosPathName(), and RtlpDosPathNameToRelativeNtPathName_Ustr().
const UNICODE_STRING RtlpDosLPTDevice = RTL_CONSTANT_STRING(L"LPT") |
Definition at line 41 of file path.c.
Referenced by RtlIsDosDeviceName_Ustr().
const UNICODE_STRING RtlpDosNULDevice = RTL_CONSTANT_STRING(L"NUL") |
Definition at line 46 of file path.c.
Referenced by RtlIsDosDeviceName_Ustr().
const UNICODE_STRING RtlpDosPRNDevice = RTL_CONSTANT_STRING(L"PRN") |
Definition at line 43 of file path.c.
Referenced by RtlIsDosDeviceName_Ustr().
const UNICODE_STRING RtlpDosSlashCONDevice = RTL_CONSTANT_STRING(L"\\\\.\\CON") |
Definition at line 38 of file path.c.
Referenced by RtlIsDosDeviceName_Ustr().
|
static |
Definition at line 51 of file path.c.
Referenced by RtlComputePrivatizedDllName_U().
const UNICODE_STRING RtlpDoubleSlashPrefix = RTL_CONSTANT_STRING(L"\\\\") |
Definition at line 48 of file path.c.
Referenced by RtlNtPathNameToDosPathName().
|
static |
Definition at line 52 of file path.c.
Referenced by RtlComputePrivatizedDllName_U().
const UNICODE_STRING RtlpWin32NtRootSlash = RTL_CONSTANT_STRING(L"\\\\?\\") |
Definition at line 37 of file path.c.
Referenced by RtlpDosPathNameToRelativeNtPathName_Ustr().