Export (0) Print
Expand All

2.2.1.1.2 STRING

The STRING structure contains the length, the maximum length, and a pointer to a buffer containing the string.

typedef struct _STRING {
  unsigned short Length;
  unsigned short MaximumLength;
  [size_is(MaximumLength), length_is(Length)] 
    char* Buffer;
} STRING, 
 *PSTRING;

Length: The length of the data pointed to by Buffer, in bytes.

MaximumLength: The total allocated length of the data pointed to by Buffer, in bytes.<6>

Buffer: A pointer to a buffer containing the character string.

 
Show:
© 2014 Microsoft