OEM_STRING

typedef struct _STRING {
    USHORT Length;
    USHORT MaximumLength;
    PCHAR Buffer;
} STRING *POEM_STRING;

The STRING structure defines a counted string used for OEM strings.

Members

Length
The length in bytes of the string stored in Buffer.
MaximumLength
The maximum length in bytes of Buffer.
Buffer
Points to a buffer used to contain a string of characters.

Comments

The STRING structure is used to pass OEM strings.

If the string is NULL terminated, Length does not include the trailing NULL.

See Also

ANSI_STRING, UNICODE_STRING, RtlAnsiStringToUnicodeSize , RtlAnsiStringToUnicodeString, RtlFreeAnsiString, RtlInitAnsiString, RtlUnicodeStringToAnsiString