06-02-2012
 
  Accueil    
Accueil
Travaux
Mon CV
Tutoriels
Histoire
Contact


Linking
Management du risque




Winamp API Convertir en PDF Version imprimable

C''est une liste non exhaustive, je vous recommander de se référer à la bonne source Winamp SDK

WM_COMMAND Messages :

Previous track button40044
Next track button40048
Play button40045
Pause/Unpause button40046
Stop button40047
Fadeout and stop40147
Stop after current track40157
Fast-forward 5 seconds40148
Fast-rewind 5 seconds40144
Start of playlist40154
Go to end of playlist 40158
Open file dialog40029
Open URL dialog40155
Open file info box40188
Set time display mode to elapsed40037
Set time display mode to remaining40038
Toggle preferences screen40012
Open visualization options40190
Open visualization plug-in options40191
Execute current visualization plug-in40192
Toggle about box40041
Toggle title Autoscrolling40189
Toggle always on top40019
Toggle Windowshade40064
Toggle Playlist Windowshade40266
Toggle doublesize mode40165
Toggle EQ40036
Toggle playlist editor40040
Toggle main window visible40258
Toggle minibrowser40298
Toggle easymove40186
Raise volume by 1%40058
Lower volume by 1%40059
Toggle repeat40022
Toggle shuffle40023
Open jump to time dialog40193
Open jump to file dialog40194
Open skin selector40219
Configure current visualization plug-in40221
Reload the current skin40291
Close Winamp40001
Moves back 10 tracks in playlist40197
Show the edit bookmarks40320
Adds current track as a bookmark40321
Play audio CD40323
Load a preset from EQ40253
Save a preset to EQF40254
Opens load presets dialog40172
Opens auto-load presets dialog40173
Load default preset40174
Opens save preset dialog40175
Opens auto-load save preset40176
Opens delete preset dialog40178
Opens delete an auto load preset dialog40180

WM_USER Messages:

0Retrieves the version of Winamp running. Version will be 0x20yx for 2.yx. This is a good way to determine if you did in fact find the right window, etc.
100Starts playback. A lot like hitting 'play' in Winamp, but not exactly the same
101Clears Winamp's internal playlist.
102Begins play of selected track.
103Makes Winamp change to the directory C:\\download
104Returns the status of playback. If 'ret' is 1, Winamp is playing. If 'ret' is 3, Winamp is paused. Otherwise, playback is stopped.
105If data is 0, returns the position in milliseconds of playback. If data is 1, returns current track length in seconds. Returns -1 if not playing or if an error occurs.
106Seeks within the current track. The offset is specified in 'data', in milliseconds.
120Writes out the current playlist to Winampdir\winamp.m3u, and returns the current position in the playlist.
121Sets the playlist position to the position specified in tracks in 'data'.
122Sets the volume to 'data', which can be between 0 (silent) and 255 (maximum).
123Sets the panning to 'data', which can be between 0 (all left) and 255 (all right).
124Returns length of the current playlist, in tracks.
125Returns the position in the current playlist, in tracks (requires Winamp 2.05+).
126Retrieves info about the current playing track. Returns samplerate (i.e. 44100) if 'data' is set to 0, bitrate if 'data' is set to 1, and number of channels if 'data' is set to 2. (requires Winamp 2.05+)
127Retrieves one element of equalizer data, based on what 'data' is set to.
0-9 The 10 bands of EQ data. Will return 0-63 (+20db - -20db)
10 The preamp value. Will return 0-63 (+20db - -20db)
11 Enabled. Will return zero if disabled, nonzero if enabled.
128Autoload. Will return zero if disabled, nonzero if enabled. To set an element of equalizer data, simply query which item you wish to set using the message above (127), then call this message with data
129Adds the specified file to the Winamp bookmark list
135Restarts Winamp
   
 



© 2012 Le site Web de Mâamoun BERNICHI
Joomla! is Free Software released under the GNU/GPL License.