Q3Controller_SetChannel
You can use theQ3Controller_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 time
Q3Controller_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 value
NULL
, the specified channel is reset to a default or inactive value.dataSize
- On entry, the number of bytes of data in the specified buffer.
DESCRIPTION
TheQ3Controller_SetChannel
function sets the controller channel specified by thecontrollerRef
andchannel
parameters to the data whose address is passed in thedata
parameter. ThedataSize
parameter specifies the number of bytes in thedata
buffer.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help