Share via


MXDM_CLOSE (Windows CE 5.0)

Send Feedback

This message requests a user-mode mixer driver to close the specified device instance that was opened with an MXDM_OPEN message.

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

Members

  • uDeviceId
    Device identifier for the target device. It can be 0, 1, 2, and so on.
  • uMsg
    Equals MXDM_CLOSE.
  • dwUser
    Instance identifier of the instance to close.
  • lParam1
    Not used.
  • lParam2
    Not used.

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 mixerClose return values in the Microsoft® Win32® Software Development Kit (SDK).

Remarks

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

Often, closing a driver instance simply involves removing a client-specific data structure.

Requirements

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

See Also

Audio Mixer Messages | MXDM_OPEN

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.