315{
320
321 if (NormalizedArcPath->MaximumLength <
sizeof(
UNICODE_NULL))
323
325 NormalizedArcPath->Length = 0;
326
328 if (!EndOfArcName)
329 EndOfArcName = ArcPath +
wcslen(ArcPath);
330
331 while ((
p =
wcsstr(ArcPath,
L"()")) && (
p < EndOfArcName))
332 {
333#if 0
335 NormalizedArcPath->MaximumLength,
336 ArcPath, (
p - ArcPath) *
sizeof(
WCHAR));
337#else
339 NormalizedArcPath->MaximumLength,
340 ArcPath, (
p - ArcPath) *
sizeof(
WCHAR));
341#endif
344
346 NormalizedArcPath->MaximumLength,
350#if 0
351 NormalizedArcPath->Buffer +=
wcslen(NormalizedArcPath->Buffer);
352#endif
354 }
355
357 NormalizedArcPath->MaximumLength,
358 ArcPath);
361
364 {
366 }
367
370}
#define OBJ_NAME_PATH_SEPARATOR
#define NT_SUCCESS(StatCode)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
#define UNICODE_STRING_MAX_CHARS
NTSTRSAFEAPI RtlStringCbCatW(_Inout_updates_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_ NTSTRSAFE_PCWSTR pszSrc)
NTSTRSAFEAPI RtlStringCbCatNW(_Inout_updates_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_reads_bytes_(cbToAppend) STRSAFE_LPCWSTR pszSrc, _In_ size_t cbToAppend)
NTSTRSAFEAPI RtlStringCbCopyNW(_Out_writes_bytes_(cbDest) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_reads_bytes_(cbToCopy) STRSAFE_LPCWSTR pszSrc, _In_ size_t cbToCopy)