SpiCreateStream Return Value - rc
rc (ULONG) - returns
Return
codes indicating success or the type of failure:
NO_ERROR
ERROR_INVALID_BLOCK
ERROR_INVALID_BUFFER_SIZE
ERROR_INVALID_FUNCTION
Invalid function requested.
ERROR_INVALID_STREAM
ERROR_INVALID_PARAMETER
ERROR_INVALID_PROTOCOL
An error occurred while negotiating the stream
protocol for this stream instance.
ERROR_INVALID_HID
ERROR_INVALID_SPCBKEY
Invalid pspcbkey. The stream type is unknown
or the stream handlers specified cannot stream this type.
ERROR_DEVICE_NOT_FOUND
Invalid device-driver name.
ERROR_ALLOC_HEAP
An error occurred while allocating the resources
needed to set up this stream. The heap can be adjusted to a bigger size
on the DEVICE= statement for the Sync/Stream Manager device driver. See
Performance Tuning the Sync/Stream Manager in the OS/2 Multimedia
Subsystem Programming Guide.
ERROR_NOT_ENOUGH_MEMORY
There is not enough memory to allocate the minimum
number of buffers to sustain this stream instance.
ERROR_TOO_MANY_STREAMS
Too many streams have been created. The number
of streams can be adjusted to a bigger size on the DEVICE statement for
the Sync/Stream Manager device driver. See Performance Tuning the Sync/Stream
Manager in the OS/2 Multimedia Subsystem Programming Guide.
FAILURE
Stream handler-specific error return code.
[Back: SpiCreateStream Parameter - phevent]
[Next: SpiCreateStream - Parameters]