Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Pointer to a caller-allocated Unicode string.
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 Run-Time Library (RTL) Routines.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | ntifs.h (include Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | < DISPATCH_LEVEL |