RtlUnicodeStringToOemSize - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

void RtlUnicodeStringToOemSize(
  STRING
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-rtlunicodestringtooemsize)

RtlUnicodeStringToOemSize macro

Description

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

Parameters

STRING

Pointer to a caller-allocated Unicode string.

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 Run-Time Library (RTL) Routines.

See also

RtlOemStringToUnicodeSize

RtlUnicodeStringToOemString

RtlUpcaseUnicodeStringToOemString

UNICODE_STRING