The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
winampinterface.idl
Go to the documentation of this file.
1 /*
2 winamp remote control suit ©Patrick Michael Martin 2000, 2001, 2002
3 
4 Copyright (C) 2000,2001,2002 Patrick M. Martin
5 
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 
20 Patrick M. Martin may be reached by email at patrickmmartin@gmail.com.
21 */
22 
23 [
24  uuid (DBA14E47-F2F4-11D3-9CCE-90A8EF7AA961),
25  version(1.0)
26 ]
27 
28 interface winamp
29 {
30 
31  const short WA_RETURN_STRING_SIZE = 260; /* MAX_PATH */
32 
37  void WAMessageProc([in, string] char *pszString);
43  void WAExecuteMessage([in, string] char *pszString, [in] long int command);
50  void WAExecuteMessageString([in, string] char *pszString, [in, string] char *pszParam, [in] long int command);
57  long int WAIntegerResult([in, string] char *pszString, [in] long int command, [in] long int data);
64  long int WAStringResult([in, out, string] char pszString[WA_RETURN_STRING_SIZE], [in] long int command, [in] long int data);
68 void WAShutdown(void);
69 
77  void WASetStringList([in, string] char *pszString,
78  [size_is(BufferLength), in ] byte Buffer[],
79  [in] unsigned long BufferLength,
80  [in] long command);
81 
85  typedef struct {
86  unsigned long BufferLength;
87  [unique, size_is(BufferLength)] byte *Buffer;
88  } BUFFER;
89 
96  void WAGetStringList([in, string] char *pszString,
97  [out] BUFFER *pBuffer,
98  [in] long command);
99 
100 
109  void WAGetStringDataList([in, string] char *pszString,
110  [out] BUFFER *pBuffer,
111  [in] long stringcommand,
112  [in] long datacommand,
113  [in] long datadata);
114 
115 
116 }
117