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
RPCFuncsU.cpp File Reference
#include "RPCFuncsU.h"
#include "RPCException.h"
#include "RPCBind.h"

Go to the source code of this file.

Functions

void __stdcall MIDL_user_free (void *mem)
void *__stdcall MIDL_user_allocate (size_t size)
void __stdcall ClientFree (void *mem)
void __stdcall Bind (const char *NetworkAddress, const char *EndPoint, const char *protocolSequence)
void __stdcall UnBind ()
void __stdcall SendString (char *pszString)
void __stdcall ExecuteMessage (char *pszString, int command)
void __stdcall ExecuteStringMessage (char *pszString, char *pszParam, int command)
int __stdcall StringResult (char pszString[WA_RETURN_STRING_SIZE], int command, int data)
int __stdcall IntegerResult (char *pszString, int command, int data)
void __stdcall Shutdown (void)
void __stdcall SetStringList (char *pszString, void *Buffer, int Size, int Command)
void __stdcall GetStringList (char *pszString, void **Buffer, int &Size, int Command)
void __stdcall GetStringDataList (char *pszString, void **Buffer, int &Size, int stringcommand, int datacommand, int datadata)
int __stdcall SafeSendString (char *pszString)
int __stdcall SafeExecuteMessage (char *pszString, int command)
int __stdcall SafeExecuteStringMessage (char *pszString, char *pszParam, int command)
int __stdcall SafeStringResult (char *pszString, int command, int data, int *Result)
int __stdcall SafeIntegerResult (char *pszString, int command, int data, int *Result)
int __stdcall SafeSetStringList (char *pszString, void *Buffer, int Size, int Command)
int __stdcall SafeGetStringList (char *pszString, void **Buffer, int &Size, int Command)

Variables

unsigned char * StringBinding = NULL

Function Documentation

void __stdcall Bind ( const char *  NetworkAddress,
const char *  EndPoint,
const char *  protocolSequence 
)

This binds to the interface before the RPC calls can connect

Parameters:
NetworkAddress- machine name or tcpip address
EndPoint- destination port/pipe etc. on the machine
protocolSequence- protocol type

Definition at line 53 of file RPCFuncsU.cpp.

Referenced by WinampRemote::Client::ClientBinder::ClientBinder(), TdmRemote::DoBind(), main(), and ServerTester::testServer().

void __stdcall ClientFree ( void *  mem)

Definition at line 47 of file RPCFuncsU.cpp.

void __stdcall ExecuteStringMessage ( char *  pszString,
char *  pszParam,
int  command 
)

Definition at line 110 of file RPCFuncsU.cpp.

void __stdcall GetStringDataList ( char *  pszString,
void **  Buffer,
int &  Size,
int  stringcommand,
int  datacommand,
int  datadata 
)

Definition at line 214 of file RPCFuncsU.cpp.

void __stdcall GetStringList ( char *  pszString,
void **  Buffer,
int &  Size,
int  Command 
)

Definition at line 190 of file RPCFuncsU.cpp.

void* __stdcall MIDL_user_allocate ( size_t  size)

Definition at line 38 of file RPCFuncsU.cpp.

void __stdcall MIDL_user_free ( void *  mem)

Definition at line 33 of file RPCFuncsU.cpp.

int __stdcall SafeExecuteMessage ( char *  pszString,
int  command 
)

Definition at line 252 of file RPCFuncsU.cpp.

int __stdcall SafeExecuteStringMessage ( char *  pszString,
char *  pszParam,
int  command 
)

Definition at line 266 of file RPCFuncsU.cpp.

int __stdcall SafeGetStringList ( char *  pszString,
void **  Buffer,
int &  Size,
int  Command 
)

Definition at line 325 of file RPCFuncsU.cpp.

int __stdcall SafeIntegerResult ( char *  pszString,
int  command,
int  data,
int *  Result 
)

Definition at line 294 of file RPCFuncsU.cpp.

int __stdcall SafeSendString ( char *  pszString)

Definition at line 238 of file RPCFuncsU.cpp.

int __stdcall SafeSetStringList ( char *  pszString,
void *  Buffer,
int  Size,
int  Command 
)

Definition at line 308 of file RPCFuncsU.cpp.

int __stdcall SafeStringResult ( char *  pszString,
int  command,
int  data,
int *  Result 
)

Definition at line 280 of file RPCFuncsU.cpp.

void __stdcall SendString ( char *  pszString)

Definition at line 79 of file RPCFuncsU.cpp.

Referenced by WinampRemote::Client::WinampClientBase::sendString().

void __stdcall SetStringList ( char *  pszString,
void *  Buffer,
int  Size,
int  Command 
)

Definition at line 176 of file RPCFuncsU.cpp.

void __stdcall Shutdown ( void  )

Definition at line 161 of file RPCFuncsU.cpp.

int __stdcall StringResult ( char  pszString[WA_RETURN_STRING_SIZE],
int  command,
int  data 
)
void __stdcall UnBind ( void  )

unbinds from RPC

Definition at line 70 of file RPCFuncsU.cpp.

Referenced by Bind(), TdmRemote::LocateServersExecute(), main(), and WinampRemote::Client::ClientBinder::~ClientBinder().


Variable Documentation

unsigned char* StringBinding = NULL

Definition at line 31 of file RPCFuncsU.cpp.

Referenced by Bind(), and UnBind().