Function Names

Most multimedia functions are named with a prefix-verb-noun model to help you remember and become familiar with the function.

Name Element Description

Prefix Indicates the software module the function belongs to. All prefixes are lowercase.
Verb Defines what the function does. Verbs begin with an uppercase letter.
Noun Describes the target of the action. Nouns, like verbs, begin with an uppercase letter.

Note:

No spaces or underscores separate the words in a function name.

The following are samples of function names:

waveOutGetVolume

The prefix (waveOut) indicates that this is a waveform output function. The verb (Get) defines the purpose of the function. The noun (Volume) describes the target of the action. This function is used to get the volume of a waveform audio device.

joySetThreshold

The prefix (joy) identifies the function as a joystick-control function. The verb (Set) and the noun (Threshold) describe the purpose of the function and the target of the action, respectively. This function is used to set the movement threshold of a joystick.