// ntifs.h
void RtlOemStringToCountedUnicodeSize(
STRING
);
View the official Windows Driver Kit DDI reference
No description available.
The RtlOemStringToCountedUnicodeSize routine determines the size, in bytes, that a given OEM string will be after it is translated into a counted Unicode string.
STRING
Pointer to a caller-allocated OEM string.
RtlOemStringToCountedUnicodeSize can be called to determine how much memory to allocate when translating an OEM string to Unicode with RtlOemStringToCountedUnicodeString. The returned value does not include space for a NULL terminator for the Unicode string.
For information about other string-handling routines, see Run-Time Library (RTL) Routines.
RtlOemStringToCountedUnicodeString