16#define WIN32_NO_STATUS
25#define OBJ_NAME_PATH_SEPARATOR ((WCHAR)L'\\')
29 WCHAR ArcPath[
MAX_PATH] =
L"multi(5)disk()rdisk(1)partition()\\ReactOS";
35 NormalizedArcPath.
Buffer = NormalizedArcPathBuffer;
36 NormalizedArcPath.
Length = 0;
37 NormalizedArcPath.
MaximumLength =
sizeof(NormalizedArcPathBuffer);
40 wprintf(
L"ArcPath = '%s' ; Normalized = '%wZ'\n", ArcPath, &NormalizedArcPath);
42 NtPath.
Buffer = NtPathBuffer;
48 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
50 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
52 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
54 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
56 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
58 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
60 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
62 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
64 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
66 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
68 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
70 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
72 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
74 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
76 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
78 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
84 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
85 ArcPathToNtPath(&NtPath,
L"scsi(1)disk(3)rdisk(3)partition(2)\\OS\\ARCOS\\LOADER");
86 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
92 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
94 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
96 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
98 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
100 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
102 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
104 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
106 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
108 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
110 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
112 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
114 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
116 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
118 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
120 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
122 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
126 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
128 wprintf(
L"NtPath = '%wZ'\n", &NtPath);
BOOLEAN ArcPathNormalize(OUT PUNICODE_STRING NormalizedArcPath, IN PCWSTR ArcPath)
BOOLEAN ArcPathToNtPath(OUT PUNICODE_STRING NtPath, IN PCWSTR ArcPath, IN PPARTLIST PartList OPTIONAL)