diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-08-16 10:41:45 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-08-16 10:41:45 +0000 |
commit | 855e63eb4b1ea80dd892309e2bcd214626a90611 (patch) | |
tree | 1cc76ce8085ccddd3a47163c4fa09d092f28a8af /winsup/cygwin/ntdll.h | |
parent | c4bd83770022e78e9fbd7f1eefb57ad7c69456cd (diff) | |
download | cygnal-855e63eb4b1ea80dd892309e2bcd214626a90611.tar.gz cygnal-855e63eb4b1ea80dd892309e2bcd214626a90611.tar.bz2 cygnal-855e63eb4b1ea80dd892309e2bcd214626a90611.zip |
* ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
(RtlUpcaseUnicodeChar): Declare.
* path.cc (hash_path_name): Split into three functions, taking
the path as char *, PWCSTR, or PUNICODE_STRING. Move implementation
into PUNICODE_STRING-based function. Drop old drive-relative path
consideration.
* winsup.h (iswdirsep): Like isdirsep but for WCHARs.
(isabspath_u): Like isabspath, for PUNICODE_STRINGs.
(iswabspath): Like isabspath, for PWCHARs.
(hash_path_name): Add new declarations.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 467c9e496..7b8c556b9 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -833,7 +833,7 @@ extern "C" BOOLEAN); NTSTATUS NTAPI RtlConvertSidToUnicodeString (PUNICODE_STRING, PSID, BOOLEAN); VOID NTAPI RtlCopyUnicodeString (PUNICODE_STRING, PUNICODE_STRING); - ULONG WINAPI RtlCreateUnicodeStringFromAsciiz (PUNICODE_STRING, PCSTR); + BOOLEAN NTAPI RtlCreateUnicodeStringFromAsciiz (PUNICODE_STRING, PCSTR); BOOLEAN NTAPI RtlEqualUnicodeString (PUNICODE_STRING, PUNICODE_STRING, BOOLEAN); VOID NTAPI RtlFreeAnsiString (PANSI_STRING); @@ -853,6 +853,7 @@ extern "C" BOOLEAN); NTSTATUS NTAPI RtlUnicodeStringToOemString (PANSI_STRING, PUNICODE_STRING, BOOLEAN); + WCHAR NTAPI RtlUpcaseUnicodeChar (WCHAR); /* A few Rtl functions are either actually macros, or they just don't exist even though they would be a big help. We implement them here, |