int32 DSControl (Item msgItem, DSRequestMsgPtr reqMsg, DSStreamCBPtr streamCBPtr, DSDataType streamType, long userDefinedOpcode, void* userDefinedArgPtr)
streamType
.
DSControl()
sets
DSRequestMsg
identified by reqMsg
.)
DSControl()
sends the message and returns immediately. If no message is specified (if reqMsg
is NULL
), DSControl()
creates a message, sends it to the DataStreamer, and waits until the message has been received before returning.
msgItem
reqMsg
DSRequestMsg
message that is formatted and sent to the DataStreamer. A value of NULL
forces creation of an internal DSRequestMsg
message and synchronous operation.
streamCBPtr
streamType
userDefinedOpcode
userDefinedArgPtr
reqMsg
are set to the following values:
whatToDo
- kDSOpControl
msg.control.streamType
- streamType
msg.control.userDefinedOpcode
msg.control.userDefinedArgPtr
whatToDo
set to invalid value)
SendMsg()
or WaitPort()
failed
VALIDATE_REQUEST_CODE
symbol is enabled).
See "Error Messages" in the 3DO Portfolio Reference Manual for a listing of error messages returned by SendMsg()
and WaitPort()
.