Specifies a call-back function for handling stream state changes.
- int StreamSetStateChangeCallBack(void* fn, void* UserData)
Pointer to callback function to receive state change updates. See Stream Callback.
Application defined data sent back in callback.
No errors; data accepted.
The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).
The operation failed because the port was shutting down.
An exception occurred while processing the request.
Each time a streams status changes, this callback will be called. Here are the possible Stream Status messages.