SECURITY_STRING structure (sspi.h)

The SECURITY_STRING structure is used as the string interface for kernel operations and is a clone of the UNICODE_STRING structure. This is used for 32-bit mode.

Syntax

typedef struct _SECURITY_STRING {
  unsigned short Length;
  unsigned short MaximumLength;
  unsigned short *Buffer;
} SECURITY_STRING, *PSECURITY_STRING;

Members

Length

Specifies the length, in bytes, of the string pointed to by the Buffer member, not including the terminating NULL character, if any.

MaximumLength

Specifies the total size, in bytes, of memory allocated for Buffer. Up to MaximumLength bytes may be written into the buffer without trampling memory.

Buffer

Pointer to a wide-character string. Note that the strings returned by the various LSA functions might not be NULL-terminated.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header sspi.h