Important: The information in this document is obsolete and should not be used for new development.
Stream Status
TheStreamStatus
data type is a 16-bit value that contains flags describing the status of a Cyberdog stream. They are returned by theCyberStream::GetStreamStatus
method.Flag descriptions
kCDDataAvailable
- The stream has been opened successfully and contains at least one buffer of nonzero length that you can retrieve by calling
CyberStream::GetBuffe
r (page 382).kCDErrorOccurred
- An error has occurred. You can call
CyberStream::GetStatusString
(page 384) to retrieve the error message.kCDStatusStringChanged
- The status string that describes the current status of the stream has changed. You can retrieve the current status string by calling
CyberStream::GetStatusString
(page 384). When an error occurs, the status string is changed, but the value of thekCDStatusStringChanged
flag is not changed.kCDBuffersAreLow
- The stream's supply of buffers is low. You should call
CyberStream::ReleaseBuffer
(page 389) to release any buffers that you have retrieved from the stream.kCDDownloadComplete
- The download operation is complete.
kCDAbortComplete
- The abort operation initiated on the stream is complete.