Поделиться через


OEM_STRING structure

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

Syntax

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

Members

  • Length
    Specifies the length in bytes of the string stored in Buffer.

  • MaximumLength
    Specifies the length in bytes of Buffer.

  • Buffer
    Pointer to a buffer used to contain a string of characters.

Remarks

The OEM_STRING structure is used to pass OEM strings.

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

Requirements

Header

Ntdef.h (include Wdm.h or Ntddk.h)

See also

ANSI_STRING

UNICODE_STRING

RtlAnsiStringToUnicodeSize

RtlAnsiStringToUnicodeString

RtlFreeAnsiString

RtlInitAnsiString

RtlUnicodeStringToAnsiString

 

 

Send comments about this topic to Microsoft