CREDUIWIN_MARSHALED_CONTEXT structure (sspi.h)

Specifies credential information that has been serialized by using the ICredentialProvider::SetSerialization method.

Syntax

typedef struct _CREDUIWIN_MARSHALED_CONTEXT {
  GUID   StructureType;
  USHORT cbHeaderLength;
  LUID   LogonId;
  GUID   MarshaledDataType;
  ULONG  MarshaledDataOffset;
  USHORT MarshaledDataLength;
} CREDUIWIN_MARSHALED_CONTEXT, *PCREDUIWIN_MARSHALED_CONTEXT;

Members

StructureType

The type of the structure. This must be CREDUIWIN_STRUCTURE_TYPE_SSPIPFC.

cbHeaderLength

The size, in bytes, of the header.

LogonId

The user's logon ID.

MarshaledDataType

A value that represents the type of structure that the serialized data specifies. If the value of this parameter is SSPIPFC_STRUCTURE_TYPE_CREDUI_CONTEXT, the data can be deserialized by calling the SspiUnmarshalCredUIContext function.

MarshaledDataOffset

The number of bytes from the beginning of this structure to the beginning of the serialized data.

MarshaledDataLength

The size, in bytes, of the serialized data.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header sspi.h

See also

SEC_WINNT_CREDUI_CONTEXT