Share via


MMDRV_MESSAGE_PARAMS (Windows Embedded CE 6.0)

1/6/2010

This structure is passed to the WAV_IOControl function.

Syntax

typedef struct {
  UINT uDeviceId;
  UINT uMsg;
  DWORD dwUser;
  DWORD dwParam1;
  DWORD dwParam2;
} MMDRV_MESSAGE_PARAMS;

Members

  • uDeviceId
    Device identifier — 0, 1, 2, and so on — for the target device.
  • uMsg
    One of the Wave Input Driver messages (WIDM_*), Wave Output Driver messages (WODM_*), or Audio Mixer Messages (MXDM_*).
  • dwUser
    Specifies a device instance identifier. For the WODM_OPEN and WIDM_OPEN messages, this is an output member. The device creates an instance identifier and returns it in the address specified as the argument. For all other messages, this is an input member. This member is the instance identifier.
  • dwParam1
    Specifies the first message parameter. Dependent on message type.
  • dwParam2
    Specifies the second message parameter. Dependent on message type.

Requirements

Header wavedev.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Waveform Audio Driver Structures
WAV_IOControl
Waveform Input Driver Messages
Waveform Output Driver Messages
Audio Mixer Messages

Concepts

Audio Device Instances