Tao.Platform.Windows SDK Documentation

Winmm Members

Winmm overview

Public Static (Shared) Fields

JOY_BUTTON1 First joystick button is pressed.
JOY_BUTTON2 Second joystick button is pressed.
JOY_BUTTON3 Third joystick button is pressed.
JOY_BUTTON4 Four joystick button is pressed.
JOY_CAL_READ3
JOY_CAL_READ4
JOY_CAL_READ5
JOY_CAL_READ6
JOY_CAL_READALWAYS
JOY_CAL_READRONLY
JOY_CAL_READUONLY
JOY_CAL_READVONLY
JOY_CAL_READXONLY
JOY_CAL_READXYONLY
JOY_CAL_READYONLY
JOY_CAL_READZONLY
JOY_POVBACKWARD
JOY_POVCENTERED
JOY_POVFORWARD
JOY_POVLEFT
JOY_POVRIGHT
JOY_RETURNALL
JOY_RETURNBUTTONS
JOY_RETURNCENTERED
JOY_RETURNPOV
JOY_RETURNPOVCTS
JOY_RETURNR
JOY_RETURNRAWDATA
JOY_RETURNU
JOY_RETURNV
JOY_RETURNX
JOY_RETURNY
JOY_RETURNZ
JOY_USEDEADZONE
JOYCAPS_HASPOV Joystick has point-of-view information.
JOYCAPS_HASR Joystick has rudder (fourth axis) information.
JOYCAPS_HASU Joystick has u-coordinate (fifth axis) information.
JOYCAPS_HASV Joystick has v-coordinate (sixth axis) information.
JOYCAPS_HASZ Joystick has z-coordinate information.
JOYCAPS_POV4DIR Joystick point-of-view supports discrete values (centered, forward, backward, left, and right).
JOYCAPS_POVCTS Joystick point-of-view supports continuous degree bearings.
JOYERR_NOCANDO
JOYERR_NOERROR
JOYERR_PARMS
JOYERR_UNPLUGGED
JOYSTICKID1
JOYSTICKID2
MM_JOY1MOVE
MM_JOY1ZMOVE
MM_JOY2MOVE
MM_JOY2ZMOVE
MMSYSERR_ALLOCATED
MMSYSERR_BADDEVICEID
MMSYSERR_BADERRNUM
MMSYSERR_BASE
MMSYSERR_ERROR
MMSYSERR_INVALFLAG
MMSYSERR_INVALHANDLE
MMSYSERR_INVALPARAM
MMSYSERR_LASTERROR
MMSYSERR_NODRIVER
MMSYSERR_NOERROR
MMSYSERR_NOMEM
MMSYSERR_NOTENABLED
MMSYSERR_NOTSUPPORTED
SND_ALIAS The sound parameter is a system-event alias in the registry or the WIN.INI file. Do not use with either SND_FILENAME or SND_RESOURCE.
SND_ALIAS_ID The sound parameter is a predefined sound identifier.
SND_APPLICATION The sound is played using an application-specific association.
SND_ASYNC The sound is played asynchronously and PlaySound returns immediately after beginning the sound. To terminate an asynchronously played waveform sound, call PlaySound with sound set to NULL.
SND_FILENAME The sound parameter is a filename.
SND_LOOP The sound plays repeatedly until PlaySound is called again with the sound parameter set to NULL. You must also specify the SND_ASYNC flag to indicate an asynchronous sound event.
SND_MEMORY A sound event's file is loaded in RAM. The parameter specified by sound must point to an image of a sound in memory.
SND_NODEFAULT No default sound event is used. If the sound cannot be found, PlaySound returns silently without playing the default sound.
SND_NOSTOP The specified sound event will yield to another sound event that is already playing. If a sound cannot be played because the resource needed to generate that sound is busy playing another sound, the function immediately returns FALSE without playing the requested sound. If this flag is not specified, PlaySound attempts to stop the currently playing sound so that the device can be used to play the new sound.
SND_NOWAIT If the driver is busy, return immediately without playing the sound.
SND_PURGE Sounds are to be stopped for the calling task. If sound is not NULL, all instances of the specified sound are stopped. If sound is NULL, all sounds that are playing on behalf of the calling task are stopped. You must also specify the instance handle to stop SND_RESOURCE events.
SND_RESOURCE The sound parameter is a resource identifier; mod must identify the instance that contains the resource.
SND_SYNC Synchronous playback of a sound event. PlaySound returns after the sound event completes.
TIMERR_BASE Timer base identifier.
TIMERR_NOCANDO Resolution specified is out of range.
TIMERR_NOERROR Successful.

Public Static (Shared) Methods

joyConfigChanged The joyConfigChanged function informs the joystick driver that the configuration has changed and should be reloaded from the registry.
joyGetDevCaps The joyGetDevCaps function queries a joystick to determine its capabilities.
joyGetNumDevs The joyGetNumDevs function queries the joystick driver for the number of joysticks it supports.
joyGetPos The joyGetPos function queries a joystick for its position and button status.
joyGetPosEx The joyGetPosEx function queries a joystick for its position and button status.
joyGetThreshold The joyGetThreshold function queries a joystick for its current movement threshold.
joyReleaseCapture The joyReleaseCapture function releases the specified captured joystick.
joySetCapture The joySetCature function captures a joystick by causing its messages to be sent to the specified window.
joySetThreshold The joySetThreshold function sets the movement threshold of a joystick.
PlaySound The PlaySound function plays a sound specified by the given filename, resource, or system event. (A system event may be associated with a sound in the registry or in the WIN.INI file.)
timeBeginPeriod The timeBeginPeriod function sets the minimum timer resolution for an application or device driver.
timeEndPeriod The timeEndPeriod function clears a previously set minimum timer resolution.
timeGetTime The timeGetTime function retrieves the system time, in milliseconds. The system time is the time elapsed since Windows was started.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

See Also

Winmm Class | Tao.Platform.Windows Namespace