RtlFreeOemString function (ntifs.h)
The RtlFreeOemString routine releases storage that was allocated by any of the Rtl..ToOemString routines.
Syntax
NTSYSAPI VOID RtlFreeOemString(
[in, out] POEM_STRING OemString
);
Parameters
[in, out] OemString
Pointer to the OEM string buffer that was allocated by a preceding call to RtlUnicodeStringToCountedOemString, RtlUnicodeStringToOemString, RtlUpcaseUnicodeStringToCountedOemString, or RtlUpcaseUnicodeStringToOemString.
Return value
None
Remarks
RtlFreeOemString deallocates memory only for the buffered OEM string. This routine does not free the buffered Unicode string passed in a preceding call to the Rtl..ToOemString routine.
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 |
See also
RtlUnicodeStringToCountedOemString