RtlUnicodeStringToOemSize function

The RtlUnicodeStringToOemSize routine determines the size, in bytes, that a given Unicode string will be after it is translated into an OEM string.

Syntax

void RtlUnicodeStringToOemSize(
   STRING
);

Parameters

STRING

TBD

Return Value

None

Remarks

RtlUnicodeStringToOemSize can be called to determine how much memory to allocate when translating a Unicode string to OEM characters with RtlUnicodeStringToOemString or RtlUpcaseUnicodeStringToOemString. The returned value includes space for a NULL terminator for the OEM string.

For information about other string-handling routines, see Strings.

Requirements

   
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "< DISPATCH_LEVEL"

See Also

RtlOemStringToUnicodeSize

RtlUnicodeStringToOemString

RtlUpcaseUnicodeStringToOemString

UNICODE_STRING