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
winamp Interface Reference

import "winampinterface.idl";

List of all members.

Classes

struct  BUFFER
 struct to wrap up marshalling the data back More...

Public Member Functions

void WAMessageProc ([in, string] char *pszString)
 simple probing function
void WAExecuteMessage ([in, string] char *pszString,[in] long int command)
 execute winamp command
void WAExecuteMessageString ([in, string] char *pszString,[in, string] char *pszParam,[in] long int command)
 execute winamp command with string parameter
long int WAIntegerResult ([in, string] char *pszString,[in] long int command,[in] long int data)
 execute winamp function and return long integer result
long int WAStringResult ([in, out, string] char pszString[WA_RETURN_STRING_SIZE],[in] long int command,[in] long int data)
 execute winamp function and return string result
void WAShutdown (void)
 Shutdown function - do not call.
void WASetStringList ([in, string] char *pszString,[size_is(BufferLength), in] byte Buffer[],[in] unsigned long BufferLength,[in] long command)
 sets a list in TStrings format with the command supplied
void WAGetStringList ([in, string] char *pszString,[out] BUFFER *pBuffer,[in] long command)
 sets a list in TStrings format from the result of command supplied
void WAGetStringDataList ([in, string] char *pszString,[out] BUFFER *pBuffer,[in] long stringcommand,[in] long datacommand,[in] long datadata)
 sets a list in TStrings format from the result of commands supplied

Public Attributes

const short WA_RETURN_STRING_SIZE = 260

Detailed Description

Definition at line 28 of file winampinterface.idl.


Member Function Documentation

void winamp::WAExecuteMessage ( [in, string] char *  pszString,
[in] long int  command 
)

execute winamp command

Parameters:
pszStringthe string
commandthe winamp command
void winamp::WAExecuteMessageString ( [in, string] char *  pszString,
[in, string] char *  pszParam,
[in] long int  command 
)

execute winamp command with string parameter

Parameters:
pszStringthe string
pszParamthe string parameter
commandthe winamp command
void winamp::WAGetStringDataList ( [in, string] char *  pszString,
[out] BUFFER pBuffer,
[in] long  stringcommand,
[in] long  datacommand,
[in] long  datadata 
)

sets a list in TStrings format from the result of commands supplied

Parameters:
pszStringthe string
pBufferthe text buffer
stringcommandthe string query query
datacommandthe data query
datadatathe data parameter
void winamp::WAGetStringList ( [in, string] char *  pszString,
[out] BUFFER pBuffer,
[in] long  command 
)

sets a list in TStrings format from the result of command supplied

Parameters:
pszStringthe string
pBufferthe text buffer
commandthe winamp command
long int winamp::WAIntegerResult ( [in, string] char *  pszString,
[in] long int  command,
[in] long int  data 
)

execute winamp function and return long integer result

Parameters:
pszStringthe string
commandthe winamp command
dataa data parameter
void winamp::WAMessageProc ( [in, string] char *  pszString)

simple probing function

Parameters:
pszStringthe string
void winamp::WASetStringList ( [in, string] char *  pszString,
[size_is(BufferLength), in] byte  Buffer[],
[in] unsigned long  BufferLength,
[in] long  command 
)

sets a list in TStrings format with the command supplied

Parameters:
pszStringthe string
Bufferthe text buffer
BufferLengththe buffer length
commandthe winamp command
void winamp::WAShutdown ( void  )

Shutdown function - do not call.

long int winamp::WAStringResult ( [in, out, string] char  pszString[WA_RETURN_STRING_SIZE],
[in] long int  command,
[in] long int  data 
)

execute winamp function and return string result

Parameters:
pszStringthe string
commandthe winamp command
dataa data parameter

Member Data Documentation

const short winamp::WA_RETURN_STRING_SIZE = 260

Definition at line 31 of file winampinterface.idl.


The documentation for this interface was generated from the following file: