Platform SDK: Logon Authentication

SecPkgContext_StreamSizes

The SecPkgContext_StreamSizes structure indicates the sizes of the various stream components for use with the message support functions. The QueryContextAttributes function uses this structure.

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

Members

cbHeader
Specifies the size, in bytes, of the header portion. If zero, no header is used.
cbTrailer
Specifies the size, in bytes, of the trailer portion. If zero, no trailer is used.
cbMaximumMessage
Specifies the size, in bytes, of the largest message that can be encapsulated.
cBuffers
Specifies the number of buffers to pass.
cbBlockSize
Specifies the preferred integral size of the messages. F or 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

  Windows NT/2000: Requires Windows NT 3.51 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Sspi.h; include Security.h.

See Also

QueryContextAttributes