Q3Controller_SetChannel
You can use theQ3Controller_SetChannelfunction 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_Newwas 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_SetChannelfunction sets the controller channel specified by thecontrollerRefandchannelparameters to the data whose address is passed in thedataparameter. ThedataSizeparameter specifies the number of bytes in thedatabuffer.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help