RtlUnicodeStringToOemString(3w)
NAME
RtlUnicodeStringToOemString (NTDLL.@)
SYNOPSIS
NTSTATUS RtlUnicodeStringToOemString ( STRING* oem, const UNICODE_STRING* uni, BOOLEAN doalloc )
DESCRIPTION
Converts a Rtl Unicode string to an OEM string.
PARAMS
oem [Out] Destination for OEM string.
uni [In] Source Unicode string.
doalloc [In] TRUE=Allocate new buffer for oem,FALSE=Use existing buffer.
RETURNS
Success: STATUS_SUCCESS. oem contains the converted string
Failure: STATUS_BUFFER_OVERFLOW, if doalloc is FALSE and oem is too small. STATUS_NO_MEMORY, if doalloc is TRUE and allocation fails.
NOTES
If doalloc is TRUE, the length allocated is uni->Length + 1. This function always ' ' terminates the string returned.
IMPLEMENTATION
Defined in "winternl.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ntdll/rtlstr.c".
- Debug channel "ntdll".