RtlFreeOemString routine

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

Syntax


VOID RtlFreeOemString(
  _Inout_ POEM_STRING OemString
);

Parameters

OemString [in, out]

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

 

 

Send comments about this topic to Microsoft

Show: