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 — 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.

See Also

QueryContextAttributes