RtlFreeOemString function

The RtlFreeOemString routine releases storage that was allocated by any of the Rtl..ToOemString routines.

Syntax

NTSYSAPI VOID RtlFreeOemString(
  POEM_STRING OemString
);

Parameters

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 Strings.

Requirements

   
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "< DISPATCH_LEVEL"

See Also

OEM_STRING

RtlUnicodeStringToCountedOemString

RtlUnicodeStringToOemString

RtlUpcaseUnicodeStringToCountedOemString

RtlUpcaseUnicodeStringToOemString