PDD_WaveProc

This function sends messages to the audio driver's PDD layer.

Syntax

MMRESULT PDD_WaveProc( WAPI_INOUT apidir, DWORD dwCode, DWORD dwParam1, DWORD dwParam2 );

Parameters

apidir
Specifies the direction of the API requested.
dwCode
Specifies the function to execute.
dwParam1
Specifies parameter 1.
dwParam2
Specifies parameter 2.

Return Values

MMRESULT dependent on dwCode. If dwCode and apidir indicate a function that is not supported, this function returns MMSYSERR_NOTSUPPORTED.

Remarks

This function is used to implement all the waveOut and waveIn functions at the PDD level.

This function is declared in the Waveddsi.h header file.

See Also

WPDM_CLOSE, WPDM_CONTINUE, WPDM_ENDOFDATA, WPDM_GETDEVCAPS, WPDM_GETVOLUME, WPDM_OPEN, WPDM_PAUSE, WPDM_RESTART, WPDM_SETVOLUME, WPDM_STANDBY, WPDM_START, WPDM_STOP