// ntifs.h
void RtlUnicodeStringToOemSize(
STRING
);
View the official Windows Driver Kit DDI reference
No description available.
The RtlUnicodeStringToOemSize routine determines the size, in bytes, that a given Unicode string will be after it is translated into an OEM string.
STRING
Pointer to a caller-allocated Unicode string.
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.
RtlUpcaseUnicodeStringToOemString