MXDM_INIT (Windows CE 5.0)

Send Feedback

A user-mode mixer driver's mxdMessage function receives a MXDM_INIT message while the driver is being installed.

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

Members

  • uDeviceId
    Device identifier for the target device. It can be 0, 1, 2, and so on.
  • uMsg
    Equals MXDM_INIT.
  • dwUser
    Not used.
  • 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.

Remarks

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

Support for this message is optional. The message allows mixer drivers to perform additional installation activities after DRV_INSTALL has been received.

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.