-
Notifications
You must be signed in to change notification settings - Fork 1
/
Winamp.h
62 lines (51 loc) · 1.39 KB
/
Winamp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
extern bool MoveAmp;
extern bool OnAmp;
#pragma once
char* GetCurrentWinampTrack(void);
//Winamp.cpp -- Winamp controls!
char* AmpControl_GetPlayingTitle(void);
void SendW3Key(HWND hwnd_winamp,char message);
HWND FindPlayer(int wanted);
void NextSong();
void PrevSong();
void StopSong();
void PlayPause();
void FastForward();
void Rewind();
void RaiseVolume();
void LowerVolume();
void Shuffle();
void Repeat();
void Close();
//char currTitle[2048];
#if !defined(AMPCONTROL_H)
#define AMPCONTROL_H
// Winamp 2 defines
#define W2_PREV 40044
#define W2_PLAY 40045
#define W2_PAUSE 40046
#define W2_STOP 40047
#define W2_NEXT 40048
#define W2_FILEPLAY 40029
#define W2_ISPLAYING 104
#define W2_OUTPUTTIME 105
#define W2_JUMPTOTIME 106
#define W2_SETPLAYLISTPOS 121
#define W2_GETLISTLENGTH 124
#define W2_GETLISTPOS 125
#define W2_GETINFO 126
// Winamp 3 defines
#define W3_PREV 'z'
#define W3_PLAY 'x'
#define W3_PAUSE 'c'
#define W3_STOP 'v'
#define W3_NEXT 'b'
#define W3_FILEPLAY 'l'
// Sonique 1 defines
#define S1_PREV 'z'
#define S1_PLAY 'x'
#define S1_PAUSE 'c'
#define S1_STOP 'v'
#define S1_NEXT 'b'
#define S1_FILEPLAY 'l'
#endif