WAV_IOControl (Windows Embedded CE 6.0)
1/6/2010
This function is the Device I/O control routine for the WAV I/O 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 (IOCTL) code for this function to be performed. This parameter supports two IOCTL codes, IOCTL_WAV_MESSAGE and IOCTL_MIX_MESSAGE.IOCTL_WAV_MESSAGE is useful for sending messages to a WAV device audio driver (wavedev.dll). IOCTL_MIX_MESSAGE is useful for supporting the hardware mixer middleware extensions to the wave audio streaming driver model.
- pBufIn
Pointer to a MMDRV_MESSAGE_PARAMS structure.
- dwLenIn
Specifies the size, in bytes, of input parameter structure (sizeof(MMDRV_MESSAGE_PARAMS)). The size of the DSDVR_MESSAGE_PARAMS structure that matches the DSDVR_MESSAGE_PARAMS message.
- pBufOut
Pointer to the return value (DWORD).
- dwLenOut
Specifies the size of the return value variable (sizeof(DWORD)).
- pdwActualOut
Not used.
Return Value
TRUE indicates success. FALSE indicates failure.
Requirements
Header | wavemdd.h |
Windows Embedded CE | Windows CE 1.0 and later |
See Also
Reference
Waveform Audio Driver Functions
WAV_Open
MMDRV_MESSAGE_PARAMS