This function sends messages to the audio driver's PDD layer.
MMRESULT PDD_WaveProc( WAPI_INOUT apidir, DWORD dwCode, DWORD dwParam1, DWORD dwParam2 );
MMRESULT dependent on dwCode. If dwCode and apidir indicate a function that is not supported, this function returns MMSYSERR_NOTSUPPORTED.
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.
WPDM_CLOSE, WPDM_CONTINUE, WPDM_ENDOFDATA, WPDM_GETDEVCAPS, WPDM_GETVOLUME, WPDM_OPEN, WPDM_PAUSE, WPDM_RESTART, WPDM_SETVOLUME, WPDM_STANDBY, WPDM_START, WPDM_STOP