RtlOemStringToCountedUnicodeSize macro (ntifs.h)
The RtlOemStringToCountedUnicodeSize routine determines the size, in bytes, that a given OEM string will be after it is translated into a counted Unicode string.
Syntax
void RtlOemStringToCountedUnicodeSize(
STRING
);
Parameters
STRING
Pointer to a caller-allocated OEM string.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ntifs.h (include Ntifs.h) |
IRQL | < DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for