Previous Next

OEM_STRING

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

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

Members

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

Headers

Defined in ntddk.h. Include ntddk.h.

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