WAVEOPENDESC

This structure contains information needed by waveform input and output drivers.

Syntax

typedef struct {
HWAVE hWave;
LPWAVEFORMATEX lpFormat;
DWORD dwCallback;
DWORD dwInstance;
UINT uMappedDeviceID;
} WAVEOPENDESC;

Members

hWave
Handle to the device, as assigned by Waveapi.dll.
lpFormat
Pointer to a WAVEFORMATEX structure, indicating the waveform data format requested by the client.
dwCallback
Handle to the callback thread inside Waveapi.dll.
dwInstance
Specifies the dwCallbackInstance member that the client specified when calling the waveInOpen or the waveOutOpen function.
uMappedDeviceID
Specifies the device identifier of a mapped device.

Remarks

This structure is created by the Waveapi.dll file and passed to the driver with a WODM_OPEN or WIDM_OPEN message.

This structure is declared in the Mmddk.h header file.