Export (0) Print
Expand All
Expand Minimize

mixerClose function

The mixerClose function closes the specified mixer device.

Syntax


MMRESULT mixerClose(
  HMIXER hmx
);

Parameters

hmx

Handle to the mixer device. This handle must have been returned successfully by the mixerOpen function. If mixerClose is successful, hmx is no longer valid.

Return value

Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following.

Return codeDescription
MMSYSERR_INVALHANDLE

Specified device handle is invalid.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

Library

Winmm.lib

DLL

Winmm.dll

See also

Audio Mixers
Audio Mixer Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft