Stream Flags
The StreamFlags of a stream determine the behavior of the stream under particular circumstances:
Value |
Description |
---|---|
LCSTREAMF_FIXED |
Buffer length is always MaxLength, and the buffer is allocated once and never changed. MaxLength cannot be zero. Without this flag, the buffer is dynamically reallocated to accommodate assigned values (within MaxLength). |
LCSTREAMF_TRUNCATE |
Stream will automatically truncate assigned and converted values if the stream cannot accommodate them. Without this flag, assigning a value too long for the stream will generate an overflow error. |
LCSTREAMF_NO_CASE |
Stream is not case sensitive. During text stream comparisons, a non case sensitive comparison is done when either or both streams have this flag set. Without this flag, text-to-text comparisons are case sensitive. |
LCSTREAMF_NO_TRIM |
Stream should not be trimmed. This will notify connectors and the Trim method that trimming of trailing spaces should not be performed for this stream. |