diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-07-31 20:48:17 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-07-31 20:48:17 +0000 |
commit | 8b5fa210a6acedf46114485082d52a23cbc635ee (patch) | |
tree | 5178beff04e8aec53d4a8316d7eb7a1c6d80998b /winsup/cygwin/ntdll.h | |
parent | 5e51ebbfc63cb10c8fd0f04f2483e69df04ed596 (diff) | |
download | cygnal-8b5fa210a6acedf46114485082d52a23cbc635ee.tar.gz cygnal-8b5fa210a6acedf46114485082d52a23cbc635ee.tar.bz2 cygnal-8b5fa210a6acedf46114485082d52a23cbc635ee.zip |
* ntdll.h (RtlFreeAnsiString): Declare.
* ntdll.h (RtlFreeOemString): Declare.
* ntdll.h (RtlUnicodeStringToAnsiString): Declare.
* ntdll.h (RtlUnicodeStringToOemString): Declare.
* smallprint.cc: Renamed from smallprint.c. Drop unnecessary
forward declarations.
(__small_vsprintf): Add format specifiers 'C' for WCHAR arguments
and 'S' for PUNICODE_STRING arguments.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 9e1606f34..25d9b080e 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -790,6 +790,8 @@ extern "C" ULONG WINAPI RtlCreateUnicodeStringFromAsciiz (PUNICODE_STRING, PCSTR); BOOLEAN NTAPI RtlEqualUnicodeString (PUNICODE_STRING, PUNICODE_STRING, BOOLEAN); + VOID NTAPI RtlFreeAnsiString (PANSI_STRING); + VOID NTAPI RtlFreeOemString (POEM_STRING); VOID NTAPI RtlFreeUnicodeString (PUNICODE_STRING); VOID NTAPI RtlInitEmptyUnicodeString (PUNICODE_STRING, PCWSTR, USHORT); VOID NTAPI RtlInitUnicodeString (PUNICODE_STRING, PCWSTR); @@ -800,6 +802,10 @@ extern "C" BOOLEAN NTAPI RtlPrefixUnicodeString (PUNICODE_STRING, PUNICODE_STRING, BOOLEAN); VOID NTAPI RtlSecondsSince1970ToTime (ULONG, PLARGE_INTEGER); + NTSTATUS NTAPI RtlUnicodeStringToAnsiString (PANSI_STRING, PUNICODE_STRING, + BOOLEAN); + NTSTATUS NTAPI RtlUnicodeStringToOemString (PANSI_STRING, PUNICODE_STRING, + BOOLEAN); /* 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 |