WAV_IOControl

This function is the Device I/O control routine for the WAV IO device.

Syntax

BOOL WAV_IOControl( DWORD dwOpenData, DWORD dwCode,
PBYTE pBufIn, DWORD dwLenIn, PBYTE pBufOut, DWORD dwLenOut, PDWORD pdwActualOut );

Parameters

dwOpenData
Specifies a value returned from a call to the WAV_Open function.
dwCode
Specifies an I/O control code for this function to be performed. This function supports only one I/OCTL value, IOCTL_WAV_MESSAGE.
pBufIn
Pointer to the MMDRV_MESSAGE_PARAMS input parameter structure.
dwLenIn
Specifies the size, in bytes, of input parameter structure ( sizeof( MMDRV_MESSAGE_PARAMS ) ).
pBufOut
Pointer to the return value ( DWORD ).
dwLenOut
Specifies the size of the return value variable ( sizeof( DWORD ) ).
pdwActualOut
Not used.

Return Values

TRUE indicates success. FALSE indicates failure.