RtlOemStringToUnicodeSize - NtDoc

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

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

NtDoc

No description available.

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

RtlOemStringToUnicodeSize macro

Description

The RtlOemStringToUnicodeSize routine determines the size, in bytes, that a given OEM string will be after it is translated into a null-terminated Unicode string.

Parameters

STRING

Pointer to a caller-allocated OEM string.

Remarks

RtlOemStringToUnicodeSize can be called to determine how much memory to allocate when translating an OEM string to Unicode with RtlOemStringToUnicodeString. The returned value includes space for the NULL terminator.

For information about other string-handling routines, see Run-Time Library (RTL) Routines.

See also

OEM_STRING

RtlOemStringToCountedUnicodeSize

RtlOemStringToUnicodeString