Share via


SecPkgContext_StreamSizes (Compact 2013)

3/28/2014

This structure indicates the sizes of the various stream parts for use with the message support functions. The QueryContextAttributes function 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

See Also

Reference

Authentication Services Structures
QueryContextAttributes