/mcpdwCallbackInstance User-instance data that is passed to the callback mechanism. This parameter is not used with the window callback mechanism. fdwOpen Flags for opening the device. The following values definitions apply: • CALLBACK_EVENT -The dwCallback parameter specifies an event handle. • CALLBACK_FUNCTION -The dwCallback parameter specifies a callback procedure address. • CALLBACK_NULL -No callback mechanism. This represents the default setting. • CALLBACK_THREAD -The dwCallback parameter specifies a thread identifier. • CALLBACK_WINDOW -The dwCallback parameter specifies a window handle. • WAVE_FORMAT_DIRECT -If this flag is specified, the A driver does not perform conversions on the audio data. • WAVE_FORMAT_QUERY -The function queries the device to determine whether it supports the given format, but it does not open the device. • WAVE_MAPPED -The uDeviceID parameter specifies a waveform-audio device to which the wave mapper maps. waveInPrepareHeader The waveInPrepareHeader function prepares a buffer for waveform-audio input. Function Details MMRESULT waveInPrepareHeader( HWAVEIN hwi, LPWAVEHDR pwh, UINT cbwh ); Parameters hwi Handle of the waveform-audio input device. pwh Address of a WAVEHDR structure that identifies the buffer to be prepared. cbwh Size, in bytes, of the WAVEHDR structure. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 309 Basic TAPI Implementation waveInPrepareHeader
