![]() |
The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
|
#include "rpc.h"#include "rpcndr.h"Go to the source code of this file.
Classes | |
| struct | __MIDL_winamp_0001 |
Macros | |
| #define | __REQUIRED_RPCNDR_H_VERSION__ 440 |
| #define | __winamp_INTERFACE_DEFINED__ |
| #define | WA_RETURN_STRING_SIZE ( 260 ) |
Typedefs | |
| typedef struct __MIDL_winamp_0001 | BUFFER |
Functions | |
| void __RPC_FAR *__RPC_USER | MIDL_user_allocate (size_t) |
| void __RPC_USER | MIDL_user_free (void __RPC_FAR *) |
| void | WAMessageProc (unsigned char __RPC_FAR *pszString) |
| simple probing function | |
| void | WAExecuteMessage (unsigned char __RPC_FAR *pszString, long command) |
| execute winamp command | |
| void | WAExecuteMessageString (unsigned char __RPC_FAR *pszString, unsigned char __RPC_FAR *pszParam, long command) |
| execute winamp command with string parameter | |
| long | WAIntegerResult (unsigned char __RPC_FAR *pszString, long command, long data) |
| execute winamp function and return long integer result | |
| long | WAStringResult (unsigned char __RPC_FAR pszString[260], long command, long data) |
| execute winamp function and return string result | |
| void | WAShutdown (void) |
| Shutdown function - do not call. | |
| void | WASetStringList (unsigned char __RPC_FAR *pszString, byte __RPC_FAR Buffer[], unsigned long BufferLength, long command) |
| sets a list in TStrings format with the command supplied | |
| void | WAGetStringList (unsigned char __RPC_FAR *pszString, BUFFER __RPC_FAR *pBuffer, long command) |
| sets a list in TStrings format from the result of command supplied | |
| void | WAGetStringDataList (unsigned char __RPC_FAR *pszString, BUFFER __RPC_FAR *pBuffer, long stringcommand, long datacommand, long datadata) |
| sets a list in TStrings format from the result of commands supplied | |
Variables | |
| handle_t | winamp_IfHandle |
| RPC_IF_HANDLE | winamp_v1_0_c_ifspec |
| RPC_IF_HANDLE | winamp_v1_0_s_ifspec |
| #define __REQUIRED_RPCNDR_H_VERSION__ 440 |
Definition at line 16 of file winampinterface.h.
| #define __winamp_INTERFACE_DEFINED__ |
Definition at line 35 of file winampinterface.h.
| #define WA_RETURN_STRING_SIZE ( 260 ) |
Definition at line 40 of file winampinterface.h.
| typedef struct __MIDL_winamp_0001 BUFFER |
| void __RPC_FAR* __RPC_USER MIDL_user_allocate | ( | size_t | ) |
Definition at line 30 of file RPCExecutor.cpp.
Referenced by populateBuffer().
| void __RPC_USER MIDL_user_free | ( | void __RPC_FAR * | ) |
| void WAExecuteMessage | ( | unsigned char __RPC_FAR * | pszString, |
| long | command | ||
| ) |
execute winamp command
| pszString | the string |
| command | the winamp command |
Definition at line 241 of file RPCExecutor.cpp.
Referenced by ExecuteMessage(), SafeExecuteMessage(), and winamp_WAExecuteMessage().
| void WAExecuteMessageString | ( | unsigned char __RPC_FAR * | pszString, |
| unsigned char __RPC_FAR * | pszParam, | ||
| long | command | ||
| ) |
execute winamp command with string parameter
| pszString | the string |
| pszParam | the string parameter |
| command | the winamp command |
Definition at line 259 of file RPCExecutor.cpp.
Referenced by ExecuteStringMessage(), SafeExecuteStringMessage(), and winamp_WAExecuteMessageString().
| void WAGetStringDataList | ( | unsigned char __RPC_FAR * | pszString, |
| BUFFER __RPC_FAR * | pBuffer, | ||
| long | stringcommand, | ||
| long | datacommand, | ||
| long | datadata | ||
| ) |
sets a list in TStrings format from the result of commands supplied
| pszString | the string |
| pBuffer | the text buffer |
| stringcommand | the string query query |
| datacommand | the data query |
| datadata | the data parameter |
Definition at line 412 of file RPCExecutor.cpp.
Referenced by GetStringDataList(), and winamp_WAGetStringDataList().
| void WAGetStringList | ( | unsigned char __RPC_FAR * | pszString, |
| BUFFER __RPC_FAR * | pBuffer, | ||
| long | command | ||
| ) |
sets a list in TStrings format from the result of command supplied
| pszString | the string |
| pBuffer | the text buffer |
| command | the winamp command |
Definition at line 379 of file RPCExecutor.cpp.
Referenced by GetStringList(), WinampRemote::Client::WinampClientBase::getStringList(), SafeGetStringList(), and winamp_WAGetStringList().
| long WAIntegerResult | ( | unsigned char __RPC_FAR * | pszString, |
| long | command, | ||
| long | data | ||
| ) |
execute winamp function and return long integer result
| pszString | the string |
| command | the winamp command |
| data | a data parameter |
Definition at line 277 of file RPCExecutor.cpp.
Referenced by IntegerResult(), SafeIntegerResult(), and winamp_WAIntegerResult().
| void WAMessageProc | ( | unsigned char __RPC_FAR * | pszString | ) |
simple probing function
| pszString | the string |
Definition at line 225 of file RPCExecutor.cpp.
Referenced by SafeSendString(), SendString(), and winamp_WAMessageProc().
| void WASetStringList | ( | unsigned char __RPC_FAR * | pszString, |
| byte __RPC_FAR | Buffer[], | ||
| unsigned long | BufferLength, | ||
| long | command | ||
| ) |
sets a list in TStrings format with the command supplied
| pszString | the string |
| Buffer | the text buffer |
| BufferLength | the buffer length |
| command | the winamp command |
Definition at line 335 of file RPCExecutor.cpp.
Referenced by SafeSetStringList(), SetStringList(), WinampRemote::Client::WinampClientBase::setStringList(), and winamp_WASetStringList().
| void WAShutdown | ( | void | ) |
Shutdown function - do not call.
Definition at line 318 of file RPCExecutor.cpp.
Referenced by Shutdown(), TfrmPluginMain::StopThread(), and winamp_WAShutdown().
| long WAStringResult | ( | unsigned char __RPC_FAR | pszString[260], |
| long | command, | ||
| long | data | ||
| ) |
execute winamp function and return string result
| pszString | the string |
| command | the winamp command |
| data | a data parameter |
Definition at line 297 of file RPCExecutor.cpp.
Referenced by SafeStringResult(), StringResult(), and winamp_WAStringResult().
| handle_t winamp_IfHandle |
Definition at line 42 of file winampinterface_c.c.
Referenced by Bind(), UnBind(), WAExecuteMessage(), WAExecuteMessageString(), WAGetStringDataList(), WAGetStringList(), WAIntegerResult(), WAMessageProc(), WASetStringList(), WAShutdown(), and WAStringResult().
| RPC_IF_HANDLE winamp_v1_0_c_ifspec |
Definition at line 57 of file winampinterface_c.c.
| RPC_IF_HANDLE winamp_v1_0_s_ifspec |
Definition at line 52 of file winampinterface_s.c.
Referenced by WinampRemote::Server::RPCExecutor::Execute().