Share via


WAVEOPENDESC (Compact 2013)

3/26/2014

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

Syntax

typedef struct waveopendesc_tag {
  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
    Address of the callback function.
  • 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.

Requirements

Header

mmddk.h

See Also

Reference

Waveform Audio Driver Structures

Other Resources

WAVEFORMATEX (Waveform Audio)
waveInOpen
waveOutOpen