auxMessage

DWORD APIENTRY
auxMessage (
UINT uDeviceId,
UINT uMsg,
DWORD dwUser,
DWORD dwParam1,
DWORD dwParam2
);

The auxMessage function is one of the user-mode audio driver entry points. It is the entry point for user-mode auxiliary audio drivers.

Parameters

uDeviceId

Device identifier (0, 1, 2, and so on) for the target device.

uMsg

Specifies one of the user-mode audio driver messages.

dwUser

Not used.

dwParam1

Specifies the first message parameter. Dependent on message type.

dwParam2

Specifies the second message parameter. Dependent on message type.

Return Value

The auxMessage function returns a value that is dependent upon the message. If the received message is not recognized, the function returns MMSYSERR_NOTSUPPORTED.