Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure indicates the sizes of the various stream parts for use with the message support functions. The QueryContextAttributesfunction uses this structure.

Syntax

typedef struct _SecPkgContext_StreamSizes {
  unsigned long 
cbHeader;
  unsigned long 
cbTrailer;
  unsigned long 
cbMaximumMessage;
  unsigned long 
cBuffers;
  unsigned long 
cbBlockSize;
}SecPkgContext_StreamSizes, *PSecPkgContext_StreamSizes;

Members

cbHeader

Size, in bytes, of the header portion. If zero, no header is used.

cbTrailer

Size, in bytes, of the trailer portion. If zero, no trailer is used.

cbMaximumMessage

Size, in bytes, of the largest message that can be encapsulated.

cBuffers

Number of buffers to pass.

cbBlockSize

Preferred integral size of the messages. For example, 8 indicates that messages should be of size 0 mod 8 for optimal performance. Messages other than this block size can be padded.

Requirements

Header sspi.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also