MMDRV_MESSAGE_PARAMS

This structure is passed to the WAV_IOControl function.

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

OS Versions: Windows CE 1.0 and later.
Header: Wavedev.h.

See Also

Waveform Audio Driver Structures | WAV_IOControl | Waveform Input Driver Messages | Waveform Output Driver Messages | Audio Mixer Messages | Audio Device Instances

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.