From 8b5fa210a6acedf46114485082d52a23cbc635ee Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 31 Jul 2007 20:48:17 +0000 Subject: * 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. --- winsup/cygwin/ntdll.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'winsup/cygwin/ntdll.h') 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 -- cgit v1.2.3