winmm Topic

Windows Multimedia API

Microsoft Windows multimedia support enables applications to use sound and video.

Functions

mciGetDeviceID(Pointer<Utf16> lpszDevice) int winmm
The mciGetDeviceID function retrieves the device identifier corresponding to the name of an open device. [...]
mciGetDeviceIDFromElementID(int dwElementID, Pointer<Utf16> lpstrType) int winmm
The mciGetDeviceIDFromElementID function retrieves the MCI device identifier corresponding to an element identifier. [...]
mciGetErrorString(int fdwError, Pointer<Utf16> lpszErrorText, int cchErrorText) int winmm
The mciGetErrorString function retrieves a string that describes the specified MCI error code. [...]
mciSendCommand(int IDDevice, int uMsg, int fdwCommand, int dwParam) int winmm
The mciSendCommand function sends a command message to the specified MCI device. [...]
mciSendString(Pointer<Utf16> lpszCommand, Pointer<Utf16> lpszReturnString, int cchReturn, int hwndCallback) int winmm
The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string. [...]
midiOutGetNumDevs() int winmm
The midiOutGetNumDevs function retrieves the number of MIDI output devices present in the system. [...]
PlaySound(Pointer<Utf16> pszSound, int hmod, int fdwSound) int winmm
The PlaySound function plays a sound specified by the given file name, resource, or system event. [...]
waveOutClose(int hwo) int winmm
The waveOutClose function closes the given waveform-audio output device. [...]
waveOutGetDevCaps(int uDeviceID, Pointer<WAVEOUTCAPS> pwoc, int cbwoc) int winmm
The waveOutGetDevCaps function retrieves the capabilities of a given waveform-audio output device. [...]
waveOutGetErrorText(int mmrError, Pointer<Utf16> pszText, int cchText) int winmm
The waveOutGetErrorText function retrieves a textual description of the error identified by the given error number. [...]
waveOutGetID(int hwo, Pointer<Uint32> puDeviceID) int winmm
The waveOutGetID function retrieves the device identifier for the given waveform-audio output device. [...]
waveOutGetNumDevs() int winmm
The waveOutGetNumDevs function retrieves the number of waveform-audio output devices present in the system. [...]
waveOutGetPitch(int hwo, Pointer<Uint32> pdwPitch) int winmm
The waveOutGetPitch function retrieves the current pitch setting for the specified waveform-audio output device. [...]
waveOutGetPlaybackRate(int hwo, Pointer<Uint32> pdwRate) int winmm
The waveOutGetPlaybackRate function retrieves the current playback rate for the specified waveform-audio output device. [...]
waveOutGetPosition(int hwo, Pointer<MMTIME> pmmt, int cbmmt) int winmm
The waveOutGetPosition function retrieves the current playback position of the given waveform-audio output device. [...]
waveOutGetVolume(int hwo, Pointer<Uint32> pdwVolume) int winmm
The waveOutGetVolume function retrieves the current volume level of the specified waveform-audio output device. [...]
waveOutMessage(int hwo, int uMsg, int dw1, int dw2) int winmm
The waveOutMessage function sends messages to the waveform-audio output device drivers. [...]
waveOutOpen(Pointer<IntPtr> phwo, int uDeviceID, Pointer<WAVEFORMATEX> pwfx, int dwCallback, int dwInstance, int fdwOpen) int winmm
The waveOutOpen function opens the given waveform-audio output device for playback. [...]
waveOutPause(int hwo) int winmm
The waveOutPause function pauses playback on the given waveform-audio output device. The current position is saved. Use the waveOutRestart function to resume playback from the current position. [...]
waveOutPrepareHeader(int hwo, Pointer<WAVEHDR> pwh, int cbwh) int winmm
The waveOutPrepareHeader function prepares a waveform-audio data block for playback. [...]
waveOutReset(int hwo) int winmm
The waveOutReset function stops playback on the given waveform-audio output device and resets the current position to zero. All pending playback buffers are marked as done (WHDR_DONE) and returned to the application. [...]
waveOutRestart(int hwo) int winmm
The waveOutRestart function resumes playback on a paused waveform-audio output device. [...]
waveOutSetPitch(int hwo, int dwPitch) int winmm
The waveOutSetPitch function sets the pitch for the specified waveform-audio output device. [...]
waveOutSetPlaybackRate(int hwo, int dwRate) int winmm
The waveOutSetPlaybackRate function sets the playback rate for the specified waveform-audio output device. [...]
waveOutSetVolume(int hwo, int dwVolume) int winmm
The waveOutSetVolume function sets the volume level of the specified waveform-audio output device. [...]
waveOutUnprepareHeader(int hwo, Pointer<WAVEHDR> pwh, int cbwh) int winmm
The waveOutUnprepareHeader function cleans up the preparation performed by the waveOutPrepareHeader function. This function must be called after the device driver is finished with a data block. You must call this function before freeing the buffer. [...]
waveOutWrite(int hwo, Pointer<WAVEHDR> pwh, int cbwh) int winmm
The waveOutWrite function sends a data block to the given waveform-audio output device. [...]