18 Creating and Managing Controllers
Q3Controller_SetChannel
function to set a controller channel.
TQ3Status Q3Controller_SetChannel ( TQ3ControllerRef controllerRef, unsigned long channel, const void *data, unsigned long dataSize);controllerRef
A reference to a controller.channel
An index into the list of channels associated with the specified controller. This value is always greater than or equal to 0 and less than the channel count specified at the timeQ3Controller_New
was called.data
On entry, a pointer to a buffer that contains the desired value of the specified controller channel. The data type of the channel is controller-specific. If this field contains the valueNULL
, the specified channel is reset to a default or inactive value.dataSize
On entry, the number of bytes of data in the specified buffer.
Q3Controller_SetChannel
function sets the controller channel specified by the controllerRef
and channel
parameters to the data whose address is passed in the data
parameter. The dataSize
parameter specifies the number of bytes in the data
buffer.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker