MXDM_OPEN (Windows CE 5.0)

Send Feedback

This message requests a user-mode mixer driver to open an instance of the specified device.

typedef struct {  DWORD uDeviceId;  UINT uMsg;  DWORD dwUser;  DWORD lParam1;  DWORD lParam2;} MXDM_OPEN;

Members

  • uDeviceId
    Device identifier for the target device. It can be 0, 1, 2, and so on.
  • uMsg
    Equals MXDM_OPEN.
  • dwUser
    Address of location into which the driver places the instance identifier.
  • lParam1
    Pointer to a MIXEROPENDESC structure.
  • lParam2
    Contains flag values. This is always equal to CALLBACK_FUNCTION.

Return Values

Returns MMSYSERR_NOERROR if the operation is successful. Otherwise, it returns one of the MMSYSERR or MIXERR error codes defined in Mmsystem.h. See mixerOpen return values in the Win32 Software Development Kit (SDK).

Remarks

A client sends the MXDM_OPEN message by calling the user-mode driver's mxmdMessage entry point, passing the specified parameters.

Often, creating a driver instance simply entails creating an instance-specific data structure. The instance identifier can be a handle to this structure.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mmddk.h.

See Also

Audio Mixer Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.