#ifndef _NTRTL_H
NTSYSAPI
VOID
NTAPI
RtlFreeOemString(
_Inout_ POEM_STRING OemString
);
View code on GitHub
// ntifs.h
NTSYSAPI VOID RtlFreeOemString(
[in, out] POEM_STRING OemString
);
View the official Windows Driver Kit DDI reference
// winternl.h
VOID RtlFreeOemString(
[in, out] POEM_STRING OemString
);
View the official Win32 API reference
This function is documented in Windows Driver Kit.
The RtlFreeOemString routine releases storage that was allocated by any of the Rtl..ToOemString routines.
OemString
[in, out]Pointer to the OEM string buffer that was allocated by a preceding call to RtlUnicodeStringToCountedOemString, RtlUnicodeStringToOemString, RtlUpcaseUnicodeStringToCountedOemString, or RtlUpcaseUnicodeStringToOemString.
None
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.
RtlUnicodeStringToCountedOemString
RtlUpcaseUnicodeStringToCountedOemString
RtlUpcaseUnicodeStringToOemString
Frees the string buffer allocated by RtlUnicodeStringToOemString.
OemString
[in, out]Address of the OEM string whose buffer was previously allocated by RtlUnicodeStringToOemString.
This routine releases the Buffer member of the OEM_STRING structure. The Length and MaximumLength members are not affected by this routine.