Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-04-09 18:12:59 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-04-09 18:12:59 +0400
commitefbc9d9043ff8ff92716ddd00a5f61412d535593 (patch)
tree8f3e621f756cf1f5b4d64d97964c7e7abd8aaf08 /include/realmedia
parentdf6b139a6d9027156f614b68687e039e3a5854db (diff)
revert r1783
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1785 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'include/realmedia')
-rw-r--r--include/realmedia/pnbastsd.h174
-rw-r--r--include/realmedia/pncom.h142
-rw-r--r--include/realmedia/pnresult.h26
-rw-r--r--include/realmedia/pntypes.h130
-rw-r--r--include/realmedia/pnwintyp.h74
-rw-r--r--include/realmedia/rmaaconf.h74
-rw-r--r--include/realmedia/rmaallow.h192
-rw-r--r--include/realmedia/rmaasm.h122
-rw-r--r--include/realmedia/rmaausvc.h862
-rw-r--r--include/realmedia/rmaauth.h214
-rw-r--r--include/realmedia/rmaauthn.h296
-rw-r--r--include/realmedia/rmacfg.h64
-rw-r--r--include/realmedia/rmaclsnk.h92
-rw-r--r--include/realmedia/rmacmenu.h110
-rw-r--r--include/realmedia/rmacomm.h250
-rw-r--r--include/realmedia/rmacore.h332
-rw-r--r--include/realmedia/rmadb.h632
-rw-r--r--include/realmedia/rmadtcvt.h238
-rw-r--r--include/realmedia/rmaencod.h140
-rw-r--r--include/realmedia/rmaengin.h954
-rw-r--r--include/realmedia/rmaerror.h161
-rw-r--r--include/realmedia/rmaevent.h6
-rw-r--r--include/realmedia/rmafiles.h934
-rw-r--r--include/realmedia/rmaformt.h376
-rw-r--r--include/realmedia/rmagroup.h212
-rw-r--r--include/realmedia/rmahyper.h40
-rw-r--r--include/realmedia/rmaiids.h128
-rw-r--r--include/realmedia/rmalvpix.h112
-rw-r--r--include/realmedia/rmalvtxt.h184
-rw-r--r--include/realmedia/rmamon.h604
-rw-r--r--include/realmedia/rmapckts.h398
-rw-r--r--include/realmedia/rmapends.h30
-rw-r--r--include/realmedia/rmaphook.h126
-rw-r--r--include/realmedia/rmaplgns.h52
-rw-r--r--include/realmedia/rmaplugn.h448
-rw-r--r--include/realmedia/rmappv.h166
-rw-r--r--include/realmedia/rmaprefs.h122
-rw-r--r--include/realmedia/rmapsink.h84
-rw-r--r--include/realmedia/rmarendr.h112
-rw-r--r--include/realmedia/rmasite2.h102
-rw-r--r--include/realmedia/rmaslta.h142
-rw-r--r--include/realmedia/rmasrc.h228
-rw-r--r--include/realmedia/rmaupgrd.h64
-rw-r--r--include/realmedia/rmavalue.h406
-rw-r--r--include/realmedia/rmavsrc.h118
-rw-r--r--include/realmedia/rmavsurf.h38
-rw-r--r--include/realmedia/rmawin.h420
-rw-r--r--include/realmedia/rmaxmltg.h92
48 files changed, 5509 insertions, 5514 deletions
diff --git a/include/realmedia/pnbastsd.h b/include/realmedia/pnbastsd.h
index cfb892fc3..b4f02c23d 100644
--- a/include/realmedia/pnbastsd.h
+++ b/include/realmedia/pnbastsd.h
@@ -1,9 +1,9 @@
/****************************************************************************
- *
+ *
* $Id: pnbastsd.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
* This file is a replacement for the basetsd.h file from VC++ 6.0.
@@ -24,39 +24,39 @@
extern "C" {
#endif
- /*
- * The following types were defined in pntypes.h and so are intentionally
- * not included in this file. They are left here for documentation purposes.
- */
+/*
+ * The following types were defined in pntypes.h and so are intentionally
+ * not included in this file. They are left here for documentation purposes.
+ */
#if 0
- typedef int LONG32;
- typedef int INT32;
- typedef unsigned int ULONG32;
- typedef unsigned int UINT32;
+typedef int LONG32;
+typedef int INT32;
+typedef unsigned int ULONG32;
+typedef unsigned int UINT32;
#endif
- /*
- * The following types are 32 bits wide and unsigned.
- */
- typedef unsigned int *PULONG32;
- typedef unsigned int DWORD32, *PDWORD32;
- typedef unsigned int *PUINT32;
-
- /*
- * INT_PTR is the same size as a pointer. Its size changes with pointer
- * size (32 bit or 64 bit). HALF_PTR is half the size of a pointer.
- */
+/*
+ * The following types are 32 bits wide and unsigned.
+ */
+typedef unsigned int *PULONG32;
+typedef unsigned int DWORD32, *PDWORD32;
+typedef unsigned int *PUINT32;
+
+/*
+ * INT_PTR is the same size as a pointer. Its size changes with pointer
+ * size (32 bit or 64 bit). HALF_PTR is half the size of a pointer.
+ */
#ifdef _WIN64
- typedef __int64 INT_PTR, *PINT_PTR;
- typedef unsigned __int64 UINT_PTR, *PUINT_PTR;
+typedef __int64 INT_PTR, *PINT_PTR;
+typedef unsigned __int64 UINT_PTR, *PUINT_PTR;
#define MAXINT_PTR (0x7fffffffffffffffI64)
#define MININT_PTR (0x8000000000000000I64)
#define MAXUINT_PTR (0xffffffffffffffffUI64)
- typedef unsigned int UHALF_PTR, *PUHALF_PTR;
- typedef int HALF_PTR, *PHALF_PTR;
+typedef unsigned int UHALF_PTR, *PUHALF_PTR;
+typedef int HALF_PTR, *PHALF_PTR;
#define MAXUHALF_PTR (0xffffffffUL)
#define MAXHALF_PTR (0x7fffffffL)
@@ -65,65 +65,65 @@ extern "C" {
#pragma warning(disable:4311) /* type cast truncation */
#if !defined(__midl)
- __inline
- unsigned long
- HandleToUlong(
- void *h
+__inline
+unsigned long
+HandleToUlong(
+ void *h
)
- {
- return((unsigned long) h);
- }
-
- __inline
- unsigned long
- PtrToUlong(
- void *p
+{
+ return((unsigned long) h );
+}
+
+__inline
+unsigned long
+PtrToUlong(
+ void *p
)
- {
- return((unsigned long) p);
- }
-
- __inline
- unsigned short
- PtrToUshort(
- void *p
+{
+ return((unsigned long) p );
+}
+
+__inline
+unsigned short
+PtrToUshort(
+ void *p
)
- {
- return((unsigned short) p);
- }
-
- __inline
- long
- PtrToLong(
- void *p
+{
+ return((unsigned short) p );
+}
+
+__inline
+long
+PtrToLong(
+ void *p
)
- {
- return((long) p);
- }
-
- __inline
- short
- PtrToShort(
- void *p
+{
+ return((long) p );
+}
+
+__inline
+short
+PtrToShort(
+ void *p
)
- {
- return((short) p);
- }
+{
+ return((short) p );
+}
#endif
#pragma warning(3:4311) /* type cast truncation */
#else
- typedef long INT_PTR, *PINT_PTR;
- typedef unsigned long UINT_PTR, *PUINT_PTR;
+typedef long INT_PTR, *PINT_PTR;
+typedef unsigned long UINT_PTR, *PUINT_PTR;
#define MAXINT_PTR (0x7fffffffL)
#define MININT_PTR (0x80000000L)
#define MAXUINT_PTR (0xffffffffUL)
- typedef unsigned short UHALF_PTR, *PUHALF_PTR;
- typedef short HALF_PTR, *PHALF_PTR;
+typedef unsigned short UHALF_PTR, *PUHALF_PTR;
+typedef short HALF_PTR, *PHALF_PTR;
#define MAXUHALF_PTR 0xffff
#define MAXHALF_PTR 0x7fff
@@ -137,24 +137,24 @@ extern "C" {
#endif
- /*
- * Basic SIZE_T support.
- */
- typedef UINT_PTR SIZE_T, *PSIZE_T;
- typedef INT_PTR SSIZE_T, *PSSIZE_T;
-
- /*
- * These types are 64 bits wide and signed.
- */
- typedef __int64 LONG64, *PLONG64;
- typedef __int64 INT64, *PINT64;
-
- /*
- * These types are 64 bits wide and unsigned.
- */
- typedef unsigned __int64 ULONG64, *PULONG64;
- typedef unsigned __int64 DWORD64, *PDWORD64;
- typedef unsigned __int64 UINT64, *PUINT64;
+/*
+ * Basic SIZE_T support.
+ */
+typedef UINT_PTR SIZE_T, *PSIZE_T;
+typedef INT_PTR SSIZE_T, *PSSIZE_T;
+
+/*
+ * These types are 64 bits wide and signed.
+ */
+typedef __int64 LONG64, *PLONG64;
+typedef __int64 INT64, *PINT64;
+
+/*
+ * These types are 64 bits wide and unsigned.
+ */
+typedef unsigned __int64 ULONG64, *PULONG64;
+typedef unsigned __int64 DWORD64, *PDWORD64;
+typedef unsigned __int64 UINT64, *PUINT64;
#ifdef __cplusplus
}
diff --git a/include/realmedia/pncom.h b/include/realmedia/pncom.h
index 83c990caa..6e89ecc46 100644
--- a/include/realmedia/pncom.h
+++ b/include/realmedia/pncom.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: pncom.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -28,7 +28,7 @@
// have to use the double expansion to get the prescan level
#define STATCONCAT1(w,x,y,z) STATCONCAT2(w,x,y,z)
-#define STATCONCAT2(w,x,y,z) w##x##y##z
+#define STATCONCAT2(w,x,y,z) w##x##y##z
#ifdef _STATICALLY_LINKED
#ifndef _PLUGINNAME
@@ -41,7 +41,7 @@
#endif
/*
- * We include objbase.h when building for windows so that pncom.h can
+ * We include objbase.h when building for windows so that pncom.h can
* easily be used in any windows code.
*/
#ifdef _WIN32
@@ -52,7 +52,7 @@
/*
* REF:
- * Use this for reference parameters, so that C users can
+ * Use this for reference parameters, so that C users can
* use the interface as well.
*/
#if defined(__cplusplus)
@@ -63,7 +63,7 @@
/*
* CONSTMETHOD:
- * Use this for constant methods in an interface
+ * Use this for constant methods in an interface
* Compiles away under C
*/
#if !defined( CONSTMETHOD )
@@ -96,13 +96,13 @@
* If useing windows.h or the windows implementation of COM
* these defines are not needed.
*/
-#if !defined( _OBJBASE_H_ )
+#if !defined( _OBJBASE_H_ )
#ifdef _WIN16
typedef unsigned int MMRESULT;
#define FAR _far
#else
-#define FAR
+#define FAR
#endif /* WIN16 */
#define PASCAL _pascal
#define CDECL _cdecl
@@ -232,42 +232,42 @@ typedef unsigned int MMRESULT;
* a single definition of the interface is simulataneously a proper
* declaration of the interface structures (C++ abstract classes)
* for both C and C++.
- *
+ *
* DECLARE_INTERFACE(iface) is used to declare an interface that does
* not derive from a base interface.
* DECLARE_INTERFACE_(iface, baseiface) is used to declare an interface
* that does derive from a base interface.
- *
+ *
* By default if the source file has a .c extension the C version of
* the interface declaratations will be expanded; if it has a .cpp
* extension the C++ version will be expanded. if you want to force
* the C version expansion even though the source file has a .cpp
* extension, then define the macro "CINTERFACE".
* eg. cl -DCINTERFACE file.cpp
- *
+ *
* Example Interface declaration:
- *
+ *
* #undef INTERFACE
* #define INTERFACE IClassFactory
- *
+ *
* DECLARE_INTERFACE_(IClassFactory, IUnknown)
* {
- * // *** IUnknown methods
+ * // *** IUnknown methods
* STDMETHOD(QueryInterface) (THIS_
* REFIID riid,
* LPVOID FAR* ppvObj) PURE;
* STDMETHOD_(ULONG,AddRef) (THIS) PURE;
* STDMETHOD_(ULONG,Release) (THIS) PURE;
- *
+ *
* // *** IClassFactory methods ***
* STDMETHOD(CreateInstance) (THIS_
* LPUNKNOWN pUnkOuter,
* REFIID riid,
* LPVOID FAR* ppvObject) PURE;
* };
- *
+ *
* Example C++ expansion:
- *
+ *
* struct FAR IClassFactory : public IUnknown
* {
* virtual PN_RESULT STDMETHODCALLTYPE QueryInterface(
@@ -280,21 +280,21 @@ typedef unsigned int MMRESULT;
* IID FAR& riid,
* LPVOID FAR* ppvObject) = 0;
* };
- *
+ *
* NOTE: Our documentation says '#define interface class' but we use
* 'struct' instead of 'class' to keep a lot of 'public:' lines
* out of the interfaces. The 'FAR' forces the 'this' pointers to
* be far, which is what we need.
- *
+ *
* Example C expansion:
- *
+ *
* typedef struct IClassFactory
* {
* const struct IClassFactoryVtbl FAR* lpVtbl;
* } IClassFactory;
- *
+ *
* typedef struct IClassFactoryVtbl IClassFactoryVtbl;
- *
+ *
* struct IClassFactoryVtbl
* {
* PN_RESULT (STDMETHODCALLTYPE * QueryInterface) (
@@ -335,11 +335,11 @@ typedef unsigned int MMRESULT;
#if defined(_MPPC_) && \
( (defined(_MSC_VER) || defined(__SC__) || defined(__MWERKS__)) && \
!defined(NO_NULL_VTABLE_ENTRY) )
-#define BEGIN_INTERFACE virtual void a() {}
-#define END_INTERFACE
+ #define BEGIN_INTERFACE virtual void a() {}
+ #define END_INTERFACE
#else
-#define BEGIN_INTERFACE
-#define END_INTERFACE
+ #define BEGIN_INTERFACE
+ #define END_INTERFACE
#endif
#endif
@@ -353,11 +353,11 @@ typedef unsigned int MMRESULT;
#if !defined(BEGIN_INTERFACE)
#if defined(_MPPC_)
-#define BEGIN_INTERFACE void *b;
-#define END_INTERFACE
+ #define BEGIN_INTERFACE void *b;
+ #define END_INTERFACE
#else
-#define BEGIN_INTERFACE
-#define END_INTERFACE
+ #define BEGIN_INTERFACE
+ #define END_INTERFACE
#endif
#endif
@@ -393,12 +393,12 @@ typedef unsigned int MMRESULT;
#ifndef GUID_DEFINED
#define GUID_DEFINED
typedef struct _GUID
-{
+ {
ULONG32 Data1;
UINT16 Data2;
UINT16 Data3;
UCHAR Data4[ 8 ];
-} GUID;
+ } GUID;
#endif
@@ -505,7 +505,7 @@ inline void SetGUID(GUID& rguid1, REFGUID rguid2)
inline BOOL operator==(const GUID& guidOne, const GUID& guidOther)
{
- return !memcmp(&guidOne, &guidOther, sizeof(GUID));
+ return !memcmp(&guidOne,&guidOther,sizeof(GUID));
}
inline BOOL operator!=(const GUID& guidOne, const GUID& guidOther)
@@ -517,7 +517,7 @@ inline BOOL operator!=(const GUID& guidOne, const GUID& guidOther)
/****************************************************************************
- *
+ *
* Interface:
*
* IUnknown
@@ -532,26 +532,26 @@ inline BOOL operator!=(const GUID& guidOne, const GUID& guidOther)
* {00000000-0000-0000-C000000000000046}
*
*/
-DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
+DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
#undef INTERFACE
#define INTERFACE IUnknown
DECLARE_INTERFACE(IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IMalloc
@@ -565,8 +565,8 @@ DECLARE_INTERFACE(IUnknown)
* {00000002-0000-0000-C000000000000046}
*
*/
-DEFINE_GUID(IID_IMalloc, 00000002, 0x0000, 0x0000, 0xC0, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
+DEFINE_GUID(IID_IMalloc, 00000002, 0x0000, 0x0000, 0xC0, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
#undef INTERFACE
#define INTERFACE IMalloc
@@ -576,34 +576,34 @@ DECLARE_INTERFACE_(IMalloc, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IMalloc methods
*/
- STDMETHOD_(void*, Alloc)(THIS_
- UINT32 /*IN*/ count) PURE;
+ STDMETHOD_(void*,Alloc) (THIS_
+ UINT32 /*IN*/ count) PURE;
- STDMETHOD_(void*, Realloc)(THIS_
- void* /*IN*/ pMem,
- UINT32 /*IN*/ count) PURE;
+ STDMETHOD_(void*,Realloc) (THIS_
+ void* /*IN*/ pMem,
+ UINT32 /*IN*/ count) PURE;
- STDMETHOD_(void, Free)(THIS_
- void* /*IN*/ pMem) PURE;
+ STDMETHOD_(void,Free) (THIS_
+ void* /*IN*/ pMem) PURE;
- STDMETHOD_(UINT32, GetSize)(THIS_
- void* /*IN*/ pMem) PURE;
+ STDMETHOD_(UINT32,GetSize) (THIS_
+ void* /*IN*/ pMem) PURE;
- STDMETHOD_(BOOL, DidAlloc)(THIS_
- void* /*IN*/ pMem) PURE;
+ STDMETHOD_(BOOL,DidAlloc) (THIS_
+ void* /*IN*/ pMem) PURE;
- STDMETHOD_(void, HeapMinimize)(THIS) PURE;
+ STDMETHOD_(void,HeapMinimize) (THIS) PURE;
};
/*
@@ -621,11 +621,11 @@ DECLARE_INTERFACE_(IMalloc, IUnknown)
/* Even in windows we want these GUID's defined... */
#if !(defined(INITGUID) && defined(USE_IUNKNOWN_AND_IMALLOC_FROM_UUID_LIB))
-DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
+DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
-DEFINE_GUID(IID_IMalloc, 00000002, 0x0000, 0x0000, 0xC0, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
+DEFINE_GUID(IID_IMalloc, 00000002, 0x0000, 0x0000, 0xC0, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
#endif
#include <memory.h> /* for memcmp */
@@ -657,10 +657,10 @@ inline void SetGUID(REFGUID rguid1, REFGUID rguid2)
#ifdef __cplusplus
inline BOOL RNIsEqualGUID(REFGUID rguid1, REFGUID rguid2)
{
- return (((UINT32*) &rguid1)[0] == ((UINT32*) &rguid2)[0] &&
- ((UINT32*) &rguid1)[1] == ((UINT32*) &rguid2)[1] &&
- ((UINT32*) &rguid1)[2] == ((UINT32*) &rguid2)[2] &&
- ((UINT32*) &rguid1)[3] == ((UINT32*) &rguid2)[3]);
+ return (((UINT32*) &rguid1)[0] == ((UINT32*) &rguid2)[0] &&
+ ((UINT32*) &rguid1)[1] == ((UINT32*) &rguid2)[1] &&
+ ((UINT32*) &rguid1)[2] == ((UINT32*) &rguid2)[2] &&
+ ((UINT32*) &rguid1)[3] == ((UINT32*) &rguid2)[3]);
}
#else
#define RNIsEqualGUID(rguid1, rguid2) \
@@ -711,5 +711,5 @@ inline BOOL RNIsEqualGUID(REFGUID rguid1, REFGUID rguid2)
pMalloc->Free(pMem);\
pMalloc->Release();\
}\
-
+
#endif /* _PNCOM_H_ */
diff --git a/include/realmedia/pnresult.h b/include/realmedia/pnresult.h
index 6b54f19d8..d845cecff 100644
--- a/include/realmedia/pnresult.h
+++ b/include/realmedia/pnresult.h
@@ -22,7 +22,7 @@
typedef LONG32 PN_RESULT;
#ifndef _WIN32
-typedef PN_RESULT HRESULT;
+ typedef PN_RESULT HRESULT;
# define NOERROR 0
# define FACILITY_ITF 4
# define MAKE_HRESULT(sev,fac,code) \
@@ -32,7 +32,7 @@ typedef PN_RESULT HRESULT;
# define FAILED(Status) (((unsigned long)(Status)>>31) != 0)
#else
# ifndef _HRESULT_DEFINED
-typedef LONG32 HRESULT;
+ typedef LONG32 HRESULT;
# endif /* _HRESULT_DEFINED */
# include <winerror.h>
#endif /* _WIN32 */
@@ -86,7 +86,7 @@ typedef LONG32 HRESULT;
#define PNR_UNSUPPORTED_VIDEO MAKE_PN_RESULT(1,SS_GLO,14)
#define PNR_UNSUPPORTED_AUDIO MAKE_PN_RESULT(1,SS_GLO,15)
#define PNR_INVALID_BANDWIDTH MAKE_PN_RESULT(1,SS_GLO,16)
-/* PNR_NO_RENDERER and PNR_NO_FILEFORMAT old value is being deprecated
+/* PNR_NO_RENDERER and PNR_NO_FILEFORMAT old value is being deprecated
#define PNR_NO_FILEFORMAT MAKE_PN_RESULT(1,SS_GLO,10)
#define PNR_NO_RENDERER MAKE_PN_RESULT(1,SS_GLO,11)*/
#define PNR_NO_RENDERER MAKE_PN_RESULT(1,SS_GLO,17)
@@ -228,11 +228,11 @@ typedef LONG32 HRESULT;
#define PNR_ENC_INVALID_SERVER MAKE_PN_RESULT(1,SS_ENC,25)
#define PNR_ENC_INVALID_TEMP_PATH MAKE_PN_RESULT(1,SS_ENC,26)
#define PNR_ENC_MERGE_FAIL MAKE_PN_RESULT(1,SS_ENC,27)
-#define PNR_BIN_DATA_NOT_FOUND MAKE_PN_RESULT(0,SS_ENC,28)
-#define PNR_BIN_END_OF_DATA MAKE_PN_RESULT(0,SS_ENC,29)
+#define PNR_BIN_DATA_NOT_FOUND MAKE_PN_RESULT(0,SS_ENC,28)
+#define PNR_BIN_END_OF_DATA MAKE_PN_RESULT(0,SS_ENC,29)
#define PNR_BIN_DATA_PURGED MAKE_PN_RESULT(1,SS_ENC,30)
-#define PNR_BIN_FULL MAKE_PN_RESULT(1,SS_ENC,31)
-#define PNR_BIN_OFFSET_PAST_END MAKE_PN_RESULT(1,SS_ENC,32)
+#define PNR_BIN_FULL MAKE_PN_RESULT(1,SS_ENC,31)
+#define PNR_BIN_OFFSET_PAST_END MAKE_PN_RESULT(1,SS_ENC,32)
#define PNR_ENC_NO_ENCODED_DATA MAKE_PN_RESULT(1,SS_ENC,33)
#define PNR_ENC_INVALID_DLL MAKE_PN_RESULT(1,SS_ENC,34)
#define PNR_NOT_INDEXABLE MAKE_PN_RESULT(1,SS_ENC,35)
@@ -324,14 +324,14 @@ typedef LONG32 HRESULT;
#ifdef _WIN32
#define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc)
#ifdef _WINCE
-#undef E_NOTIMPL
+#undef E_NOTIMPL
#undef E_OUTOFMEMORY
-#undef E_INVALIDARG
+#undef E_INVALIDARG
#undef E_NOINTERFACE
-#undef E_POINTER
-#undef E_HANDLE
-#undef E_ABORT
-#undef E_FAIL
+#undef E_POINTER
+#undef E_HANDLE
+#undef E_ABORT
+#undef E_FAIL
#undef E_ACCESSDENIED
#endif
#define E_NOTIMPL _HRESULT_TYPEDEF_(0x80004001L)
diff --git a/include/realmedia/pntypes.h b/include/realmedia/pntypes.h
index 62b192bb4..5021f4e6c 100644
--- a/include/realmedia/pntypes.h
+++ b/include/realmedia/pntypes.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: pntypes.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -28,7 +28,7 @@
#define RN_LITTLE_ENDIAN 1
#endif
-#ifndef RN_BIG_ENDIAN
+#ifndef RN_BIG_ENDIAN
#define RN_BIG_ENDIAN 0
#endif
@@ -38,7 +38,7 @@
#define RN_LITTLE_ENDIAN 0
#endif
-#ifndef RN_BIG_ENDIAN
+#ifndef RN_BIG_ENDIAN
#define RN_BIG_ENDIAN 1
#endif
@@ -76,7 +76,7 @@ typedef unsigned char PN_BITFIELD;
#if defined __alpha__
typedef long int INT64;
-#elif defined _WINDOWS
+#elif defined _WINDOWS
typedef __int64 INT64;
#else
typedef long long INT64;
@@ -87,18 +87,18 @@ typedef long long INT64;
* Instead of using __MWERKS__ you can now use _MACINTOSH
*/
#ifdef __MWERKS__
-#if __dest_os==__macos
-#ifndef _MACINTOSH
-#define _MACINTOSH 1
+ #if __dest_os==__macos
+ #ifndef _MACINTOSH
+ #define _MACINTOSH 1
-#ifdef powerc
-#define _MACPPC
-#else
-#define _MAC68K
-#endif
+ #ifdef powerc
+ #define _MACPPC
+ #else
+ #define _MAC68K
+ #endif
-#endif
-#endif
+ #endif
+ #endif
#endif
#if defined (_SCO_SV) && !defined (MAXPATHLEN)
@@ -139,40 +139,40 @@ extern "C" { /* Assume C declarations for C++ */
#define RM_FILE_MAGIC_NUMBER 0x2E524D46L /* RealMedia File Identifier */
#define RIFF_FILE_MAGIC_NUMBER 0x52494646L /* RIFF (AVI etc.) File Identifier */
- typedef INT32 LONG32; /* signed 32 bit value */
- typedef UINT32 ULONG32; /* unsigned 32 bit value */
+typedef INT32 LONG32; /* signed 32 bit value */
+typedef UINT32 ULONG32; /* unsigned 32 bit value */
#ifndef _VXWORKS
- typedef UINT8 UCHAR; /* unsigned 8 bit value */
+typedef UINT8 UCHAR; /* unsigned 8 bit value */
#endif
//typedef INT8 CHAR; /* signed 8 bit value */
- typedef UINT8 BYTE;
- typedef INT32 long32;
- typedef UINT32 u_long32;
+typedef UINT8 BYTE;
+typedef INT32 long32;
+typedef UINT32 u_long32;
- typedef INT8 Int8;
- typedef UINT8 u_Int8;
- typedef INT16 Int16;
- typedef UINT16 u_Int16;
- typedef INT32 Int32;
- typedef UINT32 u_Int32;
+typedef INT8 Int8;
+typedef UINT8 u_Int8;
+typedef INT16 Int16;
+typedef UINT16 u_Int16;
+typedef INT32 Int32;
+typedef UINT32 u_Int32;
- typedef ULONG32 UFIXED32; /* FIXED point value */
+typedef ULONG32 UFIXED32; /* FIXED point value */
#define FLOAT_TO_FIXED(x) ((UFIXED32) ((x) * (1L << 16) + 0.5))
#define FIXED_TO_FLOAT(x) ((float) ((((float)x)/ (float)(1L <<16))))
- /*
- * UFIXED32 is a 32 value where the upper 16 bits are the unsigned integer
- * portion of value, and the lower 16 bits are the fractional part of the
- * value
- */
+/*
+ * UFIXED32 is a 32 value where the upper 16 bits are the unsigned integer
+ * portion of value, and the lower 16 bits are the fractional part of the
+ * value
+ */
- typedef const char* PCSTR;
+typedef const char* PCSTR;
- /*
- * FOURCC's are 32bit codes used in Tagged File formats like
- * the RealMedia file format.
- */
+/*
+ * FOURCC's are 32bit codes used in Tagged File formats like
+ * the RealMedia file format.
+ */
#ifndef PN_FOURCC
#define PN_FOURCC( ch0, ch1, ch2, ch3 ) \
@@ -180,7 +180,7 @@ extern "C" { /* Assume C declarations for C++ */
( (UINT32)(UINT8)(ch2) << 16 ) | ( (UINT32)(UINT8)(ch3) << 24 ) )
#endif
- typedef UINT16 PrefKey;
+typedef UINT16 PrefKey;
#ifdef __cplusplus
}
@@ -190,7 +190,7 @@ extern "C" { /* Assume C declarations for C++ */
/*--------------------------------------------------------------------------
| ZeroInit - initializes a block of memory with zeros
--------------------------------------------------------------------------*/
-#define ZeroInit(pb) memset((void *)pb,0,sizeof(*(pb)))
+#define ZeroInit(pb) memset((void *)pb,0,sizeof(*(pb)))
#ifndef __MACTYPES__
typedef unsigned char Byte;
@@ -205,9 +205,9 @@ typedef unsigned char Byte;
#define PNEXPORT __declspec(dllexport) __stdcall
#define PNEXPORT_PTR __stdcall *
-typedef void (*RANOTIFYPROC)(void*);
+typedef void (*RANOTIFYPROC)( void* );
-#if defined(EXPORT_CLASSES) && defined(_WINDOWS)
+#if defined(EXPORT_CLASSES) && defined(_WINDOWS)
#ifdef _WIN32
#define PNEXPORT_CLASS __declspec(dllexport)
#else
@@ -229,7 +229,7 @@ typedef void (*RANOTIFYPROC)(void*);
#define STDMETHODCALLTYPE __stdcall
#endif
#elif defined(_WIN16)
-// XXXTW I made the change below on 5/18/98. The __export was causing
+// XXXTW I made the change below on 5/18/98. The __export was causing
// conflicts with duplicate CPNBuffer methods in being linked into
// rpupgrd and rpdestpn. Also, the warning was "export imported".
// This was fixed by removing the __export. The __export is also
@@ -285,14 +285,14 @@ typedef void (*RANOTIFYPROC)(void*);
//
// Purpose:
//
-// Returns the Major version portion of the encoded product version
+// Returns the Major version portion of the encoded product version
// of the RealAudio application interface DLL previously returned from
// a call to RaGetProductVersion().
//
// Parameters:
//
// prodVer
-// The encoded product version of the RealAudio application interface
+// The encoded product version of the RealAudio application interface
// DLL previously returned from a call to RaGetProductVersion().
//
// Return:
@@ -312,14 +312,14 @@ typedef void (*RANOTIFYPROC)(void*);
//
// Purpose:
//
-// Returns the minor version portion of the encoded product version
+// Returns the minor version portion of the encoded product version
// of the RealAudio application interface DLL previously returned from
// a call to RaGetProductVersion().
//
// Parameters:
//
// prodVer
-// The encoded product version of the RealAudio application interface
+// The encoded product version of the RealAudio application interface
// DLL previously returned from a call to RaGetProductVersion().
//
// Return:
@@ -339,14 +339,14 @@ typedef void (*RANOTIFYPROC)(void*);
//
// Purpose:
//
-// Returns the release number portion of the encoded product version
+// Returns the release number portion of the encoded product version
// of the RealAudio application interface DLL previously returned from
// a call to RaGetProductVersion().
//
// Parameters:
//
// prodVer
-// The encoded product version of the RealAudio application interface
+// The encoded product version of the RealAudio application interface
// DLL previously returned from a call to RaGetProductVersion().
//
// Return:
@@ -366,14 +366,14 @@ typedef void (*RANOTIFYPROC)(void*);
//
// Purpose:
//
-// Returns the build number portion of the encoded product version
+// Returns the build number portion of the encoded product version
// of the RealAudio application interface DLL previously returned from
// a call to RaGetProductVersion().
//
// Parameters:
//
// prodVer
-// The encoded product version of the RealAudio application interface
+// The encoded product version of the RealAudio application interface
// DLL previously returned from a call to RaGetProductVersion().
//
// Return:
@@ -395,7 +395,7 @@ typedef void (*RANOTIFYPROC)(void*);
//
// Encodes a major version, minor version, release number, and build
// number into a product version for testing against the product version
-// of the RealAudio application interface DLL returned from a call to
+// of the RealAudio application interface DLL returned from a call to
// RaGetProductVersion().
//
// Parameters:
@@ -417,11 +417,11 @@ typedef void (*RANOTIFYPROC)(void*);
// The encoded product version.
//
// NOTES:
-//
+//
// Macintosh DEVELOPERS especially, make sure when using the PN_ENCODE_PROD_VERSION
-// that you are passing a ULONG32 or equivalent for each of the parameters.
+// that you are passing a ULONG32 or equivalent for each of the parameters.
// By default a number passed in as a constant is a short unless it requires more room,
-// so designate the constant as a long by appending a L to the end of it.
+// so designate the constant as a long by appending a L to the end of it.
// Example:
// WORKS:
// PN_ENCODE_VERSION(2L,1L,1L,0L);
@@ -442,16 +442,16 @@ typedef void (*RANOTIFYPROC)(void*);
#define PN_EXTRACT_MAJOR_VERSION(ulversion) ((ulversion)>>28)
#define PN_EXTRACT_MINOR_VERSION(ulversion) (((ulversion)>>20) & (UINT32)0xFF)
-
+
#ifdef _AIX
-typedef int tv_sec_t;
-typedef int tv_usec_t;
+ typedef int tv_sec_t;
+ typedef int tv_usec_t;
#elif (defined _HPUX)
-typedef UINT32 tv_sec_t;
-typedef INT32 tv_usec_t;
+ typedef UINT32 tv_sec_t;
+ typedef INT32 tv_usec_t;
#else
-typedef INT32 tv_sec_t;
-typedef INT32 tv_usec_t;
+ typedef INT32 tv_sec_t;
+ typedef INT32 tv_usec_t;
#endif /* _AIX */
#ifndef VOLATILE
@@ -474,7 +474,7 @@ typedef ULONG32 PNXIMAGE;
/*
* For VC++ 6.0 and higher we need to include this substitute header file
- * in place of the standard header file basetsd.h, since this standard
+ * in place of the standard header file basetsd.h, since this standard
* header file conflicts with our definitions.
*/
#if defined(_MSC_VER) && (_MSC_VER > 1100)
diff --git a/include/realmedia/pnwintyp.h b/include/realmedia/pnwintyp.h
index 0e9f28895..5c9c6f426 100644
--- a/include/realmedia/pnwintyp.h
+++ b/include/realmedia/pnwintyp.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: pnwintyp.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -26,7 +26,7 @@
#endif
/****************************************************************************
- *
+ *
* Structure:
*
* PNxSize
@@ -43,7 +43,7 @@ typedef struct PNEXPORT_CLASS _PNxSize
} PNxSize;
/****************************************************************************
- *
+ *
* Structure:
*
* PNxPoint
@@ -60,7 +60,7 @@ typedef struct PNEXPORT_CLASS _PNxPoint
} PNxPoint;
/****************************************************************************
- *
+ *
* Structure:
*
* PNxRect
@@ -82,7 +82,7 @@ typedef struct PNEXPORT_CLASS _PNxRect
#define PNxRECT_HEIGHT(r) ((r).bottom - (r).top)
/****************************************************************************
- *
+ *
* Structure:
*
* PNxWindow
@@ -97,36 +97,36 @@ typedef struct PNEXPORT_CLASS _PNxRect
*
* void* window
* platform specific window handle
- *
+ *
* ULONG32 x, y
* position of top left corner relative to a client page
- *
+ *
* ULONG32 width, height
* maximum window size
- *
- * PNxRect clipRect;
+ *
+ * PNxRect clipRect;
* clipping rectangle in port coordinates
*
*/
typedef struct PNEXPORT_CLASS _PNxWindow
{
- /* NOTE: The window parameter is NOT guaranteed to be unique for every
- corresponding CPNWindow. Use PNxWindowID if this is desired. */
+ /* NOTE: The window parameter is NOT guaranteed to be unique for every
+ corresponding CPNWindow. Use PNxWindowID if this is desired. */
void* window;
ULONG32 x;
- ULONG32 y;
+ ULONG32 y;
ULONG32 width;
ULONG32 height;
PNxRect clipRect;
-#ifdef _UNIX
+ #ifdef _UNIX
void * display;
-#endif
+ #endif
} PNxWindow;
typedef void* PNxWindowID;
/****************************************************************************
- *
+ *
* Structure:
*
* PNxEvent
@@ -134,7 +134,7 @@ typedef void* PNxWindowID;
* Purpose:
*
* Cross Platform definition of a event. This struct is sufficiently
- * wide to describe an event in Windows, MacOS, and various flavours of
+ * wide to describe an event in Windows, MacOS, and various flavours of
* X-Windows.
*
* Data Members:
@@ -143,20 +143,20 @@ typedef void* PNxWindowID;
* platform specific event ID, can also be one of the several PNxMSG_*
* event IDs which map onto existing platform specific event IDs
* UNIX: X Event Type
- *
+ *
* void* window
* platform specific window handle
* UNIX: X Window ID
- *
+ *
* void* param1
* message specific parameter
* UNIX: Display*
- *
+ *
* void* param2
* Mac: for UpdateEvt, either NULL or RgnHandle to be filled with updated area
* UNIX: Native XEvent*
* RMA_SURFACE_UPDATE PNxWindow*
- *
+ *
*/
typedef struct PNEXPORT_CLASS _PNxEvent
{
@@ -171,7 +171,7 @@ typedef struct PNEXPORT_CLASS _PNxEvent
/****************************************************************************
- *
+ *
* typedef:
*
* PNxRegion
@@ -179,14 +179,14 @@ typedef struct PNEXPORT_CLASS _PNxEvent
* Purpose:
*
* Cross Platform definition of a region. This typedef is redefined as
- * appropriate to describe a region in Windows, MacOS, and various
+ * appropriate to describe a region in Windows, MacOS, and various
* flavours of X-Windows.
*
*/
typedef void* PNxRegion;
/****************************************************************************
- *
+ *
* typedef:
*
* PNxDC
@@ -194,14 +194,14 @@ typedef void* PNxRegion;
* Purpose:
*
* Cross Platform definition of a device context. This typedef is redefined as
- * appropriate to describe a device context in Windows, MacOS, and various
+ * appropriate to describe a device context in Windows, MacOS, and various
* flavours of X-Windows.
*
*/
typedef void* PNxDC;
/****************************************************************************
- *
+ *
* typedef:
*
* PNxFont
@@ -209,14 +209,14 @@ typedef void* PNxDC;
* Purpose:
*
* Cross Platform definition of a font. This typedef is redefined as
- * appropriate to describe a font in Windows, MacOS, and various
+ * appropriate to describe a font in Windows, MacOS, and various
* flavours of X-Windows.
*
*/
typedef void* PNxFont;
/****************************************************************************
- *
+ *
* typedef:
*
* PNxColor
@@ -224,14 +224,14 @@ typedef void* PNxFont;
* Purpose:
*
* Cross Platform definition of a color. This typedef is redefined as
- * appropriate to describe a font in Windows, MacOS, and various
+ * appropriate to describe a font in Windows, MacOS, and various
* flavours of X-Windows.
*
*/
typedef ULONG32 PNxColor;
/****************************************************************************
- *
+ *
* typedef:
*
* PNxIcon
@@ -239,14 +239,14 @@ typedef ULONG32 PNxColor;
* Purpose:
*
* Cross Platform definition of a icon. This typedef is redefined as
- * appropriate to describe a font in Windows, MacOS, and various
+ * appropriate to describe a font in Windows, MacOS, and various
* flavours of X-Windows.
*
*/
typedef void* PNxIcon;
/****************************************************************************
- *
+ *
* typedef:
*
* PNxMenu
@@ -254,14 +254,14 @@ typedef void* PNxIcon;
* Purpose:
*
* Cross Platform definition of a menu. This typedef is redefined as
- * appropriate to describe a font in Windows, MacOS, and various
+ * appropriate to describe a font in Windows, MacOS, and various
* flavours of X-Windows.
*
*/
typedef void* PNxMenu;
/****************************************************************************
- *
+ *
* typedef:
*
* PNxCursor
@@ -269,7 +269,7 @@ typedef void* PNxMenu;
* Purpose:
*
* Cross Platform definition of a cursor. This typedef is redefined as
- * appropriate to describe a cursor in Windows, MacOS, and various
+ * appropriate to describe a cursor in Windows, MacOS, and various
* flavours of X-Windows.
*
*/
diff --git a/include/realmedia/rmaaconf.h b/include/realmedia/rmaaconf.h
index ebb4faf51..4d9188960 100644
--- a/include/realmedia/rmaaconf.h
+++ b/include/realmedia/rmaaconf.h
@@ -1,11 +1,11 @@
/****************************************************************************
- *
+ *
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -29,7 +29,7 @@ typedef _INTERFACE IRMAAutoConfigResponse IRMAAutoConfigResponse;
#define RMA_TRANSPORT_HTTP 3
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAutoConfig
@@ -43,8 +43,8 @@ typedef _INTERFACE IRMAAutoConfigResponse IRMAAutoConfigResponse;
* {00002700-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAAutoConfig, 0x00002700, 0x901, 0x11d1, 0x8b, 0x6,
- 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAAutoConfig, 0x00002700, 0x901, 0x11d1, 0x8b, 0x6,
+ 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAutoConfig
@@ -54,13 +54,13 @@ DECLARE_INTERFACE_(IRMAAutoConfig, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAutoConfig methods
@@ -72,10 +72,10 @@ DECLARE_INTERFACE_(IRMAAutoConfig, IUnknown)
* Shutdown the configuration process.
*
*/
- STDMETHOD(Init)(THIS_
- IRMAAutoConfigResponse * pResponse,
- const char * pPNAURL,
- const char * pRTSPURL) PURE;
+ STDMETHOD(Init) (THIS_
+ IRMAAutoConfigResponse* pResponse,
+ const char* pPNAURL,
+ const char* pRTSPURL) PURE;
/************************************************************************
* Method:
@@ -84,7 +84,7 @@ DECLARE_INTERFACE_(IRMAAutoConfig, IUnknown)
* Shutdown the configuration process.
*
*/
- STDMETHOD(Close)(THIS) PURE;
+ STDMETHOD(Close) (THIS) PURE;
/************************************************************************
* Method:
@@ -93,7 +93,7 @@ DECLARE_INTERFACE_(IRMAAutoConfig, IUnknown)
* Abort the configuration process.
*
*/
- STDMETHOD(Abort)(THIS) PURE;
+ STDMETHOD(Abort) (THIS) PURE;
/************************************************************************
* Method:
@@ -102,12 +102,12 @@ DECLARE_INTERFACE_(IRMAAutoConfig, IUnknown)
* Start the auto-configuration Process.
*
*/
- STDMETHOD(DoAutoConfig)(THIS) PURE;
+ STDMETHOD(DoAutoConfig) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAutoConfigResponse
@@ -118,10 +118,10 @@ DECLARE_INTERFACE_(IRMAAutoConfig, IUnknown)
* IID_IRMAAutoConfig:
*
* {00002701-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAutoConfigResponse, 0x00002701, 0x901, 0x11d1, 0x8b,
- 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAAutoConfigResponse, 0x00002701, 0x901, 0x11d1, 0x8b,
+ 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAutoConfigResponse
@@ -131,13 +131,13 @@ DECLARE_INTERFACE_(IRMAAutoConfigResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAutoConfigResponse methods
@@ -149,7 +149,7 @@ DECLARE_INTERFACE_(IRMAAutoConfigResponse, IUnknown)
* Notification for start of auto-configure process
*
*/
- STDMETHOD(OnBegin)(THIS) PURE;
+ STDMETHOD(OnBegin) (THIS) PURE;
/************************************************************************
* Method:
@@ -158,10 +158,10 @@ DECLARE_INTERFACE_(IRMAAutoConfigResponse, IUnknown)
* Notification for progress of auto-configure process
*
*/
- STDMETHOD(OnProgress)(THIS_
- UINT32 ulProgress,
- UINT32 ulProtocolID,
- const char * pProtocolDescription) PURE;
+ STDMETHOD(OnProgress) (THIS_
+ UINT32 ulProgress,
+ UINT32 ulProtocolID,
+ const char* pProtocolDescription) PURE;
/************************************************************************
* Method:
@@ -170,11 +170,11 @@ DECLARE_INTERFACE_(IRMAAutoConfigResponse, IUnknown)
* Notification for completion of auto-configure process
*
*/
- STDMETHOD(OnComplete)(THIS_
- PN_RESULT PNAResult,
- UINT32 ulPNAProtocolID,
- PN_RESULT RTSPResult,
- UINT32 ulRTSPProtocolID) PURE;
+ STDMETHOD(OnComplete) (THIS_
+ PN_RESULT PNAResult,
+ UINT32 ulPNAProtocolID,
+ PN_RESULT RTSPResult,
+ UINT32 ulRTSPProtocolID) PURE;
};
diff --git a/include/realmedia/rmaallow.h b/include/realmedia/rmaallow.h
index f4095a214..cdb550215 100644
--- a/include/realmedia/rmaallow.h
+++ b/include/realmedia/rmaallow.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaallow.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -30,180 +30,180 @@ typedef _INTERFACE IRMAPlayerController IRMAPlayerController;
typedef _INTERFACE IRMAPlayerControllerProxyRedirect IRMAPlayerControllerProxyRedirect;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlayerConnectionAdviseSink
- *
+ *
* Purpose:
*
- * Advise Sink which receives notification whenever a new player
+ * Advise Sink which receives notification whenever a new player
* connects to the server.
- *
+ *
* IID_IRMAPlayerConnectionAdviseSink:
- *
+ *
* {00002600-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSink, 0x00002600, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSink, 0x00002600, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayerConnectionAdviseSink
DECLARE_INTERFACE_(IRMAPlayerConnectionAdviseSink, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/* OnConnection is called when a new player has connected to the
* server. If the result is PNR_OK, then the plugin will be notified
* when certain events occur in the player's life cycle.
*/
- STDMETHOD(OnConnection)(THIS_
- IRMAPlayerConnectionResponse * pResponse) PURE;
+ STDMETHOD(OnConnection) (THIS_
+ IRMAPlayerConnectionResponse* pResponse) PURE;
/* SetPlayerController is called by the server core to provide us with
* an interface which can stop, alert, redirect or otherwise control
* the player we are receiving notifications about.
*/
- STDMETHOD(SetPlayerController)(THIS_
- IRMAPlayerController * pPlayerController) PURE;
+ STDMETHOD(SetPlayerController) (THIS_
+ IRMAPlayerController* pPlayerController) PURE;
/* SetRegistryID is called by the server core to provide us with the
* ID for this Player in the server registry. The plugin can use this
* registry ID to find out various information about the connected player.
*/
- STDMETHOD(SetRegistryID)(THIS_ UINT32 ulPlayerRegistryID) PURE;
+ STDMETHOD(SetRegistryID) (THIS_ UINT32 ulPlayerRegistryID) PURE;
- STDMETHOD(OnURL)(THIS_ IRMARequest * pRequest) PURE;
- STDMETHOD(OnBegin)(THIS) PURE;
- STDMETHOD(OnStop)(THIS) PURE;
- STDMETHOD(OnPause)(THIS) PURE;
- STDMETHOD(OnDone)(THIS) PURE;
+ STDMETHOD(OnURL) (THIS_ IRMARequest* pRequest) PURE;
+ STDMETHOD(OnBegin) (THIS) PURE;
+ STDMETHOD(OnStop) (THIS) PURE;
+ STDMETHOD(OnPause) (THIS) PURE;
+ STDMETHOD(OnDone) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlayerConnectionResponse
- *
+ *
* Purpose:
*
* Response object for the PlayerConnectionAdviseSink.
- *
+ *
* IID_IRMAPlayerConnectionResponse:
- *
+ *
* {00002601-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPlayerConnectionResponse, 0x00002601, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerConnectionResponse, 0x00002601, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayerConnectionResponse
DECLARE_INTERFACE_(IRMAPlayerConnectionResponse, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
- STDMETHOD(OnConnectionDone)(THIS_ PN_RESULT status) PURE;
- STDMETHOD(OnURLDone)(THIS_ PN_RESULT status) PURE;
- STDMETHOD(OnBeginDone)(THIS_ PN_RESULT status) PURE;
- STDMETHOD(OnStopDone)(THIS_ PN_RESULT status) PURE;
- STDMETHOD(OnPauseDone)(THIS_ PN_RESULT status) PURE;
+ STDMETHOD(OnConnectionDone) (THIS_ PN_RESULT status) PURE;
+ STDMETHOD(OnURLDone) (THIS_ PN_RESULT status) PURE;
+ STDMETHOD(OnBeginDone) (THIS_ PN_RESULT status) PURE;
+ STDMETHOD(OnStopDone) (THIS_ PN_RESULT status) PURE;
+ STDMETHOD(OnPauseDone) (THIS_ PN_RESULT status) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlayerController
- *
+ *
* Purpose:
*
- * Object created by the server core and given to the
+ * Object created by the server core and given to the
* IRMAPlayerConnectionResponse object so that the response object
* can control the connected player.
- *
+ *
* IID_IRMAPlayerController:
- *
+ *
* {00002602-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPlayerController, 0x00002602, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerController, 0x00002602, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayerController
DECLARE_INTERFACE_(IRMAPlayerController, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
- STDMETHOD(Pause)(THIS) PURE;
- STDMETHOD(Resume)(THIS) PURE;
- STDMETHOD(Disconnect)(THIS) PURE;
- STDMETHOD(AlertAndDisconnect)(THIS_ IRMABuffer * pAlert) PURE;
+ STDMETHOD(Pause) (THIS) PURE;
+ STDMETHOD(Resume) (THIS) PURE;
+ STDMETHOD(Disconnect) (THIS) PURE;
+ STDMETHOD(AlertAndDisconnect) (THIS_ IRMABuffer* pAlert) PURE;
/* HostRedirect is called by a PlayerConnectionAdviseSink to redirect
* this player to another host and/or port, for the same URL. This
* method works with both RTSP and PNA protocols.
*/
- STDMETHOD(HostRedirect)(THIS_ IRMABuffer * pHost,
- UINT16 nPort) PURE;
+ STDMETHOD(HostRedirect) (THIS_ IRMABuffer* pHost,
+ UINT16 nPort) PURE;
/* NetworkRedirect is called by a PlayerConnectionAdviseSink to redirect
* this player to another URL. Note: This method is only available for
* redirecting an RTSP player connection to another RTSP URL.
*/
- STDMETHOD(NetworkRedirect)(THIS_ IRMABuffer * pURL,
- UINT32 ulSecsFromNow) PURE;
+ STDMETHOD(NetworkRedirect) (THIS_ IRMABuffer* pURL,
+ UINT32 ulSecsFromNow) PURE;
/* Redirect is called by a PlayerConnectionAdviseSink to redirect
- * this player to another URL on the same server. For example, if
+ * this player to another URL on the same server. For example, if
* pPartialURL were set to "welcome.rm", the player would be redirected
* to "current_protocol://current_host:current_port/welcome.rm". This
* method works with both RTSP and PNA protocols.
*/
- STDMETHOD(Redirect)(THIS_ IRMABuffer * pPartialURL) PURE;
+ STDMETHOD(Redirect) (THIS_ IRMABuffer* pPartialURL) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlayerConnectionAdviseSinkManager
- *
+ *
* Purpose:
*
* Manages the creation of IRMAPlayerConnectionAdviseSink objects
- *
+ *
* IID_IRMAPlayerConnectionAdviseSinkManager:
- *
+ *
* {00002603-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSinkManager, 0x00002603, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -213,51 +213,51 @@ DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSinkManager, 0x00002603, 0x901, 0x11d1
DECLARE_INTERFACE_(IRMAPlayerConnectionAdviseSinkManager, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
STDMETHOD(CreatePlayerConnectionAdviseSink)
- (THIS_
- REF(IRMAPlayerConnectionAdviseSink*) pPCAdviseSink) PURE;
+ (THIS_
+ REF(IRMAPlayerConnectionAdviseSink*) pPCAdviseSink) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlayerControllerProxyRedirect
- *
+ *
* Purpose:
*
* QueryInterfaced from IRMAPlayerController. Allows 305 proxy redirect
* to be issued (as per RTSP spec).
- *
+ *
* IID_IRMAPlayerControllerProxyRedirect:
- *
+ *
* {00002607-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPlayerControllerProxyRedirect, 0x00002607, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerControllerProxyRedirect, 0x00002607, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayerControllerProxyRedirect
DECLARE_INTERFACE_(IRMAPlayerControllerProxyRedirect, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* This URL is just a hostname / port. It must be formatted like this:
@@ -266,7 +266,7 @@ DECLARE_INTERFACE_(IRMAPlayerControllerProxyRedirect, IUnknown)
* NOTE: You can *only* call this method between OnURL() and OnURLDone().
* NOTE: This method only works on RTSP connections.
*/
- STDMETHOD(NetworkProxyRedirect)(THIS_ IRMABuffer * pURL) PURE;
+ STDMETHOD(NetworkProxyRedirect) (THIS_ IRMABuffer* pURL) PURE;
};
#endif /* _RMAALLOW_H_ */
diff --git a/include/realmedia/rmaasm.h b/include/realmedia/rmaasm.h
index 0df81251e..cba8844de 100644
--- a/include/realmedia/rmaasm.h
+++ b/include/realmedia/rmaasm.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaasm.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -30,23 +30,23 @@ typedef _INTERFACE IRMAASMStream IRMAASMStream;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMABackChannel
- *
+ *
* Purpose:
- *
+ *
* Backchannel interface to be used by renderers and implemented by
* FileFormat Plugins
- *
+ *
* IID_IRMABackChannel:
- *
+ *
* {00001500-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMABackChannel, 0x00001500, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMABackChannel, 0x00001500, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMABackChannel
@@ -55,13 +55,13 @@ DECLARE_INTERFACE_(IRMABackChannel, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMABackChannel method
@@ -73,13 +73,13 @@ DECLARE_INTERFACE_(IRMABackChannel, IUnknown)
* Purpose:
* A back channel packet sent from Renderer to FileFormat plugin.
*/
- STDMETHOD(PacketReady)(THIS_
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(PacketReady) (THIS_
+ IRMAPacket* pPacket) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAASMSource
@@ -94,8 +94,8 @@ DECLARE_INTERFACE_(IRMABackChannel, IUnknown)
* {00001501-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAASMSource, 0x00001501, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAASMSource, 0x00001501, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAASMSource
@@ -105,13 +105,13 @@ DECLARE_INTERFACE_(IRMAASMSource, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAASMSource methods
@@ -124,9 +124,9 @@ DECLARE_INTERFACE_(IRMAASMSource, IUnknown)
* Called to inform a file format that a subscription has occurred,
* to rule number uRuleNumber, for stream uStreamNumber.
*/
- STDMETHOD(Subscribe)(THIS_
- UINT16 uStreamNumber,
- UINT16 uRuleNumber) PURE;
+ STDMETHOD(Subscribe) (THIS_
+ UINT16 uStreamNumber,
+ UINT16 uRuleNumber) PURE;
/************************************************************************
* Method:
@@ -135,14 +135,14 @@ DECLARE_INTERFACE_(IRMAASMSource, IUnknown)
* Called to inform a file format that a unsubscription has occurred,
* to rule number uRuleNumber, for stream uStreamNumber.
*/
- STDMETHOD(Unsubscribe)(THIS_
- UINT16 uStreamNumber,
- UINT16 uRuleNumber) PURE;
+ STDMETHOD(Unsubscribe) (THIS_
+ UINT16 uStreamNumber,
+ UINT16 uRuleNumber) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAASMStream
@@ -151,15 +151,15 @@ DECLARE_INTERFACE_(IRMAASMSource, IUnknown)
* This interface is implemented by the client core. Top level clients
* renderers, etc can query for this interface off of IRMAStream. This
* interface allows you to subscribe and unsubscribe to certain rules,
- * and it also allows you to add a advise sink for these events.
+ * and it also allows you to add a advise sink for these events.
*
* IID_IRMAASMStream:
*
* {00001502-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAASMStream, 0x00001502, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAASMStream, 0x00001502, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAASMStream
@@ -169,13 +169,13 @@ DECLARE_INTERFACE_(IRMAASMStream, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAASMStream methods
@@ -188,8 +188,8 @@ DECLARE_INTERFACE_(IRMAASMStream, IUnknown)
* Add an advise sink for getting subscribe and unsubscribe
* notifications.
*/
- STDMETHOD(AddStreamSink)(THIS_
- IRMAASMStreamSink * pASMStreamSink) PURE;
+ STDMETHOD(AddStreamSink) (THIS_
+ IRMAASMStreamSink* pASMStreamSink) PURE;
/************************************************************************
* Method:
@@ -198,8 +198,8 @@ DECLARE_INTERFACE_(IRMAASMStream, IUnknown)
* Remove an advise sink for getting subscribe and unsubscribe
* notifications.
*/
- STDMETHOD(RemoveStreamSink)(THIS_
- IRMAASMStreamSink * pASMStreamSink) PURE;
+ STDMETHOD(RemoveStreamSink) (THIS_
+ IRMAASMStreamSink* pASMStreamSink) PURE;
/************************************************************************
* Method:
@@ -209,8 +209,8 @@ DECLARE_INTERFACE_(IRMAASMStream, IUnknown)
* inform the core to subscribe to a particular rule number for
* this stream.
*/
- STDMETHOD(Subscribe)(THIS_
- UINT16 uRuleNumber) PURE;
+ STDMETHOD(Subscribe) (THIS_
+ UINT16 uRuleNumber) PURE;
/************************************************************************
* Method:
@@ -220,13 +220,13 @@ DECLARE_INTERFACE_(IRMAASMStream, IUnknown)
* inform the core to unsubscribe to a particular rule number for
* this stream.
*/
- STDMETHOD(Unsubscribe)(THIS_
- UINT16 uRuleNumber) PURE;
+ STDMETHOD (Unsubscribe) (THIS_
+ UINT16 uRuleNumber) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAASMStreamSink
@@ -240,8 +240,8 @@ DECLARE_INTERFACE_(IRMAASMStream, IUnknown)
* {00001503-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAASMStreamSink, 0x00001503, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAASMStreamSink, 0x00001503, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAASMStreamSink
@@ -251,13 +251,13 @@ DECLARE_INTERFACE_(IRMAASMStreamSink, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAASMStreamSink methods
@@ -269,8 +269,8 @@ DECLARE_INTERFACE_(IRMAASMStreamSink, IUnknown)
* Purpose:
* Called to inform you that a subscribe has occurred.
*/
- STDMETHOD(OnSubscribe)(THIS_
- UINT16 uRuleNumber) PURE;
+ STDMETHOD (OnSubscribe) (THIS_
+ UINT16 uRuleNumber) PURE;
/************************************************************************
* Method:
@@ -278,8 +278,8 @@ DECLARE_INTERFACE_(IRMAASMStreamSink, IUnknown)
* Purpose:
* Called to inform you that a unsubscribe has occurred.
*/
- STDMETHOD(OnUnsubscribe)(THIS_
- UINT16 uRuleNumber) PURE;
+ STDMETHOD (OnUnsubscribe) (THIS_
+ UINT16 uRuleNumber) PURE;
};
#endif /*_RMAASM_H_*/
diff --git a/include/realmedia/rmaausvc.h b/include/realmedia/rmaausvc.h
index 88c79e28e..ce8542116 100644
--- a/include/realmedia/rmaausvc.h
+++ b/include/realmedia/rmaausvc.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaausvc.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -57,29 +57,29 @@ typedef enum _AudioStreamType
typedef struct _RMAAudioData
{
- IRMABuffer* pData; /* Audio data */
+ IRMABuffer* pData; /* Audio data */
ULONG32 ulAudioTime; /* Start time in milliseconds */
AudioStreamType uAudioStreamType;
} RMAAudioData;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioPlayer
- *
+ *
* Purpose:
- *
+ *
* This interface provides access to the Audio Player services. Use this
* interface to create audio streams, "hook" post-mixed audio data, and to
* control volume levels.
- *
+ *
* IID_IRMAAudioPlayer:
- *
+ *
* {00000700-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAudioPlayer, 0x00000700, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAAudioPlayer, 0x00000700, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -91,13 +91,13 @@ DECLARE_INTERFACE_(IRMAAudioPlayer, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAudioPlayer methods
@@ -108,9 +108,9 @@ DECLARE_INTERFACE_(IRMAAudioPlayer, IUnknown)
* Purpose:
* Call this to create an audio stream.
*/
- STDMETHOD(CreateAudioStream)(THIS_
- IRMAAudioStream** /*OUT*/ pAudioStream
- ) PURE;
+ STDMETHOD(CreateAudioStream) (THIS_
+ IRMAAudioStream** /*OUT*/ pAudioStream
+ ) PURE;
/************************************************************************
* Method:
@@ -119,11 +119,11 @@ DECLARE_INTERFACE_(IRMAAudioPlayer, IUnknown)
* Call this to hook audio data after all audio streams in this
* have been mixed.
*/
- STDMETHOD(AddPostMixHook)(THIS_
- IRMAAudioHook* /*IN*/ pHook,
- const BOOL /*IN*/ bDisableWrite,
- const BOOL /*IN*/ bFinal
- ) PURE;
+ STDMETHOD(AddPostMixHook) (THIS_
+ IRMAAudioHook* /*IN*/ pHook,
+ const BOOL /*IN*/ bDisableWrite,
+ const BOOL /*IN*/ bFinal
+ ) PURE;
/************************************************************************
* Method:
@@ -131,32 +131,32 @@ DECLARE_INTERFACE_(IRMAAudioPlayer, IUnknown)
* Purpose:
* Call this to remove an already added post hook.
*/
- STDMETHOD(RemovePostMixHook)(THIS_
- IRMAAudioHook* /*IN*/ pHook
- ) PURE;
+ STDMETHOD(RemovePostMixHook) (THIS_
+ IRMAAudioHook* /*IN*/ pHook
+ ) PURE;
/************************************************************************
* Method:
* IRMAAudioPlayer::GetAudioStreamCount
* Purpose:
- * Get the number of audio streams currently active in the
+ * Get the number of audio streams currently active in the
* audio player. Since streams can be added mid-presentation
* this function may return different values on different calls.
* If the user needs to know about all the streams as they get
* get added to the player, IRMAAudioStreamInfoResponse should
* be implemented and passed in SetStreamInfoResponse.
*/
- STDMETHOD_(UINT16, GetAudioStreamCount)(THIS) PURE;
+ STDMETHOD_(UINT16,GetAudioStreamCount) (THIS) PURE;
/************************************************************************
* Method:
* IRMAAudioPlayer::GetAudioStream
* Purpose:
- * Get an audio stream at position given.
+ * Get an audio stream at position given.
*/
- STDMETHOD_(IRMAAudioStream*, GetAudioStream)(THIS_
- UINT16 /*IN*/ uIndex
- ) PURE;
+ STDMETHOD_(IRMAAudioStream*,GetAudioStream) (THIS_
+ UINT16 /*IN*/ uIndex
+ ) PURE;
/************************************************************************
* Method:
@@ -166,12 +166,12 @@ DECLARE_INTERFACE_(IRMAAudioPlayer, IUnknown)
* an IRMAAudioStreamInfoResponse and then call this method with
* the IRMAAudioStreamInfoResponse as the parameter. The audio
* player will call IRMAAudioStreamInfoResponse::OnStreamsReady
- * with the total number of audio streams associated with this
+ * with the total number of audio streams associated with this
* audio player.
*/
- STDMETHOD(SetStreamInfoResponse)(THIS_
- IRMAAudioStreamInfoResponse* /*IN*/ pResponse
- ) PURE;
+ STDMETHOD(SetStreamInfoResponse) (THIS_
+ IRMAAudioStreamInfoResponse* /*IN*/ pResponse
+ ) PURE;
/************************************************************************
* Method:
@@ -179,19 +179,19 @@ DECLARE_INTERFACE_(IRMAAudioPlayer, IUnknown)
* Purpose:
* Remove stream info response that was added earlier
*/
- STDMETHOD(RemoveStreamInfoResponse)(THIS_
- IRMAAudioStreamInfoResponse* /*IN*/ pResponse
- ) PURE;
+ STDMETHOD(RemoveStreamInfoResponse) (THIS_
+ IRMAAudioStreamInfoResponse* /*IN*/ pResponse
+ ) PURE;
/************************************************************************
* Method:
* IRMAAudioPlayer::GetAudioVolume
* Purpose:
* Get the audio player's volume interface. This volume controls
- * the volume level of all the mixed audio streams for this
+ * the volume level of all the mixed audio streams for this
* audio player.
*/
- STDMETHOD_(IRMAVolume*, GetAudioVolume)(THIS) PURE;
+ STDMETHOD_(IRMAVolume*,GetAudioVolume) (THIS) PURE;
/************************************************************************
* Method:
@@ -200,27 +200,27 @@ DECLARE_INTERFACE_(IRMAAudioPlayer, IUnknown)
* Get the audio device volume interface. This volume controls
* the audio device volume levels.
*/
- STDMETHOD_(IRMAVolume*, GetDeviceVolume)(THIS) PURE;
+ STDMETHOD_(IRMAVolume*,GetDeviceVolume) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioPlayerResponse
- *
+ *
* Purpose:
- *
- * This interface provides access to the Audio Player Response. Use this
+ *
+ * This interface provides access to the Audio Player Response. Use this
* to receive audio player playback notifications. Your implementation of
* OnTimeSync() is called with the current audio playback time (millisecs).
* This interface is currently to be used ONLY by the RMA engine internally.
- *
+ *
* IID_IRMAAudioPlayerResponse:
- *
+ *
* {00000701-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioPlayerResponse, 0x00000701, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -234,13 +234,13 @@ DECLARE_INTERFACE_(IRMAAudioPlayerResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAudioPlayerResponse methods
@@ -252,30 +252,30 @@ DECLARE_INTERFACE_(IRMAAudioPlayerResponse, IUnknown)
* Purpose:
* This method is called with the current audio playback time.
*/
- STDMETHOD(OnTimeSync)(THIS_
- ULONG32 /*IN*/ ulTimeEnd
- ) PURE;
+ STDMETHOD(OnTimeSync) (THIS_
+ ULONG32 /*IN*/ ulTimeEnd
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioStream
- *
+ *
* Purpose:
- *
+ *
* This interface provides access to an Audio Stream. Use this to play
* audio, "hook" audio stream data, and to get audio stream information.
- *
+ *
* IID_IRMAAudioStream:
- *
+ *
* {00000702-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAudioStream, 0x00000702, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAAudioStream, 0x00000702, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAudioStream
@@ -285,14 +285,14 @@ DECLARE_INTERFACE_(IRMAAudioStream, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
-
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
/*
* IRMAAudioStream methods
*/
@@ -301,28 +301,28 @@ DECLARE_INTERFACE_(IRMAAudioStream, IUnknown)
* Method:
* IRMAAudioStream::Init
* Purpose:
- * Initialize an audio stream with the given audio format. The
- * IRMAValues contains stream identification information.
+ * Initialize an audio stream with the given audio format. The
+ * IRMAValues contains stream identification information.
*/
- STDMETHOD(Init)(THIS_
- const RMAAudioFormat* /*IN*/ pAudioFormat,
- IRMAValues* /*IN*/ pValues
- ) PURE;
+ STDMETHOD(Init) (THIS_
+ const RMAAudioFormat* /*IN*/ pAudioFormat,
+ IRMAValues* /*IN*/ pValues
+ ) PURE;
/************************************************************************
* Method:
* IRMAAudioStream::Write
* Purpose:
- * Write audio data to Audio Services.
- *
+ * Write audio data to Audio Services.
+ *
* NOTE: If the renderer loses packets and there is no loss
- * correction, then the renderer should write the next packet
- * using a meaningful start time. Audio Services will play
+ * correction, then the renderer should write the next packet
+ * using a meaningful start time. Audio Services will play
* silence where packets are missing.
*/
- STDMETHOD(Write)(THIS_
- RMAAudioData* /*IN*/ pAudioData
- ) PURE;
+ STDMETHOD(Write) (THIS_
+ RMAAudioData* /*IN*/ pAudioData
+ ) PURE;
/************************************************************************
* Method:
@@ -333,10 +333,10 @@ DECLARE_INTERFACE_(IRMAAudioStream, IUnknown)
* from being mixed with other audio stream data associated
* with this audio player.
*/
- STDMETHOD(AddPreMixHook)(THIS_
+ STDMETHOD(AddPreMixHook) (THIS_
IRMAAudioHook* /*IN*/ pHook,
- const BOOL /*IN*/ bDisableWrite
- ) PURE;
+ const BOOL /*IN*/ bDisableWrite
+ ) PURE;
/************************************************************************
* Method:
@@ -344,20 +344,20 @@ DECLARE_INTERFACE_(IRMAAudioStream, IUnknown)
* Purpose:
* Use this to remove an already added "hook".
*/
- STDMETHOD(RemovePreMixHook)(THIS_
- IRMAAudioHook* /*IN*/ pHook
- ) PURE;
+ STDMETHOD(RemovePreMixHook) (THIS_
+ IRMAAudioHook* /*IN*/ pHook
+ ) PURE;
/************************************************************************
* Method:
* IRMAAudioStream::AddDryNotification
* Purpose:
- * Use this to add a notification response object to get
+ * Use this to add a notification response object to get
* notifications when audio stream is running dry.
*/
- STDMETHOD(AddDryNotification)(THIS_
- IRMADryNotification* /*IN*/ pNotification
- ) PURE;
+ STDMETHOD(AddDryNotification) (THIS_
+ IRMADryNotification* /*IN*/ pNotification
+ ) PURE;
/************************************************************************
* Method:
@@ -365,7 +365,7 @@ DECLARE_INTERFACE_(IRMAAudioStream, IUnknown)
* Purpose:
* Use this to get information specific to this audio stream.
*/
- STDMETHOD_(IRMAValues*, GetStreamInfo)(THIS) PURE;
+ STDMETHOD_(IRMAValues*,GetStreamInfo) (THIS) PURE;
/************************************************************************
* Method:
@@ -374,27 +374,27 @@ DECLARE_INTERFACE_(IRMAAudioStream, IUnknown)
* Get the audio stream's volume interface. This volume controls
* the volume level for this audio stream.
*/
- STDMETHOD_(IRMAVolume*, GetAudioVolume)(THIS) PURE;
+ STDMETHOD_(IRMAVolume*,GetAudioVolume) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioDevice
- *
+ *
* Purpose:
- *
+ *
* Object that exports audio device API
- * This interface is currently to be used ONLY by the RMA engine
+ * This interface is currently to be used ONLY by the RMA engine
* internally.
- *
+ *
* IID_IRMAAudioDevice:
- *
+ *
* {00000703-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAudioDevice, 0x00000703, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAAudioDevice, 0x00000703, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
@@ -405,13 +405,13 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAudioDevice methods
@@ -424,9 +424,9 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* The caller calls this to open the audio device using the audio
* format given.
*/
- STDMETHOD(Open)(THIS_
- const RMAAudioFormat* /*IN*/ pAudioFormat,
- IRMAAudioDeviceResponse* /*IN*/ pStreamResponse) PURE;
+ STDMETHOD(Open) (THIS_
+ const RMAAudioFormat* /*IN*/ pAudioFormat,
+ IRMAAudioDeviceResponse* /*IN*/ pStreamResponse) PURE;
/************************************************************************
* Method:
@@ -434,8 +434,8 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to close the audio device.
*/
- STDMETHOD(Close)(THIS_
- const BOOL /*IN*/ bFlush) PURE;
+ STDMETHOD(Close) (THIS_
+ const BOOL /*IN*/ bFlush ) PURE;
/************************************************************************
* Method:
@@ -443,7 +443,7 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to start or resume audio playback.
*/
- STDMETHOD(Resume)(THIS) PURE;
+ STDMETHOD(Resume) (THIS) PURE;
/************************************************************************
* Method:
@@ -453,7 +453,7 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* TRUE, any buffers in the audio device will be flushed; otherwise,
* the buffers are played.
*/
- STDMETHOD(Pause)(THIS) PURE;
+ STDMETHOD(Pause) (THIS) PURE;
/************************************************************************
* Method:
@@ -461,8 +461,8 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to write an audio buffer.
*/
- STDMETHOD(Write)(THIS_
- const RMAAudioData* /*IN*/ pAudioData) PURE;
+ STDMETHOD(Write) (THIS_
+ const RMAAudioData* /*IN*/ pAudioData) PURE;
/************************************************************************
* Method:
@@ -470,13 +470,13 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to inform the audio stream of the client's
* volume range. The audio stream maps the client's volume range
- * into the audio device volume range.
- * NOTE: This function returns TRUE if volume is supported by this
+ * into the audio device volume range.
+ * NOTE: This function returns TRUE if volume is supported by this
* audio device.
*/
- STDMETHOD_(BOOL, InitVolume)(THIS_
- const UINT16 /*IN*/ uMinVolume,
- const UINT16 /*IN*/ uMaxVolume) PURE;
+ STDMETHOD_(BOOL,InitVolume) (THIS_
+ const UINT16 /*IN*/ uMinVolume,
+ const UINT16 /*IN*/ uMaxVolume) PURE;
/************************************************************************
* Method:
@@ -484,8 +484,8 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to set the audio device volume level.
*/
- STDMETHOD(SetVolume)(THIS_
- const UINT16 /*IN*/ uVolume) PURE;
+ STDMETHOD(SetVolume) (THIS_
+ const UINT16 /*IN*/ uVolume) PURE;
/************************************************************************
* Method:
@@ -493,7 +493,7 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to get the audio device volume level.
*/
- STDMETHOD_(UINT16, GetVolume)(THIS) PURE;
+ STDMETHOD_(UINT16,GetVolume) (THIS) PURE;
/************************************************************************
* Method:
@@ -501,7 +501,7 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to reset the audio device.
*/
- STDMETHOD(Reset)(THIS) PURE;
+ STDMETHOD(Reset) (THIS) PURE;
/************************************************************************
* Method:
@@ -509,7 +509,7 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to drain the audio device.
*/
- STDMETHOD(Drain)(THIS) PURE;
+ STDMETHOD(Drain) (THIS) PURE;
/************************************************************************
* Method:
@@ -518,8 +518,8 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* The caller calls this to check the input format with the
* audio device format.
*/
- STDMETHOD(CheckFormat)(THIS_
- const RMAAudioFormat* /*IN*/ pAudioFormat) PURE;
+ STDMETHOD(CheckFormat) (THIS_
+ const RMAAudioFormat* /*IN*/ pAudioFormat ) PURE;
/************************************************************************
* Method:
@@ -527,28 +527,28 @@ DECLARE_INTERFACE_(IRMAAudioDevice, IUnknown)
* Purpose:
* The caller calls this to get current system audio time.
*/
- STDMETHOD(GetCurrentAudioTime)(THIS_
- REF(ULONG32) /*OUT*/ ulCurrentTime) PURE;
+ STDMETHOD(GetCurrentAudioTime) (THIS_
+ REF(ULONG32) /*OUT*/ ulCurrentTime) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
* IRMAAudioDeviceResponse
- *
+ *
* Purpose:
- *
+ *
* Object that exports audio device Response API
- * This interface is currently to be used ONLY by the RMA engine
+ * This interface is currently to be used ONLY by the RMA engine
* internally.
- *
+ *
* IID_IRMAAudioDeviceResponse:
- *
+ *
* {00000704-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAudioDeviceResponse, 0x00000704, 0x901, 0x11d1, 0x8b, 0x6,
- 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAAudioDeviceResponse, 0x00000704, 0x901, 0x11d1, 0x8b, 0x6,
+ 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAudioDeviceResponse
@@ -558,13 +558,13 @@ DECLARE_INTERFACE_(IRMAAudioDeviceResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAudioDeviceResponse methods
@@ -578,26 +578,26 @@ DECLARE_INTERFACE_(IRMAAudioDeviceResponse, IUnknown)
* interface. This method is called by the IRMAAudioDevice when
* audio playback occurs.
*/
- STDMETHOD(OnTimeSync)(THIS_
- ULONG32 /*IN*/ ulTimeEnd) PURE;
+ STDMETHOD(OnTimeSync) (THIS_
+ ULONG32 /*IN*/ ulTimeEnd) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioHook
- *
+ *
* Purpose:
- *
- * Clients must implement this interface to access pre- or post-mixed
+ *
+ * Clients must implement this interface to access pre- or post-mixed
* audio data. Use this interface to get post processed audio buffers and
* their associated audio format.
*
* IID_IRMAAudioHook:
- *
+ *
* {00000705-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioHook, 0x00000705, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -610,13 +610,13 @@ DECLARE_INTERFACE_(IRMAAudioHook, IUnknown)
/*
* IUnknown methods!
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAudioHook methods
@@ -628,8 +628,8 @@ DECLARE_INTERFACE_(IRMAAudioHook, IUnknown)
* Audio Services calls OnInit() with the audio data format of the
* audio data that will be provided in the OnBuffer() method.
*/
- STDMETHOD(OnInit)(THIS_
- RMAAudioFormat* /*IN*/ pFormat) PURE;
+ STDMETHOD(OnInit) (THIS_
+ RMAAudioFormat* /*IN*/ pFormat) PURE;
/************************************************************************
* Method:
@@ -638,31 +638,31 @@ DECLARE_INTERFACE_(IRMAAudioHook, IUnknown)
* Audio Services calls OnBuffer() with audio data packets. The
* renderer should not modify the data in the IRMABuffer part of
* pAudioInData. If the renderer wants to write a modified
- * version of the data back to Audio Services, then it should
- * create its own IRMABuffer, modify the data and then associate
+ * version of the data back to Audio Services, then it should
+ * create its own IRMABuffer, modify the data and then associate
* this buffer with the pAudioOutData->pData member.
*/
- STDMETHOD(OnBuffer)(THIS_
- RMAAudioData* /*IN*/ pAudioInData,
- RMAAudioData* /*OUT*/ pAudioOutData) PURE;
+ STDMETHOD(OnBuffer) (THIS_
+ RMAAudioData* /*IN*/ pAudioInData,
+ RMAAudioData* /*OUT*/ pAudioOutData) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioStreamInfoResponse
- *
+ *
* Purpose:
- *
+ *
* Clients must implement this interface when interested in receiving
* notification of the total number of streams associated with this
* audio player.
*
* IID_IRMAAudioStreamInfoResponse:
- *
+ *
* {00000706-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioStreamInfoResponse, 0x00000706, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -675,13 +675,13 @@ DECLARE_INTERFACE_(IRMAAudioStreamInfoResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAudioStreamInfoResponse methods
@@ -691,40 +691,40 @@ DECLARE_INTERFACE_(IRMAAudioStreamInfoResponse, IUnknown)
* Method:
* IRMAAudioStreamInfoResponse::OnStream
* Purpose:
- * The client implements this to get notification of streams
- * associated with this player. Use
- * AudioPlayer::SetStreamInfoResponse() to register your
- * implementation with the AudioPlayer. Once player has been
- * initialized, it will call OnStream() multiple times to pass all
- * the streams. Since a stream can be added mid-presentation,
- * IRMAAudioStreamInfoResponse object should be written to handle
+ * The client implements this to get notification of streams
+ * associated with this player. Use
+ * AudioPlayer::SetStreamInfoResponse() to register your
+ * implementation with the AudioPlayer. Once player has been
+ * initialized, it will call OnStream() multiple times to pass all
+ * the streams. Since a stream can be added mid-presentation,
+ * IRMAAudioStreamInfoResponse object should be written to handle
* OnStream() in the midst of the presentation as well.
*/
- STDMETHOD(OnStream)(THIS_
- IRMAAudioStream* /*IN*/ pAudioStream) PURE;
+ STDMETHOD(OnStream) (THIS_
+ IRMAAudioStream* /*IN*/ pAudioStream) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAVolume
- *
+ *
* Purpose:
- *
+ *
* This interface provides access to Audio Services volume control. Use this
* interface to get, set, or receive notifications of volume changes. Audio
- * Services implements IRMAVolume for IRMAAudioPlayer, IRMAAudioStream and
+ * Services implements IRMAVolume for IRMAAudioPlayer, IRMAAudioStream and
* for the audio device. Clients can use the IRMAVolume interface to get/set
- * volume levels of each audio stream, to get/set volume levels for the
- * audio player's mixed data, or to get/set the volume levels of the audio
+ * volume levels of each audio stream, to get/set volume levels for the
+ * audio player's mixed data, or to get/set the volume levels of the audio
* device. See AudioStream::GetStreamVolume() (TBD), AudioPlayer::
* GetAudioVolume() and AudioPlayer::GetDeviceVolume().
*
* IID_IRMAVolume:
- *
+ *
* {00000707-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAVolume, 0x00000707, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -737,13 +737,13 @@ DECLARE_INTERFACE_(IRMAVolume, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAVolume methods
@@ -754,8 +754,8 @@ DECLARE_INTERFACE_(IRMAVolume, IUnknown)
* Purpose:
* Call this to set the volume level.
*/
- STDMETHOD(SetVolume)(THIS_
- const UINT16 /*IN*/ uVolume) PURE;
+ STDMETHOD(SetVolume) (THIS_
+ const UINT16 /*IN*/ uVolume ) PURE;
/************************************************************************
* Method:
@@ -763,70 +763,70 @@ DECLARE_INTERFACE_(IRMAVolume, IUnknown)
* Purpose:
* Call this to get the current volume level.
*/
- STDMETHOD_(UINT16, GetVolume)(THIS) PURE;
+ STDMETHOD_(UINT16,GetVolume) (THIS) PURE;
- /************************************************************************
- * Method:
- * IRMAVolume::SetMute
- * Purpose:
- * Call this to mute the volume.
- */
- STDMETHOD(SetMute)(THIS_
- const BOOL /*IN*/ bMute) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAVolume::SetMute
+ * Purpose:
+ * Call this to mute the volume.
+ */
+ STDMETHOD(SetMute) (THIS_
+ const BOOL /*IN*/ bMute ) PURE;
- /************************************************************************
- * Method:
- * IRMAVolume::GetMute
- * Purpose:
- * Call this to determine if the volume is muted.
- *
- */
- STDMETHOD_(BOOL, GetMute)(THIS) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAVolume::GetMute
+ * Purpose:
+ * Call this to determine if the volume is muted.
+ *
+ */
+ STDMETHOD_(BOOL,GetMute) (THIS) PURE;
- /************************************************************************
- * Method:
- * IRMAVolume::AddAdviseSink
- * Purpose:
- * Call this to register an IRMAVolumeAdviseSink. The advise sink
- * methods: OnVolumeChange() and OnMuteChange() are called when
- * ever IRMAVolume::SetVolume() and IRMAVolume::SetMute() are
- * called.
- */
- STDMETHOD(AddAdviseSink)(THIS_
- IRMAVolumeAdviseSink* /*IN*/ pSink
- ) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAVolume::AddAdviseSink
+ * Purpose:
+ * Call this to register an IRMAVolumeAdviseSink. The advise sink
+ * methods: OnVolumeChange() and OnMuteChange() are called when
+ * ever IRMAVolume::SetVolume() and IRMAVolume::SetMute() are
+ * called.
+ */
+ STDMETHOD(AddAdviseSink) (THIS_
+ IRMAVolumeAdviseSink* /*IN*/ pSink
+ ) PURE;
- /************************************************************************
- * Method:
- * IRMAVolume::RemoveAdviseSink
- * Purpose:
- * Call this to unregister an IRMAVolumeAdviseSink. Use this when
- * you are no longer interested in receiving volume or mute change
- * notifications.
- */
- STDMETHOD(RemoveAdviseSink)(THIS_
- IRMAVolumeAdviseSink* /*IN*/ pSink
- ) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAVolume::RemoveAdviseSink
+ * Purpose:
+ * Call this to unregister an IRMAVolumeAdviseSink. Use this when
+ * you are no longer interested in receiving volume or mute change
+ * notifications.
+ */
+ STDMETHOD(RemoveAdviseSink) (THIS_
+ IRMAVolumeAdviseSink* /*IN*/ pSink
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAVolumeAdviseSink
- *
+ *
* Purpose:
- *
- * This interface provides access to notifications of volume changes. A
- * client must implement this interface if they are interested in receiving
- * notifications of volume level changes or mute state changes. A client must
+ *
+ * This interface provides access to notifications of volume changes. A
+ * client must implement this interface if they are interested in receiving
+ * notifications of volume level changes or mute state changes. A client must
* register their volume advise sink using IRMAVolume::AddAdviseSink().
* See the IRMAVolume interface.
- *
+ *
* IID_IRMAVolumeAdviseSink:
- *
+ *
* {00000708-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAVolumeAdviseSink, 0x00000708, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -839,13 +839,13 @@ DECLARE_INTERFACE_(IRMAVolumeAdviseSink, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAVolumeAdviseSink methods
@@ -858,9 +858,9 @@ DECLARE_INTERFACE_(IRMAVolumeAdviseSink, IUnknown)
* This interface is called whenever the associated IRMAVolume
* SetVolume() is called.
*/
- STDMETHOD(OnVolumeChange)(THIS_
- const UINT16 uVolume
- ) PURE;
+ STDMETHOD(OnVolumeChange) (THIS_
+ const UINT16 uVolume
+ ) PURE;
/************************************************************************
* Method:
@@ -868,29 +868,29 @@ DECLARE_INTERFACE_(IRMAVolumeAdviseSink, IUnknown)
* Purpose:
* This interface is called whenever the associated IRMAVolume
* SetMute() is called.
- *
+ *
*/
- STDMETHOD(OnMuteChange)(THIS_
- const BOOL bMute
- ) PURE;
+ STDMETHOD(OnMuteChange) (THIS_
+ const BOOL bMute
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADryNotification
- *
+ *
* Purpose:
- *
- * Audio Renderer should implement this if it needs notification when the
- * audio stream is running dry.
+ *
+ * Audio Renderer should implement this if it needs notification when the
+ * audio stream is running dry.
*
* IID_IRMADryNotification:
- *
+ *
* {00000709-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADryNotification, 0x00000709, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -903,13 +903,13 @@ DECLARE_INTERFACE_(IRMADryNotification, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMADryNotification methods
@@ -919,33 +919,33 @@ DECLARE_INTERFACE_(IRMADryNotification, IUnknown)
* Method:
* IRMADryNotification::OnDryNotification
* Purpose:
- * This function is called when it is time to write to audio device
+ * This function is called when it is time to write to audio device
* and there is not enough data in the audio stream. The renderer can
- * then decide to add more data to the audio stream. This should be
+ * then decide to add more data to the audio stream. This should be
* done synchronously within the call to this function.
* It is OK to not write any data. Silence will be played instead.
*/
- STDMETHOD(OnDryNotification)(THIS_
- UINT32 /*IN*/ ulCurrentStreamTime,
- UINT32 /*IN*/ ulMinimumDurationRequired
- ) PURE;
+ STDMETHOD(OnDryNotification) (THIS_
+ UINT32 /*IN*/ ulCurrentStreamTime,
+ UINT32 /*IN*/ ulMinimumDurationRequired
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioDeviceManager
- *
+ *
* Purpose:
- *
+ *
* Allows the default audio device to be replaced.
*
* IID_IRMAAudioDeviceManager:
- *
+ *
* {0000070A-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioDeviceManager, 0x0000070A, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -958,13 +958,13 @@ DECLARE_INTERFACE_(IRMAAudioDeviceManager, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAudioDeviceManager methods
@@ -975,10 +975,10 @@ DECLARE_INTERFACE_(IRMAAudioDeviceManager, IUnknown)
* IRMAAudioDeviceManager::Replace
* Purpose:
* This is used to replace the default implementation of the audio
- * device by the given audio device interface.
+ * device by the given audio device interface.
*/
- STDMETHOD(Replace)(THIS_
- IRMAAudioDevice* /*IN*/ pAudioDevice) PURE;
+ STDMETHOD(Replace) (THIS_
+ IRMAAudioDevice* /*IN*/ pAudioDevice) PURE;
/**********************************************************************
* Method:
@@ -987,8 +987,8 @@ DECLARE_INTERFACE_(IRMAAudioDeviceManager, IUnknown)
* This is used to remove the audio device given to the manager in
* the earlier call to Replace.
*/
- STDMETHOD(Remove)(THIS_
- IRMAAudioDevice* /*IN*/ pAudioDevice) PURE;
+ STDMETHOD(Remove) (THIS_
+ IRMAAudioDevice* /*IN*/ pAudioDevice) PURE;
/************************************************************************
* Method:
@@ -999,9 +999,9 @@ DECLARE_INTERFACE_(IRMAAudioDeviceManager, IUnknown)
* is to be written to the audio device. This can be done in call
* to OnInit() in IRMAAudioHook.
*/
- STDMETHOD(SetFinalHook)(THIS_
- IRMAAudioHook* /*IN*/ pHook
- ) PURE;
+ STDMETHOD(SetFinalHook) (THIS_
+ IRMAAudioHook* /*IN*/ pHook
+ ) PURE;
/************************************************************************
* Method:
@@ -1009,38 +1009,38 @@ DECLARE_INTERFACE_(IRMAAudioDeviceManager, IUnknown)
* Purpose:
* Remove final hook
*/
- STDMETHOD(RemoveFinalHook)(THIS_
- IRMAAudioHook* /*IN*/ pHook
- ) PURE;
+ STDMETHOD(RemoveFinalHook) (THIS_
+ IRMAAudioHook* /*IN*/ pHook
+ ) PURE;
- /************************************************************************
- * Method:
- * IRMAAudioDeviceManager::GetAudioFormat
- * Purpose:
- * Returns the audio format in which the audio device is opened.
- * This function will fill in the pre-allocated RMAAudioFormat
- * structure passed in.
- */
- STDMETHOD(GetAudioFormat)(THIS_
- RMAAudioFormat* /*IN/OUT*/pAudioFormat) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAAudioDeviceManager::GetAudioFormat
+ * Purpose:
+ * Returns the audio format in which the audio device is opened.
+ * This function will fill in the pre-allocated RMAAudioFormat
+ * structure passed in.
+ */
+ STDMETHOD(GetAudioFormat) (THIS_
+ RMAAudioFormat* /*IN/OUT*/pAudioFormat) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioCrossFade
- *
+ *
* Purpose:
*
- * This interface can be used to cross-fade two audio streams. It is exposed
+ * This interface can be used to cross-fade two audio streams. It is exposed
* by IRMAAudioPlayer
- *
+ *
* IID_IRMAAudioCrossFade:
- *
+ *
* {0000070B-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioCrossFade, 0x0000070B, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -1053,14 +1053,14 @@ DECLARE_INTERFACE_(IRMAAudioCrossFade, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
-
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
/*
* IRMAAudioCrossFade methods
*/
@@ -1072,36 +1072,36 @@ DECLARE_INTERFACE_(IRMAAudioCrossFade, IUnknown)
* Cross-fade two audio streams.
* pStreamFrom - Stream to be cross faded from
* pStreamTo - Stream to be cross faded to
- * ulFromCrossFadeStartTime- "From" Stream time when cross fade is
+ * ulFromCrossFadeStartTime- "From" Stream time when cross fade is
* to be started
- * ulToCrossFadeStartTime - "To" Stream time when cross fade is to
+ * ulToCrossFadeStartTime - "To" Stream time when cross fade is to
* be started
* ulCrossFadeDuration - Duration over which cross-fade needs
* to be done
- *
+ *
*/
- STDMETHOD(CrossFade)(THIS_
- IRMAAudioStream * pStreamFrom,
- IRMAAudioStream * pStreamTo,
- UINT32 ulFromCrossFadeStartTime,
- UINT32 ulToCrossFadeStartTime,
- UINT32 ulCrossFadeDuration) PURE;
+ STDMETHOD(CrossFade) (THIS_
+ IRMAAudioStream* pStreamFrom,
+ IRMAAudioStream* pStreamTo,
+ UINT32 ulFromCrossFadeStartTime,
+ UINT32 ulToCrossFadeStartTime,
+ UINT32 ulCrossFadeDuration) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioStream2
- *
+ *
* Purpose:
*
* This interface contains some last-minute added audio stream functions
- *
+ *
* IID_IRMAAudioStream2:
- *
+ *
* {0000070C-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioStream2, 0x0000070C, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -1114,55 +1114,55 @@ DECLARE_INTERFACE_(IRMAAudioStream2, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
-
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
/*
* IRMAAudioStream2 methods
*/
- /************************************************************************
- * Method:
- * IRMAAudioStream2::RemoveDryNotification
- * Purpose:
- * Use this to remove itself from the notification response object
- * during the stream switching.
- */
- STDMETHOD(RemoveDryNotification)(THIS_
- IRMADryNotification* /*IN*/ pNotification
- ) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAAudioStream2::RemoveDryNotification
+ * Purpose:
+ * Use this to remove itself from the notification response object
+ * during the stream switching.
+ */
+ STDMETHOD(RemoveDryNotification) (THIS_
+ IRMADryNotification* /*IN*/ pNotification
+ ) PURE;
- /************************************************************************
- * Method:
- * IRMAAudioStream2::GetAudioFormat
- * Purpose:
- * Returns the input audio format of the data written by the
- * renderer. This function will fill in the pre-allocated
- * RMAAudioFormat structure passed in.
- */
- STDMETHOD(GetAudioFormat)(THIS_
- RMAAudioFormat* /*IN/OUT*/pAudioFormat) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAAudioStream2::GetAudioFormat
+ * Purpose:
+ * Returns the input audio format of the data written by the
+ * renderer. This function will fill in the pre-allocated
+ * RMAAudioFormat structure passed in.
+ */
+ STDMETHOD(GetAudioFormat) (THIS_
+ RMAAudioFormat* /*IN/OUT*/pAudioFormat) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioPushdown
- *
+ *
* Purpose:
*
* This interface can be used to setup the audio pushdown time.
- *
+ *
* IID_IRMAAudioPushdown:
- *
+ *
* {0000070D-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioPushdown, 0x0000070D, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -1175,45 +1175,45 @@ DECLARE_INTERFACE_(IRMAAudioPushdown, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
-
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
/*
* IRMAAudioPushdown methods
*/
- /************************************************************************
- * Method:
- * IRMAAudioPushdown::SetAudioPushdown
- * Purpose:
- * Use this to set the minimum audio pushdown value in ms.
- * This is the amount of audio data that is being written
- * to the audio device before starting playback.
- */
- STDMETHOD(SetAudioPushdown)(THIS_
- UINT32 /*IN*/ ulAudioPushdown
- ) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAAudioPushdown::SetAudioPushdown
+ * Purpose:
+ * Use this to set the minimum audio pushdown value in ms.
+ * This is the amount of audio data that is being written
+ * to the audio device before starting playback.
+ */
+ STDMETHOD(SetAudioPushdown) (THIS_
+ UINT32 /*IN*/ ulAudioPushdown
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAudioHookManager
- *
+ *
* Purpose:
*
* This interface can be used to add a hook at the audio device layer.
- *
+ *
* IID_IRMAAudioHookManager:
- *
+ *
* {0000070E-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAudioHookManager, 0x0000070E, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -1226,36 +1226,36 @@ DECLARE_INTERFACE_(IRMAAudioHookManager, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
-
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- /*
- * IRMAAudioHookManager methods
- */
- /************************************************************************
- * Method:
- * IRMAAudioHookManager::AddHook
- * Purpose:
- * Use this to add a hook
- */
- STDMETHOD(AddHook)(THIS_
- IRMAAudioHook* /*IN*/ pHook
- ) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
+ /*
+ * IRMAAudioHookManager methods
+ */
+ /************************************************************************
+ * Method:
+ * IRMAAudioHookManager::AddHook
+ * Purpose:
+ * Use this to add a hook
+ */
+ STDMETHOD(AddHook) (THIS_
+ IRMAAudioHook* /*IN*/ pHook
+ ) PURE;
- /************************************************************************
- * Method:
- * IRMAAudioHookManager::RemoveHook
- * Purpose:
- * Use this to remove a hook
- */
- STDMETHOD(RemoveHook)(THIS_
- IRMAAudioHook* /*IN*/ pHook
- ) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAAudioHookManager::RemoveHook
+ * Purpose:
+ * Use this to remove a hook
+ */
+ STDMETHOD(RemoveHook) (THIS_
+ IRMAAudioHook* /*IN*/ pHook
+ ) PURE;
};
#endif /* _RMAAUSVC_H_ */
diff --git a/include/realmedia/rmaauth.h b/include/realmedia/rmaauth.h
index ee027a369..866bf87bf 100644
--- a/include/realmedia/rmaauth.h
+++ b/include/realmedia/rmaauth.h
@@ -1,16 +1,16 @@
/****************************************************************************
- *
+ *
* $Id: rmaauth.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
- * Authentication and password interfaces.
+ * Authentication and password interfaces.
*
*/
@@ -29,23 +29,23 @@ typedef _INTERFACE IRMAValues IRMAValues;
typedef _INTERFACE IRMABuffer IRMABuffer;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAuthenticator
- *
+ *
* Purpose:
- *
+ *
* Provide a means of authenticating users.
*
* IID_IRMAAuthenticator:
- *
+ *
* {00001800-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAuthenticator, 0x00001800, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAAuthenticator, 0x00001800, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAAuthenticator IID_IRMAAuthenticator
@@ -54,21 +54,21 @@ DEFINE_GUID(IID_IRMAAuthenticator, 0x00001800, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
DECLARE_INTERFACE_(IRMAAuthenticator, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* InitAuthenticator is called by the creator of the Authenticator
* object in order to pass it an IRMAAuthenticatorRequest object,
* usually implemented by the creator itself.
*/
- STDMETHOD(InitAuthenticator)(THIS_
- IRMAAuthenticatorRequest * pRequest) PURE;
+ STDMETHOD(InitAuthenticator) (THIS_
+ IRMAAuthenticatorRequest* pRequest) PURE;
/*
* Authenticate is called by a file object (and others??)
* when it wants to ask the creator, presumably an FS Manager,
@@ -81,125 +81,125 @@ DECLARE_INTERFACE_(IRMAAuthenticator, IUnknown)
* part of their Init() call, and not call InitDone until they receive
* a response one way or the other.
*/
- STDMETHOD(Authenticate)(THIS_
- IRMAValues * pValues,
- IRMAAuthenticatorResponse * pResponse) PURE;
+ STDMETHOD(Authenticate) (THIS_
+ IRMAValues* pValues,
+ IRMAAuthenticatorResponse* pResponse) PURE;
/* GenerateAuthRequest is called by the creator of this object
* when they want to send an authentication request to someone.
*/
- STDMETHOD(GenerateAuthRequest)(THIS_
- UINT32 authType,
- REF(IRMAValues*) pValues) PURE;
+ STDMETHOD(GenerateAuthRequest) (THIS_
+ UINT32 authType,
+ REF(IRMAValues*) pValues) PURE;
/*
* AuthValuesReady is called by IRMAAuthenticatorRequest when it
* is ready to respond to a GetAuthValues request.
*/
- STDMETHOD(AuthValuesReady)(THIS_
- PN_RESULT result,
- IRMAValues * pValues) PURE;
+ STDMETHOD(AuthValuesReady) (THIS_
+ PN_RESULT result,
+ IRMAValues* pValues) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAuthenticatorResponse
- *
+ *
* Purpose:
*
* Response object for the Authenticator class.
- *
+ *
* IID_IRMAAuthenticatorResponse:
- *
+ *
* {00001801-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAuthenticatorResponse, 0x00001801, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAAuthenticatorResponse, 0x00001801, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAuthenticatorResponse
DECLARE_INTERFACE_(IRMAAuthenticatorResponse, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/* AuthenticateDone is called by an IRMAAuthenticator when it has
* finished it's authorization steps. If the result is PNR_OK,
* then the values contain authorization information as generated by
* IRMAPassword.
*/
- STDMETHOD(AuthenticateDone)(THIS_ PN_RESULT result,
- IRMAValues * pAuthResponseValues) PURE;
+ STDMETHOD(AuthenticateDone) (THIS_ PN_RESULT result,
+ IRMAValues* pAuthResponseValues) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAuthenticatorRequest
- *
+ *
* Purpose:
*
* Request object for the Authenticator class.
- *
+ *
* IID_IRMAAuthenticatorRequest:
- *
+ *
* {00001802-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAAuthenticatorRequest, 0x00001802, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAAuthenticatorRequest, 0x00001802, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAuthenticatorRequest
DECLARE_INTERFACE_(IRMAAuthenticatorRequest, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/* GetAuthValues is called by the Authenticator object when it
* needs to know the authorization info for this transaction.
*
* This object should call AuthValuesReady when ready.
*/
- STDMETHOD(GetAuthValues)(THIS_ IRMAValues * pOrigValues) PURE;
+ STDMETHOD(GetAuthValues) (THIS_ IRMAValues* pOrigValues) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPassword
- *
+ *
* Purpose:
- *
+ *
* Provides a general password facility for storing of passwords in
* an encrypted form and a facility for verifying passwords securely
* over the network.
- *
+ *
* IID_IRMAPassword:
- *
+ *
* {00001700-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
#define PN_AUTH_BASIC 1
@@ -207,8 +207,8 @@ DECLARE_INTERFACE_(IRMAAuthenticatorRequest, IUnknown)
#define PN_AUTH_RN5 3
#define PN_AUTH_NTLM 4
-DEFINE_GUID(IID_IRMAPassword, 0x00001700, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPassword, 0x00001700, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPassword
@@ -218,23 +218,23 @@ DECLARE_INTERFACE_(IRMAPassword, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPassword methods
*/
- STDMETHOD(Crypt)(THIS_ IRMAValues * pAuthentication) PURE;
- STDMETHOD(Verify)(THIS_ IRMAValues * pAuth1, IRMAValues * pAuth2) PURE;
+ STDMETHOD(Crypt) (THIS_ IRMAValues* pAuthentication) PURE;
+ STDMETHOD(Verify) (THIS_ IRMAValues* pAuth1, IRMAValues* pAuth2) PURE;
- STDMETHOD(AsString)(THIS_ IRMAValues * pAuth, REF(IRMABuffer*) pBuffer) PURE;
- STDMETHOD(AsValues)(THIS_ const char * str, IRMAValues * pValues) PURE;
+ STDMETHOD(AsString) (THIS_ IRMAValues* pAuth, REF(IRMABuffer*) pBuffer) PURE;
+ STDMETHOD(AsValues) (THIS_ const char* str, IRMAValues* pValues) PURE;
/*
* CreateBuffer is provided for the convenince of external users,
@@ -242,71 +242,71 @@ DECLARE_INTERFACE_(IRMAPassword, IUnknown)
* just to create IRMABuffers. This method can be used instead, but
* is not advisable if other means are available.
*/
- STDMETHOD(CreateBuffer)(THIS_ REF(IRMABuffer*) pBuffer) PURE;
+ STDMETHOD(CreateBuffer) (THIS_ REF(IRMABuffer*) pBuffer) PURE;
/*
* Ditto for CreateValues
*/
- STDMETHOD(CreateValues)(THIS_ REF(IRMAValues*) pValues) PURE;
+ STDMETHOD(CreateValues) (THIS_ REF(IRMAValues*) pValues) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAuthenticationManager
- *
+ *
* Purpose:
- *
+ *
* Provide a means of authenticating users.
*
* IID_IRMAAuthenticator:
- *
+ *
* {00001a00-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAuthenticationManager, 0x00001a00, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAuthenticationManager
DECLARE_INTERFACE_(IRMAAuthenticationManager, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/* HandleAuthenticationRequest is called when the core wants us to get
* a username and password.
*/
- STDMETHOD(HandleAuthenticationRequest)(
- THIS_ IRMAAuthenticationManagerResponse * pResponse) PURE;
+ STDMETHOD(HandleAuthenticationRequest) (
+ THIS_ IRMAAuthenticationManagerResponse* pResponse) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAuthenticationManagerResponse
- *
+ *
* Purpose:
- *
+ *
* Response object for IRMAAuthenticationManager.
*
* IID_IRMAAuthenticator:
- *
+ *
* {00001a01-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAuthenticationManagerResponse, 0x00001a01, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
@@ -314,19 +314,19 @@ DEFINE_GUID(IID_IRMAAuthenticationManagerResponse, 0x00001a01, 0x901, 0x11d1,
DECLARE_INTERFACE_(IRMAAuthenticationManagerResponse, IUnknown)
{
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/* HandleAuthenticationRequest is called when the core wants us to get
* a username and password.
*/
- STDMETHOD(AuthenticationRequestDone)(THIS_
- PN_RESULT result,
- const char * pUserName,
- const char * pPassword) PURE;
+ STDMETHOD(AuthenticationRequestDone) (THIS_
+ PN_RESULT result,
+ const char* pUserName,
+ const char* pPassword) PURE;
};
#ifdef _MACINTOSH
diff --git a/include/realmedia/rmaauthn.h b/include/realmedia/rmaauthn.h
index 526c76a0f..4f2e39b7f 100644
--- a/include/realmedia/rmaauthn.h
+++ b/include/realmedia/rmaauthn.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaauthn.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -39,16 +39,16 @@ typedef _INTERFACE IRMAValues IRMAValues;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMACredRequest
*
* Purpose:
*
- * This is queried from the response interface passed into
+ * This is queried from the response interface passed into
* IRMAClientAuthConversation::MakeResponse. MakeResponse
- * uses it to request the current user to enter their credentials.
+ * uses it to request the current user to enter their credentials.
*
* IRMACredRequest:
*
@@ -65,40 +65,40 @@ DECLARE_INTERFACE_(IRMACredRequest, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMACredRequest::GetCredentials
* Purpose:
- *
- * Call this to request the credentials. Usually presents UI to
+ *
+ * Call this to request the credentials. Usually presents UI to
* the user asking for username and password.
*
* While ignored at this time, pValuesCredentialRequest should
- * contain CString properties that describe the reason for the
- * request. (like the URL, the Realm, the Auth protocol, and how
+ * contain CString properties that describe the reason for the
+ * request. (like the URL, the Realm, the Auth protocol, and how
* secure it is, etc..) In the future this data will be displayed
* to the user.
*
*/
STDMETHOD(GetCredentials)
(
- THIS_
- IRMACredRequestResponse * pCredRequestResponseRequester,
- IRMAValues * pValuesCredentialRequest
+ THIS_
+ IRMACredRequestResponse* pCredRequestResponseRequester,
+ IRMAValues* pValuesCredentialRequest
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMACredRequestResponse
@@ -123,45 +123,45 @@ DECLARE_INTERFACE_(IRMACredRequestResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMACredRequestResponse::CredentialsReady
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMACredRequest::GetCredentials
*
- * If successful pValuesCredentials contains the requested
+ * If successful pValuesCredentials contains the requested
* credentials. (usually CString:Username and CString:Password)
*
*/
STDMETHOD(CredentialsReady)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMAValues * pValuesCredentials
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMAValues* pValuesCredentials
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAClientAuthConversation
*
* Purpose:
*
- * This is implemented by a client authenticator in order to perform
- * the client side of an authentication protocol.
+ * This is implemented by a client authenticator in order to perform
+ * the client side of an authentication protocol.
*
* IRMAClientAuthConversation:
*
@@ -184,48 +184,48 @@ DECLARE_INTERFACE_(IRMAClientAuthConversation, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAClientAuthConversation::MakeResponse
* Purpose:
- *
+ *
* Call this when a challenge is received from the server.
- *
+ *
* pRequestChallengeHeaders should contain the server challenge.
*
*/
STDMETHOD(MakeResponse)
(
- THIS_
- IRMAClientAuthResponse * pClientAuthResponseRequester,
- IRMARequest * pRequestChallengeHeaders
+ THIS_
+ IRMAClientAuthResponse* pClientAuthResponseRequester,
+ IRMARequest* pRequestChallengeHeaders
) PURE;
/************************************************************************
* Method:
* IRMAClientAuthConversation::IsDone
* Purpose:
- *
+ *
* Call this to determine whether the conversation is complete.
* (some protocols have more then one message exchange.)
*
*/
- STDMETHOD_(BOOL, IsDone)(THIS) PURE;
+ STDMETHOD_(BOOL,IsDone)(THIS) PURE;
/************************************************************************
* Method:
* IRMAClientAuthConversation::Authenticated
* Purpose:
- *
- * Call this to signal the authenticator that the conversation
+ *
+ * Call this to signal the authenticator that the conversation
* just completed succeeded or failed.
*
*/
@@ -233,14 +233,14 @@ DECLARE_INTERFACE_(IRMAClientAuthConversation, IUnknown)
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAClientAuthResponse
*
* Purpose:
*
- * This is implemented by the client core in order to receive the
+ * This is implemented by the client core in order to receive the
* response generated by IRMAClientAuthConversation::MakeResponse
*
* IRMAClientAuthResponse:
@@ -258,48 +258,48 @@ DECLARE_INTERFACE_(IRMAClientAuthResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAClientAuthResponse::ResponseReady
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAClientAuthConversation::MakeResponse
*
- * pRequestResponseHeaders should be the same Request object
+ * pRequestResponseHeaders should be the same Request object
* that was passed into MakeResponse, it should contain
- * CString values for each MimeHeader it wishes to send to
+ * CString values for each MimeHeader it wishes to send to
* the Server.
*
*/
STDMETHOD(ResponseReady)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMARequest * pRequestResponseHeaders
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMARequest* pRequestResponseHeaders
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAServerAuthConversation
*
* Purpose:
*
- * This is implemented by a server authenticator in order to perform
- * the server side of an authentication protocol.
+ * This is implemented by a server authenticator in order to perform
+ * the server side of an authentication protocol.
*
* IRMAServerAuthConversation:
*
@@ -322,21 +322,21 @@ DECLARE_INTERFACE_(IRMAServerAuthConversation, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAServerAuthConversation::MakeChallenge
* Purpose:
- *
- * Call this to create a challenge for a client. If the request
- * passed in does not contain a respose from the client, then it
+ *
+ * Call this to create a challenge for a client. If the request
+ * passed in does not contain a respose from the client, then it
* will generate the initial challenge.
*
* pRequestResponseHeaders is the request for a secured URL. If
@@ -346,27 +346,27 @@ DECLARE_INTERFACE_(IRMAServerAuthConversation, IUnknown)
*/
STDMETHOD(MakeChallenge)
(
- THIS_
- IRMAServerAuthResponse * pServerAuthResponseRequester,
- IRMARequest * pRequestResponseHeaders
+ THIS_
+ IRMAServerAuthResponse* pServerAuthResponseRequester,
+ IRMARequest* pRequestResponseHeaders
) PURE;
/************************************************************************
* Method:
* IRMAServerAuthConversation::IsAuthenticated
* Purpose:
- *
- * Call this to determine whether the last response from the
+ *
+ * Call this to determine whether the last response from the
* client completed the authentication successfully.
*
*/
- STDMETHOD_(BOOL, IsAuthenticated)(THIS) PURE;
+ STDMETHOD_(BOOL,IsAuthenticated)(THIS) PURE;
/************************************************************************
* Method:
* IRMAServerAuthConversation::GetUserContext
* Purpose:
- *
+ *
* Call this to retrieve the Context of the user that completed
* authentication successfully.
*
@@ -378,14 +378,14 @@ DECLARE_INTERFACE_(IRMAServerAuthConversation, IUnknown)
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAServerAuthResponse
*
* Purpose:
*
- * This is implemented by various server plugins in order to receive the
+ * This is implemented by various server plugins in order to receive the
* challenge generated by IRMAServerAuthConversation::MakeChallenge
*
* IRMAServerAuthResponse:
@@ -403,47 +403,47 @@ DECLARE_INTERFACE_(IRMAServerAuthResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAServerAuthResponse::ChallengeReady
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAServerAuthConversation::MakeChallenge
*
- * pRequestChallengeHeaders should be the same Request object
+ * pRequestChallengeHeaders should be the same Request object
* that was passed into MakeChallenge, it should contain
- * CString values for each MimeHeader it wishes to send to
+ * CString values for each MimeHeader it wishes to send to
* the client.
*
*/
STDMETHOD(ChallengeReady)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMARequest * pRequestChallengeHeaders
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMARequest* pRequestChallengeHeaders
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAUserContext
*
* Purpose:
*
- * This is implemented by a user context in order to provide
+ * This is implemented by a user context in order to provide
* access to information about the currently authenticated user.
*
* IRMAUserContext:
@@ -461,36 +461,36 @@ DECLARE_INTERFACE_(IRMAUserContext, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAUserContext::IsMemberOf
* Purpose:
- *
+ *
* Call this to determine whether the authenticated user
* is a member of the specified group.
*
*/
- STDMETHOD(IsMemberOf)(THIS_ IRMABuffer * pBufferGroupID) PURE;
+ STDMETHOD(IsMemberOf)(THIS_ IRMABuffer* pBufferGroupID) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAUserProperties
*
* Purpose:
*
- * This is implemented by a user context in order to provide
+ * This is implemented by a user context in order to provide
* access to properties of the currently authenticated user.
*
* IRMAUserProperties:
@@ -508,20 +508,20 @@ DECLARE_INTERFACE_(IRMAUserProperties, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAUserProperties::GetPrincipalID
* Purpose:
- *
+ *
* Call this to determine the principalID of the authenticated user.
*
*/
@@ -531,8 +531,8 @@ DECLARE_INTERFACE_(IRMAUserProperties, IUnknown)
* Method:
* IRMAUserProperties::GetAuthorityName
* Purpose:
- *
- * Call this to determine the authority name that authorized the
+ *
+ * Call this to determine the authority name that authorized the
* authenticated user. (realm or domain name)
*
*/
@@ -542,14 +542,14 @@ DECLARE_INTERFACE_(IRMAUserProperties, IUnknown)
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAUserImpersonation
*
* Purpose:
*
- * This can be implemented by a user context in order to provide
+ * This can be implemented by a user context in order to provide
* the ability to have the server impersonate the currently authenticated
* user.
*
@@ -568,19 +568,19 @@ DECLARE_INTERFACE_(IRMAUserImpersonation, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAUserImpersonation::Start
* Purpose:
- *
+ *
* Call this to impersonate the authenticated user.
*
*/
@@ -590,7 +590,7 @@ DECLARE_INTERFACE_(IRMAUserImpersonation, IUnknown)
* Method:
* IRMAUserImpersonation::Stop
* Purpose:
- *
+ *
* Call this to stop impersonating the authenticated user.
*
*/
@@ -599,18 +599,18 @@ DECLARE_INTERFACE_(IRMAUserImpersonation, IUnknown)
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAChallenge
*
* Purpose:
*
- * This is implemented by the server core in order to allow
+ * This is implemented by the server core in order to allow
* additional exchanges of information with the client without
* creating a new request. (It is stored in the IRMARequest object
* and can be retrieved by calling IRMARequestContext::GetRequester()
- * if it is absent then the protocol that this request was made on
+ * if it is absent then the protocol that this request was made on
* does not support multi-message authentication (PNA doesn't) )
*
* IRMAChallenge:
@@ -628,46 +628,46 @@ DECLARE_INTERFACE_(IRMAChallenge, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAChallenge::SendChallenge
* Purpose:
- *
+ *
* Call this to request additional information from the client.
*
- * pRequestChallenge should be the same Request object
+ * pRequestChallenge should be the same Request object
* that was passed into MakeChallenge, it should contain
- * CString values for each MimeHeader it wishes to send to
+ * CString values for each MimeHeader it wishes to send to
* the client.
*
*/
STDMETHOD(SendChallenge)
(
- THIS_
- IRMAChallengeResponse * pChallengeResponseSender,
- IRMARequest * pRequestChallenge
+ THIS_
+ IRMAChallengeResponse* pChallengeResponseSender,
+ IRMARequest* pRequestChallenge
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAChallengeResponse
*
* Purpose:
*
- * This is implemented by a server authenticator in order to
- * receive the Response returned by the client in response to
+ * This is implemented by a server authenticator in order to
+ * receive the Response returned by the client in response to
* IRMAChallenge::SendChallenge.
*
* IRMAChallengeResponse:
@@ -685,30 +685,30 @@ DECLARE_INTERFACE_(IRMAChallengeResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAChallengeResponse::ResponseReady
* Purpose:
- *
- * Called this to return the additional information requested
+ *
+ * Called this to return the additional information requested
* from IRMAChallenge::SendChallenge.
*
- * pRequestResponse should be the same Request object
+ * pRequestResponse should be the same Request object
* that was passed into MakeChallenge and SendChallenge.
*
*/
STDMETHOD(ResponseReady)
(
- THIS_
- IRMARequest * pRequestResponse
+ THIS_
+ IRMARequest* pRequestResponse
) PURE;
};
diff --git a/include/realmedia/rmacfg.h b/include/realmedia/rmacfg.h
index 6dc21b87f..d2fdde3ee 100644
--- a/include/realmedia/rmacfg.h
+++ b/include/realmedia/rmacfg.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmacfg.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -20,7 +20,7 @@
typedef _INTERFACE IRMABuffer IRMABuffer;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAConfigFile
@@ -32,8 +32,8 @@ typedef _INTERFACE IRMABuffer IRMABuffer;
* {00001c00-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAConfigFile, 0x00001c00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAConfigFile, 0x00001c00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAConfigFile
@@ -43,13 +43,13 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAConfigFile methods
@@ -62,8 +62,8 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
* LoadFrom tells the server to load the config file specified,
* and sets that file as the default for future Reloads and Saves
*/
- STDMETHOD(LoadFrom)(THIS_
- IRMABuffer * filename) PURE;
+ STDMETHOD(LoadFrom) (THIS_
+ IRMABuffer* filename) PURE;
/************************************************************************
* Method:
@@ -72,7 +72,7 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
*
* Reload causes the current default config file to be reloaded.
*/
- STDMETHOD(Reload)(THIS) PURE;
+ STDMETHOD(Reload) (THIS) PURE;
/************************************************************************
* Method:
@@ -82,7 +82,7 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
* Save causes the current configuration to be written to the
* current default file.
*/
- STDMETHOD(Save)(THIS) PURE;
+ STDMETHOD(Save) (THIS) PURE;
/************************************************************************
* Method:
@@ -92,8 +92,8 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
* SaveAs writes the configuration to the named file, and sets that
* file as the default.
*/
- STDMETHOD(SaveAs)(THIS_
- IRMABuffer * pFilename) PURE;
+ STDMETHOD(SaveAs) (THIS_
+ IRMABuffer* pFilename) PURE;
/************************************************************************
* Method:
@@ -102,8 +102,8 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
*
* GetFilename returns the current default file
*/
- STDMETHOD(GetFilename)(THIS_
- REF(IRMABuffer*) pFilename) PURE;
+ STDMETHOD(GetFilename) (THIS_
+ REF(IRMABuffer*) pFilename) PURE;
/************************************************************************
* Method:
@@ -113,12 +113,12 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
* SetFilename sets the current default file, but does not read it
* or change its contents.
*/
- STDMETHOD(SetFilename)(THIS_
- IRMABuffer * pFilename) PURE;
+ STDMETHOD(SetFilename) (THIS_
+ IRMABuffer* pFilename) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMARegConfig
@@ -130,8 +130,8 @@ DECLARE_INTERFACE_(IRMAConfigFile, IUnknown)
* {00001c01-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMARegConfig, 0x00001c01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARegConfig, 0x00001c01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARegConfig
@@ -141,25 +141,25 @@ DECLARE_INTERFACE_(IRMARegConfig, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMARegConfig::WriteKey
* Purpose:
*
- * Write out the registry from the passed in keyname to the
+ * Write out the registry from the passed in keyname to the
* currently active permanent config storage area (ex. config file,
* registry).
*/
- STDMETHOD(WriteKey)(THIS_
- const char * pKeyName) PURE;
+ STDMETHOD(WriteKey) (THIS_
+ const char* pKeyName) PURE;
};
diff --git a/include/realmedia/rmaclsnk.h b/include/realmedia/rmaclsnk.h
index a9a96b625..ac66fe0b4 100644
--- a/include/realmedia/rmaclsnk.h
+++ b/include/realmedia/rmaclsnk.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaclsnk.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -24,24 +24,24 @@
typedef _INTERFACE IRMAClientAdviseSink IRMAClientAdviseSink;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAClientAdviseSink
- *
+ *
* Purpose:
- *
+ *
* Interface supplied by client to core to receive notifications of
* status changes.
- *
+ *
* IID_IRMAClientAdviseSink:
- *
+ *
* {00000B00-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAClientAdviseSink, 0x00000B00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAClientAdviseSink, 0x00000B00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAClientAdviseSink
@@ -51,13 +51,13 @@ DECLARE_INTERFACE_(IRMAClientAdviseSink, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAClientAdviseSink methods
@@ -70,9 +70,9 @@ DECLARE_INTERFACE_(IRMAClientAdviseSink, IUnknown)
* Called to advise the client that the position or length of the
* current playback context has changed.
*/
- STDMETHOD(OnPosLength)(THIS_
- UINT32 ulPosition,
- UINT32 ulLength) PURE;
+ STDMETHOD(OnPosLength) (THIS_
+ UINT32 ulPosition,
+ UINT32 ulLength) PURE;
/************************************************************************
* Method:
@@ -80,7 +80,7 @@ DECLARE_INTERFACE_(IRMAClientAdviseSink, IUnknown)
* Purpose:
* Called to advise the client a presentation has been opened.
*/
- STDMETHOD(OnPresentationOpened)(THIS) PURE;
+ STDMETHOD(OnPresentationOpened) (THIS) PURE;
/************************************************************************
* Method:
@@ -88,78 +88,78 @@ DECLARE_INTERFACE_(IRMAClientAdviseSink, IUnknown)
* Purpose:
* Called to advise the client a presentation has been closed.
*/
- STDMETHOD(OnPresentationClosed)(THIS) PURE;
+ STDMETHOD(OnPresentationClosed) (THIS) PURE;
/************************************************************************
* Method:
* IRMAClientAdviseSink::OnStatisticsChanged
* Purpose:
* Called to advise the client that the presentation statistics
- * have changed.
+ * have changed.
*/
- STDMETHOD(OnStatisticsChanged)(THIS) PURE;
+ STDMETHOD(OnStatisticsChanged) (THIS) PURE;
/************************************************************************
* Method:
* IRMAClientAdviseSink::OnPreSeek
* Purpose:
* Called by client engine to inform the client that a seek is
- * about to occur. The render is informed the last time for the
+ * about to occur. The render is informed the last time for the
* stream's time line before the seek, as well as the first new
* time for the stream's time line after the seek will be completed.
*
*/
- STDMETHOD(OnPreSeek)(THIS_
- ULONG32 ulOldTime,
- ULONG32 ulNewTime) PURE;
+ STDMETHOD(OnPreSeek) (THIS_
+ ULONG32 ulOldTime,
+ ULONG32 ulNewTime) PURE;
/************************************************************************
* Method:
* IRMAClientAdviseSink::OnPostSeek
* Purpose:
* Called by client engine to inform the client that a seek has
- * just occurred. The render is informed the last time for the
+ * just occurred. The render is informed the last time for the
* stream's time line before the seek, as well as the first new
* time for the stream's time line after the seek.
*
*/
- STDMETHOD(OnPostSeek)(THIS_
- ULONG32 ulOldTime,
- ULONG32 ulNewTime) PURE;
+ STDMETHOD(OnPostSeek) (THIS_
+ ULONG32 ulOldTime,
+ ULONG32 ulNewTime) PURE;
/************************************************************************
* Method:
* IRMAClientAdviseSink::OnStop
* Purpose:
* Called by client engine to inform the client that a stop has
- * just occurred.
+ * just occurred.
*
*/
- STDMETHOD(OnStop)(THIS) PURE;
+ STDMETHOD(OnStop) (THIS) PURE;
/************************************************************************
* Method:
* IRMAClientAdviseSink::OnPause
* Purpose:
* Called by client engine to inform the client that a pause has
- * just occurred. The render is informed the last time for the
+ * just occurred. The render is informed the last time for the
* stream's time line before the pause.
*
*/
- STDMETHOD(OnPause)(THIS_
- ULONG32 ulTime) PURE;
+ STDMETHOD(OnPause) (THIS_
+ ULONG32 ulTime) PURE;
/************************************************************************
* Method:
* IRMAClientAdviseSink::OnBegin
* Purpose:
* Called by client engine to inform the client that a begin or
- * resume has just occurred. The render is informed the first time
+ * resume has just occurred. The render is informed the first time
* for the stream's time line after the resume.
*
*/
- STDMETHOD(OnBegin)(THIS_
- ULONG32 ulTime) PURE;
+ STDMETHOD(OnBegin) (THIS_
+ ULONG32 ulTime) PURE;
/************************************************************************
* Method:
@@ -168,13 +168,13 @@ DECLARE_INTERFACE_(IRMAClientAdviseSink, IUnknown)
* Called by client engine to inform the client that buffering
* of data is occuring. The render is informed of the reason for
* the buffering (start-up of stream, seek has occurred, network
- * congestion, etc.), as well as percentage complete of the
+ * congestion, etc.), as well as percentage complete of the
* buffering process.
*
*/
- STDMETHOD(OnBuffering)(THIS_
- ULONG32 ulFlags,
- UINT16 unPercentComplete) PURE;
+ STDMETHOD(OnBuffering) (THIS_
+ ULONG32 ulFlags,
+ UINT16 unPercentComplete) PURE;
/************************************************************************
* Method:
@@ -184,8 +184,8 @@ DECLARE_INTERFACE_(IRMAClientAdviseSink, IUnknown)
* hosts(s).
*
*/
- STDMETHOD(OnContacting)(THIS_
- const char * pHostName) PURE;
+ STDMETHOD(OnContacting) (THIS_
+ const char* pHostName) PURE;
};
#endif /* _RMACLSNK_H_ */
diff --git a/include/realmedia/rmacmenu.h b/include/realmedia/rmacmenu.h
index 60a862571..4491282cd 100644
--- a/include/realmedia/rmacmenu.h
+++ b/include/realmedia/rmacmenu.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmacmenu.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary information of RealNetworks, Inc,
+ * This program contains proprietary information of RealNetworks, Inc,
* and is licensed subject to restrictions on use and distribution.
*
*
@@ -25,7 +25,7 @@ typedef _INTERFACE IRMAContextMenuResponse IRMAContextMenuResponse;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAContextMenu
@@ -41,8 +41,8 @@ typedef _INTERFACE IRMAContextMenuResponse IRMAContextMenuResponse;
* {00001f00-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAContextMenu, 0x00001f00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAContextMenu, 0x00001f00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAContextMenu
@@ -52,13 +52,13 @@ DECLARE_INTERFACE_(IRMAContextMenu, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAContextMenu methods
@@ -69,71 +69,71 @@ DECLARE_INTERFACE_(IRMAContextMenu, IUnknown)
* IRMAContextMenu::InitContextMenu
* Purpose:
* Initializes the context menu to a blank menu, and sets the name
- * of the "sub menu" for the renderer if appropriate. This will
+ * of the "sub menu" for the renderer if appropriate. This will
* clear any previously added menu items and sub menus.
*/
- STDMETHOD(InitContextMenu)(THIS_
- const char * pMenuText
- ) PURE;
+ STDMETHOD(InitContextMenu) (THIS_
+ const char* pMenuText
+ ) PURE;
/************************************************************************
* Method:
* IRMAContextMenu::AddMenuItem
* Purpose:
- * Returns information vital to the instantiation of rendering
+ * Returns information vital to the instantiation of rendering
* plugins.
*/
- STDMETHOD(AddMenuItem)(THIS_
- UINT16 commandID,
- const char * pMenuItemText,
- BOOL bChecked,
- BOOL bRadioOn,
- BOOL bDisabled
- ) PURE;
+ STDMETHOD(AddMenuItem) (THIS_
+ UINT16 commandID,
+ const char* pMenuItemText,
+ BOOL bChecked,
+ BOOL bRadioOn,
+ BOOL bDisabled
+ ) PURE;
/************************************************************************
* Method:
* IRMAContextMenu::AddMenuItem
* Purpose:
- * Returns information vital to the instantiation of rendering
+ * Returns information vital to the instantiation of rendering
* plugins.
*/
- STDMETHOD(AddSeparator)(THIS) PURE;
+ STDMETHOD(AddSeparator) (THIS) PURE;
/************************************************************************
* Method:
* IRMAContextMenu::AddChildMenu
* Purpose:
- * Returns information vital to the instantiation of rendering
+ * Returns information vital to the instantiation of rendering
* plugins.
*/
- STDMETHOD(AddChildMenu)(THIS_
- const char * pMenuText
- ) PURE;
+ STDMETHOD(AddChildMenu) (THIS_
+ const char* pMenuText
+ ) PURE;
/************************************************************************
* Method:
* IRMAContextMenu::EndChildMenu
* Purpose:
- * Returns information vital to the instantiation of rendering
+ * Returns information vital to the instantiation of rendering
* plugins.
*/
- STDMETHOD(EndChildMenu)(THIS) PURE;
+ STDMETHOD(EndChildMenu) (THIS) PURE;
/************************************************************************
* Method:
* IRMAContextMenu::ChangeMenuItem
* Purpose:
- * Returns information vital to the instantiation of rendering
+ * Returns information vital to the instantiation of rendering
* plugins.
*/
- STDMETHOD(ChangeMenuItem)(THIS_
- UINT16 commandID,
- const char * pMenuItemText,
- BOOL bChecked,
- BOOL bRadioOn,
- BOOL bDisabled
- ) PURE;
+ STDMETHOD(ChangeMenuItem) (THIS_
+ UINT16 commandID,
+ const char* pMenuItemText,
+ BOOL bChecked,
+ BOOL bRadioOn,
+ BOOL bDisabled
+ ) PURE;
/************************************************************************
* Method:
@@ -141,15 +141,15 @@ DECLARE_INTERFACE_(IRMAContextMenu, IUnknown)
* Purpose:
* Shows the setup context menu at the specified point.
*/
- STDMETHOD(ShowMenu)(THIS_
- IRMAContextMenuResponse * pResonse,
- PNxPoint ptPopup
- ) PURE;
+ STDMETHOD(ShowMenu) (THIS_
+ IRMAContextMenuResponse* pResonse,
+ PNxPoint ptPopup
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAContextMenuResponse
@@ -165,8 +165,8 @@ DECLARE_INTERFACE_(IRMAContextMenu, IUnknown)
* {00001f01-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAContextMenuResponse, 0x00001f01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAContextMenuResponse, 0x00001f01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
@@ -177,13 +177,13 @@ DECLARE_INTERFACE_(IRMAContextMenuResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAContextMenuResponse methods
@@ -196,9 +196,9 @@ DECLARE_INTERFACE_(IRMAContextMenuResponse, IUnknown)
* Called to inform the renderer that a command was chosen from
* the context menu.
*/
- STDMETHOD(OnCommand)(THIS_
- UINT16 commandID
- ) PURE;
+ STDMETHOD(OnCommand) (THIS_
+ UINT16 commandID
+ ) PURE;
/************************************************************************
@@ -208,7 +208,7 @@ DECLARE_INTERFACE_(IRMAContextMenuResponse, IUnknown)
* Called to inform the renderer that the context menu was closed
* without a command being chosen from the renders set of commands.
*/
- STDMETHOD(OnCanceled)(THIS) PURE;
+ STDMETHOD(OnCanceled) (THIS) PURE;
};
diff --git a/include/realmedia/rmacomm.h b/include/realmedia/rmacomm.h
index e2ea890c4..c9f2ed120 100644
--- a/include/realmedia/rmacomm.h
+++ b/include/realmedia/rmacomm.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmacomm.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -32,28 +32,28 @@ typedef _INTERFACE IRMAServerControl IRMAServerControl;
typedef _INTERFACE IRMAReconfigServerResponse IRMAReconfigServerResponse;
typedef _INTERFACE IRMABuffer IRMABuffer;
typedef _INTERFACE IRMAWantServerReconfigNotification
-IRMAWantServerReconfigNotification;
+ IRMAWantServerReconfigNotification;
typedef _INTERFACE IRMAFastAlloc IRMAFastAlloc;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMACommonClassFactory
- *
+ *
* Purpose:
- *
+ *
* RMA interface that manages the creation of common RMA classes.
- *
+ *
* IID_IRMACommonClassFactory:
- *
+ *
* {00000000-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMACommonClassFactory, 0x00000000, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMACommonClassFactory, 0x00000000, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMACommonClassFactory
@@ -63,13 +63,13 @@ DECLARE_INTERFACE_(IRMACommonClassFactory, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMACommonClassFactory methods
@@ -82,7 +82,7 @@ DECLARE_INTERFACE_(IRMACommonClassFactory, IUnknown)
* Creates instances of common objects supported by the system,
* like IRMABuffer, IRMAPacket, IRMAValues, etc.
*
- * This method is similar to Window's CoCreateInstance() in its
+ * This method is similar to Window's CoCreateInstance() in its
* purpose, except that it only creates objects of a well known
* types.
*
@@ -90,9 +90,9 @@ DECLARE_INTERFACE_(IRMACommonClassFactory, IUnknown)
* not passed to this function, and you do not need to code for this
* situation.
*/
- STDMETHOD(CreateInstance)(THIS_
- REFCLSID /*IN*/ rclsid,
- void** /*OUT*/ ppUnknown) PURE;
+ STDMETHOD(CreateInstance) (THIS_
+ REFCLSID /*IN*/ rclsid,
+ void** /*OUT*/ ppUnknown) PURE;
/************************************************************************
* Method:
@@ -101,41 +101,41 @@ DECLARE_INTERFACE_(IRMACommonClassFactory, IUnknown)
* Creates instances of common objects that can be aggregated
* supported by the system, like IRMASiteWindowed
*
- * This method is similar to Window's CoCreateInstance() in its
+ * This method is similar to Window's CoCreateInstance() in its
* purpose, except that it only creates objects of a well known
* types.
*
* NOTE 1: Unlike CreateInstance, this method will create internal
* objects that support Aggregation.
*
- * NOTE 2: The output interface is always the non-delegating
+ * NOTE 2: The output interface is always the non-delegating
* IUnknown.
*/
STDMETHOD(CreateInstanceAggregatable)
- (THIS_
- REFCLSID /*IN*/ rclsid,
- REF(IUnknown*) /*OUT*/ ppUnknown,
- IUnknown* /*IN*/ pUnkOuter) PURE;
+ (THIS_
+ REFCLSID /*IN*/ rclsid,
+ REF(IUnknown*) /*OUT*/ ppUnknown,
+ IUnknown* /*IN*/ pUnkOuter) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAStatistics
- *
+ *
* Purpose:
- *
+ *
* This interface allows update of the client statistics.
- *
+ *
* IID_IRMAStatistics:
- *
+ *
* {00000001-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAStatistics, 0x00000001, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAStatistics, 0x00000001, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAStatistics
@@ -145,13 +145,13 @@ DECLARE_INTERFACE_(IRMAStatistics, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAStatistics methods
@@ -164,8 +164,8 @@ DECLARE_INTERFACE_(IRMAStatistics, IUnknown)
* Pass registry ID to the caller
*
*/
- STDMETHOD(InitializeStatistics)(THIS_
- UINT32 /*IN*/ ulRegistryID) PURE;
+ STDMETHOD(InitializeStatistics) (THIS_
+ UINT32 /*IN*/ ulRegistryID) PURE;
/************************************************************************
* Method:
@@ -174,29 +174,29 @@ DECLARE_INTERFACE_(IRMAStatistics, IUnknown)
* Notify the client to update its statistics stored in the registry
*
*/
- STDMETHOD(UpdateStatistics)(THIS) PURE;
+ STDMETHOD(UpdateStatistics) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMARegistryID
- *
+ *
* Purpose:
- *
+ *
* This interface is implemented by IRMAPlayer, IRMAStreamSource,
* and IRMAStream. It allows the user to get the registry Base ID,
* for an object that you have a pointer to.
- *
+ *
* IID_IRMARegistryID:
- *
+ *
* {00000002-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMARegistryID, 0x00000002, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARegistryID, 0x00000002, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARegistryID
@@ -206,13 +206,13 @@ DECLARE_INTERFACE_(IRMARegistryID, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMARegistryID methods
@@ -225,18 +225,18 @@ DECLARE_INTERFACE_(IRMARegistryID, IUnknown)
* Get the registry ID of the object.
*
*/
- STDMETHOD(GetID)(THIS_
- REF(UINT32) /*OUT*/ ulRegistryID) PURE;
+ STDMETHOD(GetID) (THIS_
+ REF(UINT32) /*OUT*/ ulRegistryID) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAServerFork
- *
+ *
* Purpose:
- *
+ *
* This interface is implemented by the server context on Unix
* platforms. This interface allows your plugin to fork off a
* process. Note that the process that is forked off cannot use
@@ -244,12 +244,12 @@ DECLARE_INTERFACE_(IRMARegistryID, IUnknown)
* a RMA plugin.
*
* IID_IRMAServerFork:
- *
+ *
* {00000003-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAServerFork, 0x00000003, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAServerFork, 0x00000003, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAServerFork
@@ -259,13 +259,13 @@ DECLARE_INTERFACE_(IRMAServerFork, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAServerFork methods
@@ -285,11 +285,11 @@ DECLARE_INTERFACE_(IRMAServerFork, IUnknown)
* RMA interfaces is done by the parent.
*
*/
- STDMETHOD_(INT32, Fork)(THIS) PURE;
+ STDMETHOD_(INT32, Fork) (THIS) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAServerControl
@@ -306,7 +306,7 @@ DECLARE_INTERFACE_(IRMAServerFork, IUnknown)
* {00000004-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAServerControl, 0x00000004, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAServerControl, 0x00000004, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAServerControl IID_IRMAServerControl
@@ -319,13 +319,13 @@ DECLARE_INTERFACE_(IRMAServerControl, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAServerControl methods
@@ -337,12 +337,12 @@ DECLARE_INTERFACE_(IRMAServerControl, IUnknown)
* Purpose:
* Shutdown the server.
*/
- STDMETHOD(ShutdownServer)(THIS_
- UINT32 status) PURE;
+ STDMETHOD(ShutdownServer) (THIS_
+ UINT32 status) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAServerControl2
@@ -357,7 +357,7 @@ DECLARE_INTERFACE_(IRMAServerControl, IUnknown)
* {00000005-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAServerControl2, 0x00000005, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAServerControl2, 0x00000005, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -369,13 +369,13 @@ DECLARE_INTERFACE_(IRMAServerControl2, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAServerControl2 methods
@@ -389,7 +389,7 @@ DECLARE_INTERFACE_(IRMAServerControl2, IUnknown)
* Completely shutdown the server, then restart. Mainly used to
* cause not hot setting config var changes to take effect.
*/
- STDMETHOD(RestartServer)(THIS) PURE;
+ STDMETHOD(RestartServer) (THIS) PURE;
/************************************************************************
* IRMAServerControl2::ReconfigServer
@@ -399,12 +399,12 @@ DECLARE_INTERFACE_(IRMAServerControl2, IUnknown)
* Used to cause the server to re-read in config from file or registry
* (however it was started) and attempt to use the values.
*/
- STDMETHOD(ReconfigServer)(THIS_ IRMAReconfigServerResponse * pResp) PURE;
+ STDMETHOD(ReconfigServer) (THIS_ IRMAReconfigServerResponse* pResp) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAReconfigServerResponse
@@ -419,7 +419,7 @@ DECLARE_INTERFACE_(IRMAServerControl2, IUnknown)
* {00000006-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAReconfigServerResponse, 0x00000006, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAReconfigServerResponse, 0x00000006, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -431,13 +431,13 @@ DECLARE_INTERFACE_(IRMAReconfigServerResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAReconfigServerResponse::ReconfigServerDone
@@ -446,14 +446,14 @@ DECLARE_INTERFACE_(IRMAReconfigServerResponse, IUnknown)
*
* Notification that reconfiguring the server is done.
*/
- STDMETHOD(ReconfigServerDone)(THIS_
- PN_RESULT res,
- IRMABuffer** pInfo,
- UINT32 ulNumInfo) PURE;
+ STDMETHOD(ReconfigServerDone) (THIS_
+ PN_RESULT res,
+ IRMABuffer** pInfo,
+ UINT32 ulNumInfo) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAServerReconfigNotification
@@ -471,7 +471,7 @@ DECLARE_INTERFACE_(IRMAReconfigServerResponse, IUnknown)
* {00000007-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAServerReconfigNotification, 0x00000007, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAServerReconfigNotification, 0x00000007, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -483,13 +483,13 @@ DECLARE_INTERFACE_(IRMAServerReconfigNotification, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAServerReconfigNotification::WantReconfigNotification
@@ -498,9 +498,9 @@ DECLARE_INTERFACE_(IRMAServerReconfigNotification, IUnknown)
*
* Tell the server that you want reconfig notification.
*/
- STDMETHOD(WantReconfigNotification)(THIS_
- IRMAWantServerReconfigNotification * pResponse) PURE;
-
+ STDMETHOD(WantReconfigNotification) (THIS_
+ IRMAWantServerReconfigNotification* pResponse) PURE;
+
/************************************************************************
* IRMAServerReconfigNotification::CancelReconfigNotification
*
@@ -508,13 +508,13 @@ DECLARE_INTERFACE_(IRMAServerReconfigNotification, IUnknown)
*
* Tell the server that you no longer want reconfig notification.
*/
- STDMETHOD(CancelReconfigNotification)(THIS_
- IRMAWantServerReconfigNotification * pResponse) PURE;
+ STDMETHOD(CancelReconfigNotification) (THIS_
+ IRMAWantServerReconfigNotification* pResponse) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAWantServerReconfigNotification
@@ -531,7 +531,7 @@ DECLARE_INTERFACE_(IRMAServerReconfigNotification, IUnknown)
* {00000008-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAWantServerReconfigNotification, 0x00000008, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAWantServerReconfigNotification, 0x00000008, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -543,13 +543,13 @@ DECLARE_INTERFACE_(IRMAWantServerReconfigNotification, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAWantServerReconfigNotification::ServerReconfig
@@ -559,8 +559,8 @@ DECLARE_INTERFACE_(IRMAWantServerReconfigNotification, IUnknown)
* Notify user that a server reconfig request had come in and it
* is now your turn to do external (not server config) reconfiguration.*
*/
- STDMETHOD(ServerReconfig)(THIS_
- IRMAReconfigServerResponse * pResponse) PURE;
+ STDMETHOD(ServerReconfig) (THIS_
+ IRMAReconfigServerResponse* pResponse) PURE;
};
diff --git a/include/realmedia/rmacore.h b/include/realmedia/rmacore.h
index ca083537e..8461dafba 100644
--- a/include/realmedia/rmacore.h
+++ b/include/realmedia/rmacore.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmacore.h 74 2003-07-02 02:42:47Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -64,36 +64,36 @@ enum BUFFERING_REASON
};
/****************************************************************************
- *
+ *
* Function:
- *
+ *
* CreateEngine()
- *
+ *
* Purpose:
- *
+ *
* Function implemented by the RMA core to return a pointer to the
* client engine. This function would be run by top level clients.
*/
STDAPI CreateEngine
-(
- IRMAClientEngine** /*OUT*/ ppEngine
-);
+ (
+ IRMAClientEngine** /*OUT*/ ppEngine
+ );
/****************************************************************************
- *
+ *
* Function:
- *
+ *
* CloseEngine()
- *
+ *
* Purpose:
- *
+ *
* Function implemented by the RMA core to close the engine which
* was returned in CreateEngine().
*/
STDAPI CloseEngine
-(
- IRMAClientEngine* /*IN*/ pEngine
-);
+ (
+ IRMAClientEngine* /*IN*/ pEngine
+ );
#ifdef _MACINTOSH
#pragma export off
@@ -103,12 +103,12 @@ STDAPI CloseEngine
* Definitions of Function Pointers to CreateEngine() and Close Engine().
* These types are provided as a convenince to authors of top level clients.
*/
-typedef PN_RESULT(PNEXPORT_PTR FPRMCREATEENGINE)(IRMAClientEngine** ppEngine);
-typedef PN_RESULT(PNEXPORT_PTR FPRMCLOSEENGINE)(IRMAClientEngine* pEngine);
-typedef PN_RESULT(PNEXPORT_PTR FPRMSETDLLACCESSPATH)(const char*);
+typedef PN_RESULT (PNEXPORT_PTR FPRMCREATEENGINE)(IRMAClientEngine** ppEngine);
+typedef PN_RESULT (PNEXPORT_PTR FPRMCLOSEENGINE) (IRMAClientEngine* pEngine);
+typedef PN_RESULT (PNEXPORT_PTR FPRMSETDLLACCESSPATH) (const char*);
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAStream
@@ -123,8 +123,8 @@ typedef PN_RESULT(PNEXPORT_PTR FPRMSETDLLACCESSPATH)(const char*);
* {00000400-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAStream, 0x00000400, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAStream, 0x00000400, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAStream
@@ -134,13 +134,13 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAStream methods
@@ -154,18 +154,18 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
* a part of.
*
*/
- STDMETHOD(GetSource)(THIS_
- REF(IRMAStreamSource*) pSource) PURE;
+ STDMETHOD(GetSource) (THIS_
+ REF(IRMAStreamSource*) pSource) PURE;
/************************************************************************
* Method:
* IRMAStream::GetStreamNumber
* Purpose:
- * Get the stream number for this stream relative to the source
+ * Get the stream number for this stream relative to the source
* object of which the stream is a part of.
*
*/
- STDMETHOD_(UINT16, GetStreamNumber)(THIS) PURE;
+ STDMETHOD_(UINT16,GetStreamNumber) (THIS) PURE;
/************************************************************************
* Method:
@@ -176,7 +176,7 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
* was returned.
*
*/
- STDMETHOD_(const char*, GetStreamType)(THIS) PURE;
+ STDMETHOD_(const char*,GetStreamType) (THIS) PURE;
/************************************************************************
* Method:
@@ -185,18 +185,18 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
* Get the header for this stream.
*
*/
- STDMETHOD_(IRMAValues*, GetHeader)(THIS) PURE;
+ STDMETHOD_(IRMAValues*,GetHeader) (THIS) PURE;
/************************************************************************
* Method:
* IRMAStream::ReportQualityOfService
* Purpose:
- * Call this method to report to the playback context that the
+ * Call this method to report to the playback context that the
* quality of service for this stream has changed. The unQuality
* should be on a scale of 0 to 100, where 100 is the best possible
- * quality for this stream. Although the transport engine can
+ * quality for this stream. Although the transport engine can
* determine lost packets and report these through the user
- * interface, only the renderer of this stream can determine the
+ * interface, only the renderer of this stream can determine the
* "real" perceived damage associated with this loss.
*
* NOTE: The playback context may use this value to indicate loss
@@ -205,8 +205,8 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
* a unQuality of 100.
*
*/
- STDMETHOD(ReportQualityOfService)(THIS_
- UINT8 unQuality) PURE;
+ STDMETHOD(ReportQualityOfService) (THIS_
+ UINT8 unQuality) PURE;
/************************************************************************
* Method:
@@ -226,21 +226,21 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
* 5,5.
*
*/
- STDMETHOD(ReportRebufferStatus)(THIS_
- UINT8 unNeeded,
- UINT8 unAvailable) PURE;
+ STDMETHOD(ReportRebufferStatus) (THIS_
+ UINT8 unNeeded,
+ UINT8 unAvailable) PURE;
/************************************************************************
* Method:
* IRMAStream::SetGranularity
* Purpose:
- * Sets the desired Granularity for this stream. The actual
+ * Sets the desired Granularity for this stream. The actual
* granularity will be the lowest granularity of all streams.
* Valid to call before stream actually begins. Best to call during
* IRMARenderer::OnHeader().
*/
- STDMETHOD(SetGranularity)(THIS_
- ULONG32 ulGranularity) PURE;
+ STDMETHOD(SetGranularity) (THIS_
+ ULONG32 ulGranularity) PURE;
/************************************************************************
* Method:
@@ -257,14 +257,14 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
* Purpose:
* Returns the Nth renderer instance supported by this stream.
*/
- STDMETHOD(GetRenderer)(THIS_
- UINT16 nIndex,
- REF(IUnknown*) pUnknown) PURE;
+ STDMETHOD(GetRenderer) (THIS_
+ UINT16 nIndex,
+ REF(IUnknown*) pUnknown) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAStreamSource
@@ -279,8 +279,8 @@ DECLARE_INTERFACE_(IRMAStream, IUnknown)
* {00000401-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAStreamSource, 0x00000401, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAStreamSource, 0x00000401, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAStreamSource
@@ -290,13 +290,13 @@ DECLARE_INTERFACE_(IRMAStreamSource, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAStreamSource methods
@@ -309,7 +309,7 @@ DECLARE_INTERFACE_(IRMAStreamSource, IUnknown)
* Ask the source whether it is live
*
*/
- STDMETHOD_(BOOL, IsLive)(THIS) PURE;
+ STDMETHOD_ (BOOL,IsLive) (THIS) PURE;
/************************************************************************
* Method:
@@ -319,8 +319,8 @@ DECLARE_INTERFACE_(IRMAStreamSource, IUnknown)
* a part of.
*
*/
- STDMETHOD(GetPlayer)(THIS_
- REF(IRMAPlayer*) pPlayer) PURE;
+ STDMETHOD(GetPlayer) (THIS_
+ REF(IRMAPlayer*) pPlayer) PURE;
/************************************************************************
* Method:
@@ -331,7 +331,7 @@ DECLARE_INTERFACE_(IRMAStreamSource, IUnknown)
* it was returned.
*
*/
- STDMETHOD_(const char*, GetURL)(THIS) PURE;
+ STDMETHOD_(const char*,GetURL) (THIS) PURE;
/************************************************************************
* Method:
@@ -348,14 +348,14 @@ DECLARE_INTERFACE_(IRMAStreamSource, IUnknown)
* Purpose:
* Returns the Nth stream instance supported by this source.
*/
- STDMETHOD(GetStream)(THIS_
- UINT16 nIndex,
- REF(IUnknown*) pUnknown) PURE;
+ STDMETHOD(GetStream) (THIS_
+ UINT16 nIndex,
+ REF(IUnknown*) pUnknown) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPlayer
@@ -371,8 +371,8 @@ DECLARE_INTERFACE_(IRMAStreamSource, IUnknown)
* {00000402-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPlayer, 0x00000402, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayer, 0x00000402, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayer
@@ -382,13 +382,13 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPlayer methods
@@ -402,8 +402,8 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* player is a part of.
*
*/
- STDMETHOD(GetClientEngine)(THIS_
- REF(IRMAClientEngine*) pEngine) PURE;
+ STDMETHOD(GetClientEngine) (THIS_
+ REF(IRMAClientEngine*) pEngine) PURE;
/************************************************************************
* Method:
@@ -412,7 +412,7 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Ask the player if it is done with the current presentation
*
*/
- STDMETHOD_(BOOL, IsDone)(THIS) PURE;
+ STDMETHOD_(BOOL,IsDone) (THIS) PURE;
/************************************************************************
* Method:
@@ -421,7 +421,7 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Ask the player whether it contains the live source
*
*/
- STDMETHOD_(BOOL, IsLive)(THIS) PURE;
+ STDMETHOD_(BOOL,IsLive) (THIS) PURE;
/************************************************************************
* Method:
@@ -430,7 +430,7 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Get the current time on the Player timeline
*
*/
- STDMETHOD_(ULONG32, GetCurrentPlayTime)(THIS) PURE;
+ STDMETHOD_(ULONG32,GetCurrentPlayTime) (THIS) PURE;
/************************************************************************
* Method:
@@ -439,8 +439,8 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Tell the player to begin playback of all its sources.
*
*/
- STDMETHOD(OpenURL)(THIS_
- const char * pURL) PURE;
+ STDMETHOD(OpenURL) (THIS_
+ const char* pURL) PURE;
/************************************************************************
* Method:
@@ -449,7 +449,7 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Tell the player to begin playback of all its sources.
*
*/
- STDMETHOD(Begin)(THIS) PURE;
+ STDMETHOD(Begin) (THIS) PURE;
/************************************************************************
* Method:
@@ -458,7 +458,7 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Tell the player to stop playback of all its sources.
*
*/
- STDMETHOD(Stop)(THIS) PURE;
+ STDMETHOD(Stop) (THIS) PURE;
/************************************************************************
* Method:
@@ -467,18 +467,18 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Tell the player to pause playback of all its sources.
*
*/
- STDMETHOD(Pause)(THIS) PURE;
+ STDMETHOD(Pause) (THIS) PURE;
/************************************************************************
* Method:
* IRMAPlayer::Seek
* Purpose:
- * Tell the player to seek in the playback timeline of all its
+ * Tell the player to seek in the playback timeline of all its
* sources.
*
*/
- STDMETHOD(Seek)(THIS_
- ULONG32 ulTime) PURE;
+ STDMETHOD(Seek) (THIS_
+ ULONG32 ulTime) PURE;
/************************************************************************
* Method:
@@ -495,20 +495,20 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Purpose:
* Returns the Nth source instance supported by this player.
*/
- STDMETHOD(GetSource)(THIS_
- UINT16 nIndex,
- REF(IUnknown*) pUnknown) PURE;
+ STDMETHOD(GetSource) (THIS_
+ UINT16 nIndex,
+ REF(IUnknown*) pUnknown) PURE;
/************************************************************************
* Method:
* IRMAPlayer::SetClientContext
* Purpose:
* Called by the client to install itself as the provider of client
- * services to the core. This is traditionally called by the top
+ * services to the core. This is traditionally called by the top
* level client application.
*/
- STDMETHOD(SetClientContext)(THIS_
- IUnknown * pUnknown) PURE;
+ STDMETHOD(SetClientContext) (THIS_
+ IUnknown* pUnknown) PURE;
/************************************************************************
* Method:
@@ -517,8 +517,8 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Called to get the client context for this player. This is
* set by the top level client application.
*/
- STDMETHOD(GetClientContext)(THIS_
- REF(IUnknown*) pUnknown) PURE;
+ STDMETHOD(GetClientContext) (THIS_
+ REF(IUnknown*) pUnknown) PURE;
/************************************************************************
* Method:
@@ -527,8 +527,8 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Call this method to add a client advise sink.
*
*/
- STDMETHOD(AddAdviseSink)(THIS_
- IRMAClientAdviseSink * pAdviseSink) PURE;
+ STDMETHOD(AddAdviseSink) (THIS_
+ IRMAClientAdviseSink* pAdviseSink) PURE;
/************************************************************************
* Method:
@@ -536,13 +536,13 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
* Purpose:
* Call this method to remove a client advise sink.
*/
- STDMETHOD(RemoveAdviseSink)(THIS_
- IRMAClientAdviseSink * pAdviseSink) PURE;
+ STDMETHOD(RemoveAdviseSink) (THIS_
+ IRMAClientAdviseSink* pAdviseSink) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAClientEngine
@@ -556,8 +556,8 @@ DECLARE_INTERFACE_(IRMAPlayer, IUnknown)
*
* {00000403-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAClientEngine, 0x00000403, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAClientEngine, 0x00000403, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAClientEngine
@@ -567,13 +567,13 @@ DECLARE_INTERFACE_(IRMAClientEngine, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAClientEngine methods
@@ -586,8 +586,8 @@ DECLARE_INTERFACE_(IRMAClientEngine, IUnknown)
* Creates a new IRMAPlayer instance.
*
*/
- STDMETHOD(CreatePlayer)(THIS_
- REF(IRMAPlayer*) pPlayer) PURE;
+ STDMETHOD(CreatePlayer) (THIS_
+ REF(IRMAPlayer*) pPlayer) PURE;
/************************************************************************
* Method:
@@ -596,8 +596,8 @@ DECLARE_INTERFACE_(IRMAClientEngine, IUnknown)
* Called by the client when it is done using the player...
*
*/
- STDMETHOD(ClosePlayer)(THIS_
- IRMAPlayer * pPlayer) PURE;
+ STDMETHOD(ClosePlayer) (THIS_
+ IRMAPlayer* pPlayer) PURE;
/************************************************************************
* Method:
@@ -612,12 +612,12 @@ DECLARE_INTERFACE_(IRMAClientEngine, IUnknown)
* Method:
* IRMAClientEngine::GetPlayer
* Purpose:
- * Returns the Nth IRMAPlayer instances supported by this client
+ * Returns the Nth IRMAPlayer instances supported by this client
* engine instance.
*/
- STDMETHOD(GetPlayer)(THIS_
- UINT16 nPlayerNumber,
- REF(IUnknown*) pUnknown) PURE;
+ STDMETHOD(GetPlayer) (THIS_
+ UINT16 nPlayerNumber,
+ REF(IUnknown*) pUnknown) PURE;
/************************************************************************
* Method:
@@ -626,13 +626,13 @@ DECLARE_INTERFACE_(IRMAClientEngine, IUnknown)
* Clients call this to pass OS events to all players. PNxEvent
* defines a cross-platform event.
*/
- STDMETHOD(EventOccurred)(THIS_
- PNxEvent* /*IN*/ pEvent) PURE;
+ STDMETHOD(EventOccurred) (THIS_
+ PNxEvent* /*IN*/ pEvent) PURE;
};
#if defined _UNIX && !defined (_VXWORKS)
-DEFINE_GUID(IID_IRMAClientEngineSelector, 0x00000404, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAClientEngineSelector, 0x00000404, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAClientEngineSelector
@@ -642,13 +642,13 @@ DECLARE_INTERFACE_(IRMAClientEngineSelector, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
@@ -657,17 +657,17 @@ DECLARE_INTERFACE_(IRMAClientEngineSelector, IUnknown)
* Top level clients under Unix should use this instead of
* select() to select for events.
*/
- STDMETHOD_(INT32, Select)(THIS_
- INT32 n,
- fd_set * readfds,
- fd_set * writefds,
- fd_set * exceptfds,
- struct timeval * timeout) PURE;
+ STDMETHOD_(INT32, Select) (THIS_
+ INT32 n,
+ fd_set *readfds,
+ fd_set *writefds,
+ fd_set *exceptfds,
+ struct timeval* timeout) PURE;
};
#endif /* _UNIX */
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAClientEngineSetup
@@ -681,8 +681,8 @@ DECLARE_INTERFACE_(IRMAClientEngineSelector, IUnknown)
*
* {00000405-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAClientEngineSetup, 0x00000405, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAClientEngineSetup, 0x00000405, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAClientEngineSetup
@@ -692,13 +692,13 @@ DECLARE_INTERFACE_(IRMAClientEngineSetup, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAClientEngineSetup methods
@@ -708,17 +708,17 @@ DECLARE_INTERFACE_(IRMAClientEngineSetup, IUnknown)
* Method:
* IRMAClientEngineSetup::Setup
* Purpose:
- * Top level clients use this interface to over-ride certain basic
- * interfaces implemented by the core. Current over-ridable
+ * Top level clients use this interface to over-ride certain basic
+ * interfaces implemented by the core. Current over-ridable
* interfaces are: IRMAPreferences, IRMAHyperNavigate
*/
- STDMETHOD(Setup)(THIS_
- IUnknown * pContext) PURE;
+ STDMETHOD(Setup) (THIS_
+ IUnknown* pContext) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAInfoLogger
@@ -732,8 +732,8 @@ DECLARE_INTERFACE_(IRMAClientEngineSetup, IUnknown)
*
* {00000409-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAInfoLogger, 0x00000409, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAInfoLogger, 0x00000409, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAInfoLogger
@@ -743,13 +743,13 @@ DECLARE_INTERFACE_(IRMAInfoLogger, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAInfoLogger methods
@@ -759,18 +759,18 @@ DECLARE_INTERFACE_(IRMAInfoLogger, IUnknown)
* Method:
* IRMAInfoLogger::LogInformation
* Purpose:
- * Logs any user defined information in form of action and
+ * Logs any user defined information in form of action and
* associated data.
*/
- STDMETHOD(LogInformation)(THIS_
- const char* /*IN*/ pAction,
- const char* /*IN*/ pData) PURE;
+ STDMETHOD(LogInformation) (THIS_
+ const char* /*IN*/ pAction,
+ const char* /*IN*/ pData) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPlayer2
@@ -784,8 +784,8 @@ DECLARE_INTERFACE_(IRMAInfoLogger, IUnknown)
* {00000411-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPlayer2, 0x00000411, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayer2, 0x00000411, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayer2
@@ -795,13 +795,13 @@ DECLARE_INTERFACE_(IRMAPlayer2, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
@@ -809,8 +809,8 @@ DECLARE_INTERFACE_(IRMAPlayer2, IUnknown)
* Purpose:
* Call this method to set the minimum preroll of this clip
*/
- STDMETHOD(SetMinimumPreroll)(THIS_
- UINT32 ulMinPreroll) PURE;
+ STDMETHOD(SetMinimumPreroll) (THIS_
+ UINT32 ulMinPreroll) PURE;
/************************************************************************
* Method:
@@ -818,8 +818,8 @@ DECLARE_INTERFACE_(IRMAPlayer2, IUnknown)
* Purpose:
* Call this method to get the minimum preroll of this clip
*/
- STDMETHOD(GetMinimumPreroll)(THIS_
- REF(UINT32) ulMinPreroll) PURE;
+ STDMETHOD(GetMinimumPreroll) (THIS_
+ REF(UINT32) ulMinPreroll) PURE;
/************************************************************************
* Method:
@@ -827,8 +827,8 @@ DECLARE_INTERFACE_(IRMAPlayer2, IUnknown)
* Purpose:
* Call this method to open the IRMARequest
*/
- STDMETHOD(OpenRequest)(THIS_
- IRMARequest * pRequest) PURE;
+ STDMETHOD(OpenRequest) (THIS_
+ IRMARequest* pRequest) PURE;
/************************************************************************
* Method:
@@ -836,8 +836,8 @@ DECLARE_INTERFACE_(IRMAPlayer2, IUnknown)
* Purpose:
* Call this method to get the IRMARequest
*/
- STDMETHOD(GetRequest)(THIS_
- REF(IRMARequest*) pRequest) PURE;
+ STDMETHOD(GetRequest) (THIS_
+ REF(IRMARequest*) pRequest) PURE;
};
#endif /* _RMACORE_H_ */
diff --git a/include/realmedia/rmadb.h b/include/realmedia/rmadb.h
index 02312aa13..bc1c090a5 100644
--- a/include/realmedia/rmadb.h
+++ b/include/realmedia/rmadb.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmadb.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -39,7 +39,7 @@ typedef _INTERFACE IRMARedirectDBManagerResponse IRMARedirectDBManagerResponse;
typedef _INTERFACE IRMARegistrationLogger IRMARegistrationLogger;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMADatabaseManager
@@ -68,48 +68,48 @@ DECLARE_INTERFACE_(IRMADatabaseManager, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMADatabaseManager::GetInstanceFromID
* Purpose:
- *
- * Returns a database object configured as defined for the specifed
+ *
+ * Returns a database object configured as defined for the specifed
* DatabaseID in the server config file.
*
*/
STDMETHOD(GetInstanceFromID)
(
- THIS_
- IRMABuffer * pBufferID,
- REF(IUnknown*) pUnknownDatabase
+ THIS_
+ IRMABuffer* pBufferID,
+ REF(IUnknown*) pUnknownDatabase
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAuthenticationDBManager
*
* Purpose:
*
- * A database plugin will implement this when it desires to provide
+ * A database plugin will implement this when it desires to provide
* storage for authentication data.
*
* IRMAAuthenticationDBManager:
@@ -129,83 +129,83 @@ DECLARE_INTERFACE_(IRMAAuthenticationDBManager, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBManager::AddPrincipal
* Purpose:
- *
- * Adds the specified user to the database, if it is not already
+ *
+ * Adds the specified user to the database, if it is not already
* there.
*
*/
STDMETHOD(AddPrincipal)
(
- THIS_
- IRMAAuthenticationDBManagerResponse * pAuthenticationDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ IRMAAuthenticationDBManagerResponse* pAuthenticationDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBManager::RemovePrincipal
* Purpose:
- *
+ *
* Removes the specified user from the database, if it is there.
- *
+ *
*
*/
STDMETHOD(RemovePrincipal)
(
- THIS_
- IRMAAuthenticationDBManagerResponse * pAuthenticationDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ IRMAAuthenticationDBManagerResponse* pAuthenticationDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBManager::SetCredentials
* Purpose:
- *
+ *
* Replaces the credentials for the specified user.
* Usually the credentials are a password.
* It is not the databases job to protect this data
- * Authentication plugins will protect this data
+ * Authentication plugins will protect this data
* before storing it when neccesary.
*
*/
STDMETHOD(SetCredentials)
(
- THIS_
- IRMAAuthenticationDBManagerResponse * pAuthenticationDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID,
- IRMABuffer * pBufferCredentials
+ THIS_
+ IRMAAuthenticationDBManagerResponse* pAuthenticationDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID,
+ IRMABuffer* pBufferCredentials
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAuthenticationDBManagerResponse
*
* Purpose:
*
- * A database user will implement this when it desires to manage
+ * A database user will implement this when it desires to manage
* storage for authentication data.
* This interface receives the results of IRMAAuthenticationDBManager
* methods
@@ -227,79 +227,79 @@ DECLARE_INTERFACE_(IRMAAuthenticationDBManagerResponse, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBManagerResponse::AddPrincipalDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAuthenticationDBManager::AddPrincipal
*
*/
STDMETHOD(AddPrincipalDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBManagerResponse::RemovePrincipalDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAuthenticationDBManager::RemovePrincipal
*
*/
STDMETHOD(RemovePrincipalDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBManagerResponse::SetCredentialsDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAuthenticationDBManager::SetCredentials
*
*/
STDMETHOD(SetCredentialsDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAsyncEnumAuthenticationDB
*
* Purpose:
*
- * A database plugin will implement this when it desires to provide
+ * A database plugin will implement this when it desires to provide
* enumeration of authentication data.
*
* IRMAAsyncEnumAuthenticationDB:
@@ -319,90 +319,90 @@ DECLARE_INTERFACE_(IRMAAsyncEnumAuthenticationDB, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAAsyncEnumAuthenticationDB::Reset
* Purpose:
- *
- * Call this to reset this enumerator to the beginning of the
+ *
+ * Call this to reset this enumerator to the beginning of the
* collection.
*
*/
STDMETHOD(Reset)
(
- THIS_
- IRMAAsyncEnumAuthenticationDBResponse * pAsyncEnumAuthenticationDBResponseNew
+ THIS_
+ IRMAAsyncEnumAuthenticationDBResponse* pAsyncEnumAuthenticationDBResponseNew
) PURE;
/************************************************************************
* Method:
* IRMAAsyncEnumAuthenticationDB::Next
* Purpose:
- *
+ *
* Call this to retrieve the next item in the collection.
*
*/
STDMETHOD(Next)
(
- THIS_
- IRMAAsyncEnumAuthenticationDBResponse * pAsyncEnumAuthenticationDBResponseNew
+ THIS_
+ IRMAAsyncEnumAuthenticationDBResponse* pAsyncEnumAuthenticationDBResponseNew
) PURE;
/************************************************************************
* Method:
* IRMAAsyncEnumAuthenticationDB::Skip
* Purpose:
- *
- * Call this to skip the next n items in the collection and
+ *
+ * Call this to skip the next n items in the collection and
* retrieve the n+1 item.
*
*/
STDMETHOD(Skip)
(
- THIS_
- IRMAAsyncEnumAuthenticationDBResponse * pAsyncEnumAuthenticationDBResponseNew,
- UINT32 ulNumToSkip
+ THIS_
+ IRMAAsyncEnumAuthenticationDBResponse* pAsyncEnumAuthenticationDBResponseNew,
+ UINT32 ulNumToSkip
) PURE;
/************************************************************************
* Method:
* IRMAAsyncEnumAuthenticationDB::Clone
* Purpose:
- *
+ *
* Call this to make a new enumerator of this collection.
*
*/
STDMETHOD(Clone)
(
- THIS_
- REF(IRMAAsyncEnumAuthenticationDB*) pAsyncEnumAuthenticationDBNew
+ THIS_
+ REF(IRMAAsyncEnumAuthenticationDB*) pAsyncEnumAuthenticationDBNew
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAsyncEnumAuthenticationDBResponse
*
* Purpose:
*
- * A database user will implement this when it desires to
+ * A database user will implement this when it desires to
* enumerate authentication data.
* This interface receives the results of IRMAAsyncEnumAuthenticationDB
* methods
@@ -424,80 +424,80 @@ DECLARE_INTERFACE_(IRMAAsyncEnumAuthenticationDBResponse, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAAsyncEnumAuthenticationDBResponse::ResetDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAsyncEnumAuthenticationDB::Reset
*
*/
STDMETHOD(ResetDone)
(
- THIS_
- PN_RESULT ResultStatus
+ THIS_
+ PN_RESULT ResultStatus
) PURE;
/************************************************************************
* Method:
* IRMAAsyncEnumAuthenticationDBResponse::NextDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAsyncEnumAuthenticationDB::Next
* If successful the PrincipalID is valid.
*
*/
STDMETHOD(NextDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferNextPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferNextPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAAsyncEnumAuthenticationDBResponse::SkipDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAsyncEnumAuthenticationDB::Skip
* If successful the PrincipalID is valid.
*
*/
STDMETHOD(SkipDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferNextPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferNextPrincipalID
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAuthenticationDBAccess
*
* Purpose:
*
- * A database plugin will implement this when it desires to provide
+ * A database plugin will implement this when it desires to provide
* access to authentication data.
*
* IRMAAuthenticationDBAccess:
@@ -517,75 +517,75 @@ DECLARE_INTERFACE_(IRMAAuthenticationDBAccess, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBAccess::_NewEnum
* Purpose:
- *
+ *
* Call this to make a new enumerator of this collection.
*
*/
STDMETHOD(_NewEnum)
(
- THIS_
- REF(IRMAAsyncEnumAuthenticationDB*) pAsyncEnumAuthenticationDBNew
+ THIS_
+ REF(IRMAAsyncEnumAuthenticationDB*) pAsyncEnumAuthenticationDBNew
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBAccess::CheckExistence
* Purpose:
- *
+ *
* Call this to verify the existance of a principal.
*
*/
STDMETHOD(CheckExistence)
(
- THIS_
- IRMAAuthenticationDBAccessResponse * pAuthenticationDBAccessResponseNew,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ IRMAAuthenticationDBAccessResponse* pAuthenticationDBAccessResponseNew,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBAccess::GetCredentials
* Purpose:
- *
+ *
* Call this to access the credentials for the specified principal.
*
*/
STDMETHOD(GetCredentials)
(
- THIS_
- IRMAAuthenticationDBAccessResponse * pAuthenticationDBAccessResponseNew,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ IRMAAuthenticationDBAccessResponse* pAuthenticationDBAccessResponseNew,
+ IRMABuffer* pBufferPrincipalID
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAAuthenticationDBAccessResponse
*
* Purpose:
*
- * A database user will implement this when it desires to
+ * A database user will implement this when it desires to
* access authentication data.
* This interface receives the results of IRMAAuthenticationDBAccess
* methods
@@ -607,65 +607,65 @@ DECLARE_INTERFACE_(IRMAAuthenticationDBAccessResponse, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBAccessResponse::ExistenceCheckDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAuthenticationDBAccess::ExistenceCheck
*
*/
STDMETHOD(ExistenceCheckDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAAuthenticationDBAccessResponse::GetCredentialsDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAAuthenticationDBAccess::GetCredentials
* If successful the Credentials var is valid.
*
*/
STDMETHOD(GetCredentialsDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID,
- IRMABuffer * pBufferCredentials
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID,
+ IRMABuffer* pBufferCredentials
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAGUIDDBManager
*
* Purpose:
*
- * A database plugin will implement this when it desires to provide
+ * A database plugin will implement this when it desires to provide
* storage of player GUID data (for Player Authentication).
*
* IRMAGUIDDBManager:
@@ -685,62 +685,62 @@ DECLARE_INTERFACE_(IRMAGUIDDBManager, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAGUIDDBManager::SetGUIDForPrincipalID
* Purpose:
- *
+ *
* Call this to associate a player GUID with a user.
*
*/
STDMETHOD(SetGUIDForPrincipalID)
(
- THIS_
- IRMAGUIDDBManagerResponse * pGUIDDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID,
- IRMABuffer * pBufferGUID
+ THIS_
+ IRMAGUIDDBManagerResponse* pGUIDDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID,
+ IRMABuffer* pBufferGUID
) PURE;
/************************************************************************
* Method:
* IRMAGUIDDBManager::GetPrincipalIDFromGUID
* Purpose:
- *
+ *
* Call this to get the associated player GUID from a user.
*
*/
STDMETHOD(GetPrincipalIDFromGUID)
(
- THIS_
- IRMAGUIDDBManagerResponse * pGUIDDBManagerResponseNew,
- IRMABuffer * pBufferGUID
+ THIS_
+ IRMAGUIDDBManagerResponse* pGUIDDBManagerResponseNew,
+ IRMABuffer* pBufferGUID
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAGUIDDBManagerResponse
*
* Purpose:
*
- * A database user will implement this when it desires to
+ * A database user will implement this when it desires to
* manage player GUID data.
* This interface receives the results of IRMAGUIDDBManager
* methods
@@ -762,64 +762,64 @@ DECLARE_INTERFACE_(IRMAGUIDDBManagerResponse, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAGUIDDBManagerResponse::SetGUIDForPrincipalIDDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAGUIDDBManager::SetGUIDForPrincipalID
*
*/
STDMETHOD(SetGUIDForPrincipalIDDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAGUIDDBManagerResponse::GetPrincipalIDFromGUIDDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAGUIDDBManager::GetGUIDForPrincipalID
*
*/
STDMETHOD(GetPrincipalIDFromGUIDDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferGUID,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferGUID,
+ IRMABuffer* pBufferPrincipalID
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPPVDBManager
*
* Purpose:
*
- * A database plugin will implement this when it desires to provide
+ * A database plugin will implement this when it desires to provide
* storage of Pay-Per-View permission data.
*
* IRMAPPVDBManager:
@@ -839,115 +839,115 @@ DECLARE_INTERFACE_(IRMAPPVDBManager, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManager::GetPermissions
* Purpose:
- *
- * Call this to find the PPV permissions for the specified URL
+ *
+ * Call this to find the PPV permissions for the specified URL
* and user.
*
*/
STDMETHOD(GetPermissions)
(
- THIS_
- IRMAPPVDBManagerResponse * pPPVDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID,
- IRMABuffer * pBufferURL
+ THIS_
+ IRMAPPVDBManagerResponse* pPPVDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID,
+ IRMABuffer* pBufferURL
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManager::SetPermissions
* Purpose:
- *
- * Call this to set the PPV permissions for the specified URL
+ *
+ * Call this to set the PPV permissions for the specified URL
* and user.
*
*/
STDMETHOD(SetPermissions)
(
- THIS_
- IRMAPPVDBManagerResponse * pPPVDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID,
- IRMABuffer * pBufferURL,
- IRMAValues * pValuesPermissions
+ THIS_
+ IRMAPPVDBManagerResponse* pPPVDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID,
+ IRMABuffer* pBufferURL,
+ IRMAValues* pValuesPermissions
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManager::RevokePermissions
* Purpose:
- *
- * Call this to remove the PPV permissions for the specified URL
+ *
+ * Call this to remove the PPV permissions for the specified URL
* and user.
*
*/
STDMETHOD(RevokePermissions)
(
- THIS_
- IRMAPPVDBManagerResponse * pPPVDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID,
- IRMABuffer * pBufferURL
+ THIS_
+ IRMAPPVDBManagerResponse* pPPVDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID,
+ IRMABuffer* pBufferURL
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManager::RevokeAllPermissions
* Purpose:
- *
- * Call this to remove the PPV permissions for all URL's
+ *
+ * Call this to remove the PPV permissions for all URL's
* that this user has access too.
*
*/
STDMETHOD(RevokeAllPermissions)
(
- THIS_
- IRMAPPVDBManagerResponse * pPPVDBManagerResponseNew,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ IRMAPPVDBManagerResponse* pPPVDBManagerResponseNew,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManager::LogAccessAttempt
* Purpose:
- *
- * Call this to record the results of an attempt to access
+ *
+ * Call this to record the results of an attempt to access
* protected content.
*
*/
STDMETHOD(LogAccessAttempt)
(
- THIS_
- IRMAValues * pValuesAccess
+ THIS_
+ IRMAValues* pValuesAccess
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPPVDBManagerResponse
*
* Purpose:
*
- * A database user will implement this when it desires to
+ * A database user will implement this when it desires to
* manage Pay-Per-View permission data.
* This interface receives the results of IRMAPPVDBManager
* methods
@@ -969,97 +969,97 @@ DECLARE_INTERFACE_(IRMAPPVDBManagerResponse, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManagerResponse::GetPermissionsDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAPPVDBManager::GetPermissions
* If successful then the Permissions are valid
*
*/
STDMETHOD(GetPermissionsDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID,
- IRMAValues * pValuesPermissions
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID,
+ IRMAValues* pValuesPermissions
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManagerResponse::SetPermissionsDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAPPVDBManager::SetPermissions
*
*/
STDMETHOD(SetPermissionsDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManagerResponse::RevokePermissionsDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAPPVDBManager::RevokePermissions
*
*/
STDMETHOD(RevokePermissionsDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
/************************************************************************
* Method:
* IRMAPPVDBManagerResponse::RevokeAllPermissionsDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMAPPVDBManager::RevokeAllPermissions
*
*/
STDMETHOD(RevokeAllPermissionsDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferPrincipalID
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferPrincipalID
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMARedirectDBManager
*
* Purpose:
*
- * A database plugin will implement this when it desires to provide
+ * A database plugin will implement this when it desires to provide
* storage of URL's to redirect.
*
* IRMARedirectDBManager:
@@ -1079,80 +1079,80 @@ DECLARE_INTERFACE_(IRMARedirectDBManager, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMARedirectDBManager::GetRedirect
* Purpose:
- *
+ *
* Call this to retrieve the URL that the specified URL should
* be redirected to.
*
*/
STDMETHOD(GetRedirect)
(
- THIS_
- IRMARedirectDBManagerResponse * pRedirectDBManagerResponseNew,
- IRMABuffer * pBufferURL
+ THIS_
+ IRMARedirectDBManagerResponse* pRedirectDBManagerResponseNew,
+ IRMABuffer* pBufferURL
) PURE;
/************************************************************************
* Method:
* IRMARedirectDBManager::AddRedirect
* Purpose:
- *
+ *
* Call this to set the new URL that the specified URL should
* be redirected to.
*
*/
STDMETHOD(AddRedirect)
(
- THIS_
- IRMARedirectDBManagerResponse * pRedirectDBManagerResponseNew,
- IRMABuffer * pBufferURL,
- IRMABuffer * pBufferNewURL
+ THIS_
+ IRMARedirectDBManagerResponse* pRedirectDBManagerResponseNew,
+ IRMABuffer* pBufferURL,
+ IRMABuffer* pBufferNewURL
) PURE;
/************************************************************************
* Method:
* IRMARedirectDBManager::RemoveRedirect
* Purpose:
- *
+ *
* Call this to stop redirecting the specified URL.
*
*/
STDMETHOD(RemoveRedirect)
(
- THIS_
- IRMARedirectDBManagerResponse * pRedirectDBManagerResponseNew,
- IRMABuffer * pBufferURL
+ THIS_
+ IRMARedirectDBManagerResponse* pRedirectDBManagerResponseNew,
+ IRMABuffer* pBufferURL
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMARedirectDBManagerResponse
*
* Purpose:
*
- * A database user will implement this when it desires to
+ * A database user will implement this when it desires to
* manage the URL's to redirect.
* This interface receives the results of IRMARedirectDBManager
* methods
@@ -1174,82 +1174,82 @@ DECLARE_INTERFACE_(IRMARedirectDBManagerResponse, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMARedirectDBManagerResponse::GetRedirectDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMARedirectDBManager::GetRedirect
* If successful then the new URL is valid
*
*/
STDMETHOD(GetRedirectDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferURL,
- IRMABuffer * pBufferNewURL
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferURL,
+ IRMABuffer* pBufferNewURL
) PURE;
/************************************************************************
* Method:
* IRMARedirectDBManagerResponse::AddRedirectDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMARedirectDBManager::AddRedirect
*
*/
STDMETHOD(AddRedirectDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferURL
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferURL
) PURE;
/************************************************************************
* Method:
* IRMARedirectDBManagerResponse::RemoveRedirectDone
* Purpose:
- *
- * Reports the success or failure of
+ *
+ * Reports the success or failure of
* IRMARedirectDBManager::RemoveRedirect
*
*/
STDMETHOD(RemoveRedirectDone)
(
- THIS_
- PN_RESULT ResultStatus,
- IRMABuffer * pBufferURL
+ THIS_
+ PN_RESULT ResultStatus,
+ IRMABuffer* pBufferURL
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMARegistrationLogger
*
* Purpose:
*
- * A database plugin will implement this when it desires to provide
+ * A database plugin will implement this when it desires to provide
* storage of player registration attempts.
*
* IRMARegistrationLogger:
@@ -1269,34 +1269,34 @@ DECLARE_INTERFACE_(IRMARegistrationLogger, IUnknown)
*/
STDMETHOD(QueryInterface)
(
- THIS_
- REFIID IIDOfInterfaceDesired,
- void** ppVoidRequestedInterface
+ THIS_
+ REFIID IIDOfInterfaceDesired,
+ void** ppVoidRequestedInterface
) PURE;
- STDMETHOD_(ULONG, AddRef)
+ STDMETHOD_(ULONG,AddRef)
(
- THIS
+ THIS
) PURE;
- STDMETHOD_(ULONG, Release)
+ STDMETHOD_(ULONG,Release)
(
- THIS
+ THIS
) PURE;
/************************************************************************
* Method:
* IRMARegistrationLogger::LogRegistrationAttempt
* Purpose:
- *
+ *
* Call this to record the results of an attempt to register
* a player's GUID.
*
*/
STDMETHOD(LogRegistrationAttempt)
(
- THIS_
- IRMAValues * pValuesRegistration
+ THIS_
+ IRMAValues* pValuesRegistration
) PURE;
};
diff --git a/include/realmedia/rmadtcvt.h b/include/realmedia/rmadtcvt.h
index b293bd995..042436151 100644
--- a/include/realmedia/rmadtcvt.h
+++ b/include/realmedia/rmadtcvt.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmadtcvt.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-2000 RealNetworks, Inc. All rights reserved..
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -20,16 +20,16 @@
#define _RMADTCVT_H
typedef _INTERFACE IRMADataConvertSystemObject
-IRMADataConvertSystemObject;
+ IRMADataConvertSystemObject;
typedef _INTERFACE IRMADataConvert IRMADataConvert;
typedef _INTERFACE IRMADataConvertResponse IRMADataConvertResponse;
typedef _INTERFACE IRMADataRevert IRMADataRevert;
typedef _INTERFACE IRMADataRevertResponse IRMADataRevertResponse;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADataConvertSystemObject
*
* Purpose:
@@ -40,14 +40,14 @@ typedef _INTERFACE IRMADataRevertResponse IRMADataRevertResponse;
* Implemented by:
*
* Server side plugin.
- *
+ *
* IID_IMADataConvertSystemObject:
- *
+ *
* {00003900-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADataConvertSystemObject,
- 0x00003900, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003900, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMADataConvertSystemObject
@@ -57,18 +57,18 @@ DECLARE_INTERFACE_(IRMADataConvertSystemObject, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
-
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
/*
* IRMADataConvertSystemObject
*/
-
+
/***********************************************************************
* Method: GetDataConvertInfo
*
@@ -78,8 +78,8 @@ DECLARE_INTERFACE_(IRMADataConvertSystemObject, IUnknown)
* name in the form of "company-dcname". For example:
* pShortName = "rn-dataconvert"
*/
- STDMETHOD(GetDataConvertInfo)(THIS_ REF(const char*) pShortName) PURE;
-
+ STDMETHOD(GetDataConvertInfo) (THIS_ REF(const char*) pShortName) PURE;
+
/***********************************************************************
* Method: InitDataConvertSystem
*
@@ -87,8 +87,8 @@ DECLARE_INTERFACE_(IRMADataConvertSystemObject, IUnknown)
* Pass in options from config file from under DataConvertMount
* for this specific plugin.
*/
- STDMETHOD(InitDataConvertSystem)(THIS_ IRMAValues * pOptions) PURE;
-
+ STDMETHOD(InitDataConvertSystem) (THIS_ IRMAValues* pOptions) PURE;
+
/***********************************************************************
* Method: CreateDataConvert
*
@@ -97,14 +97,14 @@ DECLARE_INTERFACE_(IRMADataConvertSystemObject, IUnknown)
* System is requesting an IRMADataConvert object for this mount
* point.
*/
- STDMETHOD(CreateDataConvert)(THIS_ IUnknown** /*OUT*/ ppConvObj) PURE;
+ STDMETHOD(CreateDataConvert) (THIS_ IUnknown** /*OUT*/ ppConvObj) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADataConvert
*
* Purpose:
@@ -115,14 +115,14 @@ DECLARE_INTERFACE_(IRMADataConvertSystemObject, IUnknown)
* Implemented by:
*
* Server side plugin.
- *
+ *
* IID_IMADataConvert:
- *
+ *
* {00003901-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADataConvert,
- 0x00003901, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003901, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMADataConvert
@@ -132,18 +132,18 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMADataConvert
*/
-
+
/*
* NOTE: for each of ConvertFileHeader, ConvertStreamHeader,
* ConvertData, you can call the appropriate done method on
@@ -157,7 +157,7 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
*Purpose:
* Basic initialization, mainly just to pass in response object.
*/
- STDMETHOD(DataConvertInit)(THIS_ IRMADataConvertResponse * pResponse) PURE;
+ STDMETHOD(DataConvertInit) (THIS_ IRMADataConvertResponse* pResponse) PURE;
/************************************************************************
* Method: ConvertFileHeader
@@ -165,16 +165,16 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
* Purpose:
* Pass in file headers for data conversion.
*/
- STDMETHOD(ConvertFileHeader)(THIS_ IRMAValues * pFileHeader) PURE;
-
+ STDMETHOD(ConvertFileHeader) (THIS_ IRMAValues* pFileHeader) PURE;
+
/************************************************************************
* Method: ConvertStreamHeader
- *
+ *
* Purpose:
* Pass in stream headers for data conversion.
*/
- STDMETHOD(ConvertStreamHeader)(THIS_ IRMAValues * pStreamHeader) PURE;
-
+ STDMETHOD(ConvertStreamHeader) (THIS_ IRMAValues* pStreamHeader) PURE;
+
/************************************************************************
* Method: GetConversionMimeType
*
@@ -183,7 +183,7 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
* session.
*/
STDMETHOD(GetConversionMimeType)
- (THIS_ REF(const char*) pConversionType) PURE;
+ (THIS_ REF(const char*) pConversionType) PURE;
/************************************************************************
* Method: ConvertData
@@ -191,8 +191,8 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
* Purpose:
* Pass in data to be converted.
*/
- STDMETHOD(ConvertData)(THIS_ IRMAPacket * pPacket) PURE;
-
+ STDMETHOD(ConvertData) (THIS_ IRMAPacket* pPacket) PURE;
+
/************************************************************************
* Method: ControlBufferReady
*
@@ -200,8 +200,8 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
* Pass in a control channel buffer sent from the IRMADataRevert
* on the other side (player).
*/
- STDMETHOD(ControlBufferReady)(THIS_ IRMABuffer * pBuffer) PURE;
-
+ STDMETHOD(ControlBufferReady) (THIS_ IRMABuffer* pBuffer) PURE;
+
/************************************************************************
* Method: SetMulticastTransportConverter
*
@@ -211,23 +211,23 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
* converter which is doing the data. This will a different
* instance of the same object.
*/
- STDMETHOD(SetMulticastTransportConverter)(THIS_
- IRMADataConvert * pConverter) PURE;
-
-
+ STDMETHOD(SetMulticastTransportConverter) (THIS_
+ IRMADataConvert* pConverter) PURE;
+
+
/************************************************************************
* Method: AddMulticastControlConverter
*
* Purpose:
- * In this case the IRMADataConvert is only handling the data
+ * In this case the IRMADataConvert is only handling the data
* conversions for all of the players (but only once because it's
* multicast). This call is handing you one of a possible many
* IRMADataConvert objects which will be handling the header
* conversions.
*/
- STDMETHOD(AddMulticastControlConverter)(THIS_
- IRMADataConvert * pConverter) PURE;
-
+ STDMETHOD(AddMulticastControlConverter) (THIS_
+ IRMADataConvert* pConverter) PURE;
+
/************************************************************************
* Method: Done
*
@@ -235,14 +235,14 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
* Let IRMADataConvert know that it is done. This is mainly to clear
* circular refs between multicast transport and controllers.
*/
- STDMETHOD(Done)(THIS) PURE;
+ STDMETHOD(Done) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADataConvertResponse
*
* Purpose:
@@ -252,14 +252,14 @@ DECLARE_INTERFACE_(IRMADataConvert, IUnknown)
* Implemented by:
*
* Server Core.
- *
+ *
* IID_IMADataConvertResponse:
- *
+ *
* {00003902-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADataConvertResponse,
- 0x00003902, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003902, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMADataConvertResponse
@@ -269,13 +269,13 @@ DECLARE_INTERFACE_(IRMADataConvertResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMADataConvertResponse
@@ -295,8 +295,8 @@ DECLARE_INTERFACE_(IRMADataConvertResponse, IUnknown)
* Async notification that the IRMADataConvert is done with
* intialization.
*/
- STDMETHOD(DataConvertInitDone)(THIS_ PN_RESULT status) PURE;
-
+ STDMETHOD(DataConvertInitDone) (THIS_ PN_RESULT status) PURE;
+
/************************************************************************
* Method: ConvertedFileHeaderReady
*
@@ -304,9 +304,9 @@ DECLARE_INTERFACE_(IRMADataConvertResponse, IUnknown)
* Async notification that the IRMADataCovert is done converting the
* file header.
*/
- STDMETHOD(ConvertedFileHeaderReady)(THIS_
- PN_RESULT status, IRMAValues * pFileHeader) PURE;
-
+ STDMETHOD(ConvertedFileHeaderReady) (THIS_
+ PN_RESULT status, IRMAValues* pFileHeader) PURE;
+
/************************************************************************
* Method: ConvertedStreamHeaderReady
*
@@ -314,8 +314,8 @@ DECLARE_INTERFACE_(IRMADataConvertResponse, IUnknown)
* Async notification that the IRMADataConvert is done converting the
* stream header.
*/
- STDMETHOD(ConvertedStreamHeaderReady)(THIS_
- PN_RESULT status, IRMAValues * pStreamHeader) PURE;
+ STDMETHOD(ConvertedStreamHeaderReady) (THIS_
+ PN_RESULT status, IRMAValues* pStreamHeader) PURE;
/************************************************************************
* Method: ConvertedDataReady
@@ -324,8 +324,8 @@ DECLARE_INTERFACE_(IRMADataConvertResponse, IUnknown)
* Async notification that the IRMADataConvert is done converting
* the stream data packet.
*/
- STDMETHOD(ConvertedDataReady)(THIS_ PN_RESULT status,
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(ConvertedDataReady) (THIS_ PN_RESULT status,
+ IRMAPacket* pPacket) PURE;
/************************************************************************
* Method: SendControlBuffer
@@ -334,16 +334,16 @@ DECLARE_INTERFACE_(IRMADataConvertResponse, IUnknown)
* Provided to allow IRMADataConvert to send an arbitrary buffer
* to the IRMADataRevert on the other side (player).
*/
- STDMETHOD(SendControlBuffer)(THIS_ IRMABuffer * pBuffer) PURE;
+ STDMETHOD(SendControlBuffer) (THIS_ IRMABuffer* pBuffer) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADataRevert
- *
+ *
* Purpose:
*
* Revert data coming from coresponding IRMADataConvert on server.
@@ -353,12 +353,12 @@ DECLARE_INTERFACE_(IRMADataConvertResponse, IUnknown)
* Player side plugin.
*
* IID_IMADataRevert:
- *
+ *
* {00003903-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADataRevert,
- 0x00003903, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003903, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMADataRevert
@@ -368,13 +368,13 @@ DECLARE_INTERFACE_(IRMADataRevert, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMADataRevert
@@ -387,7 +387,7 @@ DECLARE_INTERFACE_(IRMADataRevert, IUnknown)
* Basic inialization of IRMADataRevert. Mainly just to pass in
* response object.
*/
- STDMETHOD(DataRevertInit)(THIS_ IRMADataRevertResponse * pResponse) PURE;
+ STDMETHOD(DataRevertInit) (THIS_ IRMADataRevertResponse* pResponse) PURE;
/************************************************************************
* Method: GetDataRevertInfo
@@ -396,9 +396,9 @@ DECLARE_INTERFACE_(IRMADataRevert, IUnknown)
* Allow IRMADataRevert to notify player core about which data
* conversion mime types it is willing to handle.
*/
- STDMETHOD(GetDataRevertInfo)(THIS_ REF(const char**)
- ppConversionMimeTypes) PURE;
-
+ STDMETHOD(GetDataRevertInfo) (THIS_ REF(const char**)
+ ppConversionMimeTypes) PURE;
+
/************************************************************************
* Method: RevertFileHeader
*
@@ -406,8 +406,8 @@ DECLARE_INTERFACE_(IRMADataRevert, IUnknown)
* Pass in converted FileHeader to allow IRMADataRevert to revert
* the header.
*/
- STDMETHOD(RevertFileHeader)(THIS_ IRMAValues * pFileHeader) PURE;
-
+ STDMETHOD(RevertFileHeader) (THIS_ IRMAValues* pFileHeader) PURE;
+
/************************************************************************
* Method: RevertStreamHeader
*
@@ -415,17 +415,17 @@ DECLARE_INTERFACE_(IRMADataRevert, IUnknown)
* Pass in converted StreamHeader to allow IRMADataRevert to revert
* the header.
*/
- STDMETHOD(RevertStreamHeader)(THIS_ IRMAValues * pStreamHeader) PURE;
-
+ STDMETHOD(RevertStreamHeader)(THIS_ IRMAValues* pStreamHeader) PURE;
+
/************************************************************************
* Method: RevertData
*
* Purpose:
- * Pass in converted stream data to allow IRMADataRevert to
+ * Pass in converted stream data to allow IRMADataRevert to
* revert the data.
*/
- STDMETHOD(RevertData)(THIS_ IRMAPacket * pPacket) PURE;
-
+ STDMETHOD(RevertData) (THIS_ IRMAPacket* pPacket) PURE;
+
/************************************************************************
* Method: ControlBufferReady
*
@@ -433,16 +433,16 @@ DECLARE_INTERFACE_(IRMADataRevert, IUnknown)
* Pass in control channel buffer received from corresponding
* IRMADataConvert on server side.
*/
- STDMETHOD(ControlBufferReady)(THIS_ IRMABuffer * pBuffer) PURE;
+ STDMETHOD(ControlBufferReady) (THIS_ IRMABuffer* pBuffer) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADataRevertResponse
- *
+ *
* Purpose:
*
* Response ojbect for IRMADataRevert.
@@ -452,12 +452,12 @@ DECLARE_INTERFACE_(IRMADataRevert, IUnknown)
* Player core.
*
* IID_IMADataRevertResponse:
- *
+ *
* {00003904-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADataRevertResponse,
- 0x00003904, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003904, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMADataRevertResponse
@@ -467,13 +467,13 @@ DECLARE_INTERFACE_(IRMADataRevertResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMADataRevertResponse
@@ -486,8 +486,8 @@ DECLARE_INTERFACE_(IRMADataRevertResponse, IUnknown)
* Async notification that the IRMADataRevert is done intializing
* and can begin processing headers.
*/
- STDMETHOD(DataRevertInitDone)(THIS_ PN_RESULT status) PURE;
-
+ STDMETHOD(DataRevertInitDone) (THIS_ PN_RESULT status) PURE;
+
/************************************************************************
* Method: RevertedFileHeaderReady
*
@@ -495,9 +495,9 @@ DECLARE_INTERFACE_(IRMADataRevertResponse, IUnknown)
* Async notification that the IRMADataRevert is done reverting the
* file headers.
*/
- STDMETHOD(RevertedFileHeaderReady)(THIS_
- PN_RESULT status, IRMAValues * pHeader) PURE;
-
+ STDMETHOD(RevertedFileHeaderReady) (THIS_
+ PN_RESULT status, IRMAValues* pHeader) PURE;
+
/************************************************************************
* Method: RevertedStreamHeaderReady
*
@@ -505,8 +505,8 @@ DECLARE_INTERFACE_(IRMADataRevertResponse, IUnknown)
* Async notification that the IRMADataRevert is done reverting the
* stream headers.
*/
- STDMETHOD(RevertedStreamHeaderReady)(THIS_
- PN_RESULT status, IRMAValues * pHeader) PURE;
+ STDMETHOD(RevertedStreamHeaderReady) (THIS_
+ PN_RESULT status, IRMAValues* pHeader) PURE;
/************************************************************************
* Method: RevertedDataReady
@@ -515,8 +515,8 @@ DECLARE_INTERFACE_(IRMADataRevertResponse, IUnknown)
* Async notification that the IRMADataRevert is done reverting the
* stream data.
*/
- STDMETHOD(RevertedDataReady)(THIS_ PN_RESULT status,
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(RevertedDataReady) (THIS_ PN_RESULT status,
+ IRMAPacket* pPacket) PURE;
/************************************************************************
* Method: SendControlBuffer
@@ -525,7 +525,7 @@ DECLARE_INTERFACE_(IRMADataRevertResponse, IUnknown)
* Provided to allow IRMADataRevert to send an arbitrary control
* buffer to the IRMADataConvert on the other side (server).
*/
- STDMETHOD(SendControlBuffer)(THIS_ IRMABuffer * pBuffer) PURE;
+ STDMETHOD(SendControlBuffer) (THIS_ IRMABuffer* pBuffer) PURE;
};
diff --git a/include/realmedia/rmaencod.h b/include/realmedia/rmaencod.h
index 5687991fb..f03c224c7 100644
--- a/include/realmedia/rmaencod.h
+++ b/include/realmedia/rmaencod.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaencod.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -48,43 +48,43 @@ DECLARE_INTERFACE_(IRMAEncoderResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAEncoderResponse methods
*/
- STDMETHOD(InitEncoderResponse)(THIS_
- const char * pHost,
- UINT16 unPort,
- IRMARequest * pRequest,
- const char * pUsername,
- const char * pPassword,
- IRMAEncoder * pEncoder) PURE;
+ STDMETHOD(InitEncoderResponse) (THIS_
+ const char* pHost,
+ UINT16 unPort,
+ IRMARequest* pRequest,
+ const char* pUsername,
+ const char* pPassword,
+ IRMAEncoder* pEncoder) PURE;
- STDMETHOD(FileHeaderReady)(THIS_
- PN_RESULT result,
- IRMAValues * pHeader) PURE;
+ STDMETHOD(FileHeaderReady) (THIS_
+ PN_RESULT result,
+ IRMAValues* pHeader) PURE;
- STDMETHOD(StreamHeaderReady)(THIS_
- PN_RESULT result,
- IRMAValues * pHeader) PURE;
+ STDMETHOD(StreamHeaderReady) (THIS_
+ PN_RESULT result,
+ IRMAValues* pHeader) PURE;
- STDMETHOD(PacketReady)(THIS_
- PN_RESULT result,
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(PacketReady) (THIS_
+ PN_RESULT result,
+ IRMAPacket* pPacket) PURE;
- STDMETHOD(StreamDone)(THIS_
- UINT16 unStream) PURE;
+ STDMETHOD(StreamDone) (THIS_
+ UINT16 unStream) PURE;
- STDMETHOD(Process)(THIS) PURE;
+ STDMETHOD(Process) (THIS) PURE;
- STDMETHOD_(UINT32, GetTime)(THIS) PURE;
+ STDMETHOD_(UINT32,GetTime) (THIS) PURE;
};
DEFINE_GUID(IID_IRMAEncoder, 0x00001601, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -97,30 +97,30 @@ DECLARE_INTERFACE_(IRMAEncoder, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAEncoder methods
*/
- STDMETHOD(InitEncoderResponseDone)(THIS_
- PN_RESULT result) PURE;
+ STDMETHOD(InitEncoderResponseDone) (THIS_
+ PN_RESULT result) PURE;
- STDMETHOD(GetFileHeader)(THIS) PURE;
+ STDMETHOD(GetFileHeader) (THIS) PURE;
- STDMETHOD(GetStreamHeader)(THIS_
- UINT16 unStream) PURE;
+ STDMETHOD(GetStreamHeader) (THIS_
+ UINT16 unStream) PURE;
- STDMETHOD(StartPackets)(THIS_
- UINT16 unStream) PURE;
+ STDMETHOD(StartPackets) (THIS_
+ UINT16 unStream) PURE;
- STDMETHOD(StopPackets)(THIS_
- UINT16 unStream) PURE;
+ STDMETHOD(StopPackets) (THIS_
+ UINT16 unStream) PURE;
};
DEFINE_GUID(IID_IRMAEncoderCompletion, 0x00001602, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -133,20 +133,20 @@ DECLARE_INTERFACE_(IRMAEncoderCompletion, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAEncoderCompletion methods
*/
- STDMETHOD(EncoderDone)(THIS_
- PN_RESULT result) PURE;
+ STDMETHOD(EncoderDone) (THIS_
+ PN_RESULT result) PURE;
};
DEFINE_GUID(IID_IRMAConnectionlessControl, 0x00001603, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -159,26 +159,26 @@ DECLARE_INTERFACE_(IRMAConnectionlessControl, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAConnectionlessControl methods
*/
STDMETHOD(EnableConnectionlessControl)
- (THIS) PURE;
+ (THIS) PURE;
- STDMETHOD(ConnectionCheckFailed)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(ConnectionCheckFailed) (THIS_
+ PN_RESULT status) PURE;
- STDMETHOD(SetConnectionTimeout)(THIS_
- UINT32 uSeconds) PURE;
+ STDMETHOD(SetConnectionTimeout) (THIS_
+ UINT32 uSeconds) PURE;
};
DEFINE_GUID(IID_IRMAEncoderResponseCompletion, 0x00001604, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -191,19 +191,19 @@ DECLARE_INTERFACE_(IRMAEncoderResponseCompletion, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAEncoderResponseCompletion methods
*/
- STDMETHOD(EncoderResponseDone)(THIS) PURE;
+ STDMETHOD(EncoderResponseDone) (THIS) PURE;
};
/*
@@ -222,19 +222,19 @@ DECLARE_INTERFACE_(IRMATransportControl, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMATransportControl methods
*/
- STDMETHOD(SetTransportType)(const char * pTransportType) PURE;
+ STDMETHOD(SetTransportType) (const char* pTransportType) PURE;
};
#endif /* _RMAENCOD_H_ */
diff --git a/include/realmedia/rmaengin.h b/include/realmedia/rmaengin.h
index ac3bf7e7a..abcf8a542 100644
--- a/include/realmedia/rmaengin.h
+++ b/include/realmedia/rmaengin.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaengin.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -66,23 +66,23 @@ typedef _INTERFACE IRMAOptimizedScheduler IRMAOptimizedScheduler;
#define PNAIO_EXCEPTION 4
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMACallback
- *
+ *
* Purpose:
- *
+ *
* This interface defines a simple callback which will be used in
* various interfaces such as IRMAScheduler.
- *
+ *
* IID_IRMACallback:
- *
+ *
* {00000100-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMACallback, 0x00000100, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMACallback, 0x00000100, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMACallback
@@ -92,13 +92,13 @@ DECLARE_INTERFACE_(IRMACallback, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMACallback methods
@@ -111,28 +111,28 @@ DECLARE_INTERFACE_(IRMACallback, IUnknown)
* This is the function that will be called when a callback is
* to be executed.
*/
- STDMETHOD(Func)(THIS) PURE;
+ STDMETHOD(Func) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAScheduler
- *
+ *
* Purpose:
- *
+ *
* This interface provides the user with a way of scheduling callbacks
* that will be executed at some time in the future.
- *
+ *
* IID_IRMAScheduler:
- *
+ *
* {00000101-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAScheduler, 0x00000101, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAScheduler, 0x00000101, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAScheduler
@@ -150,13 +150,13 @@ DECLARE_INTERFACE_(IRMAScheduler, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAScheduler methods
@@ -170,9 +170,9 @@ DECLARE_INTERFACE_(IRMAScheduler, IUnknown)
* This function is less percise then AbsoluteEnter and should only
* be used when accurate timing is not critical.
*/
- STDMETHOD_(CallbackHandle, RelativeEnter)(THIS_
- IRMACallback * pCallback,
- UINT32 ms) PURE;
+ STDMETHOD_(CallbackHandle,RelativeEnter) (THIS_
+ IRMACallback* pCallback,
+ UINT32 ms) PURE;
/************************************************************************
* Method:
@@ -180,9 +180,9 @@ DECLARE_INTERFACE_(IRMAScheduler, IUnknown)
* Purpose:
* Schedule a callback to be executed at time "tVal".
*/
- STDMETHOD_(CallbackHandle, AbsoluteEnter)(THIS_
- IRMACallback * pCallback,
- RMATimeval tVal) PURE;
+ STDMETHOD_(CallbackHandle,AbsoluteEnter) (THIS_
+ IRMACallback* pCallback,
+ RMATimeval tVal) PURE;
/************************************************************************
* Method:
@@ -190,8 +190,8 @@ DECLARE_INTERFACE_(IRMAScheduler, IUnknown)
* Purpose:
* Remove a callback from the scheduler.
*/
- STDMETHOD(Remove)(THIS_
- CallbackHandle Handle) PURE;
+ STDMETHOD(Remove) (THIS_
+ CallbackHandle Handle) PURE;
/************************************************************************
* Method:
@@ -199,28 +199,28 @@ DECLARE_INTERFACE_(IRMAScheduler, IUnknown)
* Purpose:
* Gives the current time (in the timeline of the scheduler).
*/
- STDMETHOD_(RMATimeval, GetCurrentSchedulerTime)(THIS) PURE;
+ STDMETHOD_(RMATimeval,GetCurrentSchedulerTime) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMATCPResponse
- *
+ *
* Purpose:
- *
- * This is the response interface for the asynchronous TCP networking
+ *
+ * This is the response interface for the asynchronous TCP networking
* interface.
- *
+ *
* IID_IRMATCPResponse:
- *
+ *
* {00000102-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMATCPResponse, 0x00000102, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMATCPResponse, 0x00000102, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMATCPResponse
@@ -230,13 +230,13 @@ DECLARE_INTERFACE_(IRMATCPResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMATCPResponse methods
@@ -248,8 +248,8 @@ DECLARE_INTERFACE_(IRMATCPResponse, IUnknown)
* Purpose:
* A Connect operation has been completed or an error has occurred.
*/
- STDMETHOD(ConnectDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(ConnectDone) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -258,9 +258,9 @@ DECLARE_INTERFACE_(IRMATCPResponse, IUnknown)
* A Read operation has been completed or an error has occurred.
* The data is returned in the IRMABuffer.
*/
- STDMETHOD(ReadDone)(THIS_
- PN_RESULT status,
- IRMABuffer * pBuffer) PURE;
+ STDMETHOD(ReadDone) (THIS_
+ PN_RESULT status,
+ IRMABuffer* pBuffer) PURE;
/************************************************************************
* Method:
@@ -269,8 +269,8 @@ DECLARE_INTERFACE_(IRMATCPResponse, IUnknown)
* This is the response method for WantWrite.
* If PN_RESULT is ok, then the TCP channel is ok to Write to.
*/
- STDMETHOD(WriteReady)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(WriteReady) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -279,28 +279,28 @@ DECLARE_INTERFACE_(IRMATCPResponse, IUnknown)
* This method is called to inform you that the TCP channel has
* been closed by the peer or closed due to error.
*/
- STDMETHOD(Closed)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(Closed) (THIS_
+ PN_RESULT status) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMATCPSocket
- *
+ *
* Purpose:
- *
+ *
* Provides the user with an asynchronous TCP networking interface.
- *
+ *
* IID_IRMATCPSocket:
- *
+ *
* {00000103-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMATCPSocket, 0x00000103, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMATCPSocket, 0x00000103, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMATCPSocket
@@ -310,43 +310,43 @@ DECLARE_INTERFACE_(IRMATCPSocket, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMATCPSocket methods
*
* Network addresses and ports are in native byte order
- *
+ *
*/
- STDMETHOD(Init)(THIS_
- IRMATCPResponse* /*IN*/ pTCPResponse) PURE;
+ STDMETHOD(Init) (THIS_
+ IRMATCPResponse* /*IN*/ pTCPResponse) PURE;
- STDMETHOD(SetResponse)(THIS_
- IRMATCPResponse * pTCPResponse) PURE;
+ STDMETHOD(SetResponse) (THIS_
+ IRMATCPResponse* pTCPResponse) PURE;
- STDMETHOD(Bind)(THIS_
- UINT32 ulLocalAddr,
- UINT16 nPort) PURE;
+ STDMETHOD(Bind) (THIS_
+ UINT32 ulLocalAddr,
+ UINT16 nPort) PURE;
/*
* pDestination is a string containing host name or dotted-ip notation
*/
- STDMETHOD(Connect)(THIS_
- const char * pDestination,
- UINT16 nPort) PURE;
+ STDMETHOD(Connect) (THIS_
+ const char* pDestination,
+ UINT16 nPort) PURE;
- STDMETHOD(Read)(THIS_
- UINT16 Size) PURE;
+ STDMETHOD(Read) (THIS_
+ UINT16 Size) PURE;
- STDMETHOD(Write)(THIS_
- IRMABuffer * pBuffer) PURE;
+ STDMETHOD(Write) (THIS_
+ IRMABuffer* pBuffer) PURE;
/************************************************************************
* Method:
@@ -356,10 +356,10 @@ DECLARE_INTERFACE_(IRMATCPSocket, IUnknown)
* data. If you are only writing small amounts of data, you can
* just call Write (all data not ready to be transmitted will be
* buffered on your behalf). When the TCP channel is ready to be
- * written to, the response interfaces WriteReady method will be
+ * written to, the response interfaces WriteReady method will be
* called.
*/
- STDMETHOD(WantWrite)(THIS) PURE;
+ STDMETHOD(WantWrite) (THIS) PURE;
/************************************************************************
* Method:
@@ -368,11 +368,11 @@ DECLARE_INTERFACE_(IRMATCPSocket, IUnknown)
* Returns the address of the other end of the TCP socket as a
* ULONG32 in local host order
*/
- STDMETHOD(GetForeignAddress)(THIS_
- REF(ULONG32) lAddress) PURE;
+ STDMETHOD(GetForeignAddress) (THIS_
+ REF(ULONG32) lAddress) PURE;
- STDMETHOD(GetLocalAddress)(THIS_
- REF(ULONG32) lAddress) PURE;
+ STDMETHOD(GetLocalAddress) (THIS_
+ REF(ULONG32) lAddress) PURE;
/************************************************************************
* Method:
@@ -381,32 +381,32 @@ DECLARE_INTERFACE_(IRMATCPSocket, IUnknown)
* Returns the port of the other end of the TCP socket in local
* host order.
*/
- STDMETHOD(GetForeignPort)(THIS_
- REF(UINT16) port) PURE;
+ STDMETHOD(GetForeignPort) (THIS_
+ REF(UINT16) port) PURE;
- STDMETHOD(GetLocalPort)(THIS_
- REF(UINT16) port) PURE;
+ STDMETHOD(GetLocalPort) (THIS_
+ REF(UINT16) port) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAListenResponse
- *
+ *
* Purpose:
- *
+ *
* This is the response interface for the asynchronous TCP listening
* socket interface.
- *
+ *
* IID_IRMAListenResponse:
- *
+ *
* {00000104-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAListenResponse, 0x00000104, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAListenResponse, 0x00000104, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAListenResponse
@@ -416,41 +416,41 @@ DECLARE_INTERFACE_(IRMAListenResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAListenResponse methods
*/
- STDMETHOD(NewConnection)(THIS_
- PN_RESULT status,
- IRMATCPSocket * pTCPSocket) PURE;
+ STDMETHOD(NewConnection) (THIS_
+ PN_RESULT status,
+ IRMATCPSocket* pTCPSocket) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAListenSocket
- *
+ *
* Purpose:
- *
+ *
* This interfaces allows you to asynchronously listen on a port for
* TCP connections.
- *
+ *
* IID_IRMAListenSocket:
- *
+ *
* {00000105-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAListenSocket, 0x00000105, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAListenSocket, 0x00000105, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAListenSocket
@@ -460,44 +460,44 @@ DECLARE_INTERFACE_(IRMAListenSocket, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAListenSocket methods
*/
- STDMETHOD(Init)(THIS_
- UINT32 ulLocalAddr,
- UINT16 port,
- IRMAListenResponse* /*IN*/ pListenResponse
- ) PURE;
+ STDMETHOD(Init) (THIS_
+ UINT32 ulLocalAddr,
+ UINT16 port,
+ IRMAListenResponse* /*IN*/ pListenResponse
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMANetworkServices
- *
+ *
* Purpose:
- *
+ *
* This is a factory interface for the various types of networking
* interfaces described above.
- *
+ *
* IID_IRMANetworkServices:
- *
+ *
* {00000106-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMANetworkServices, 0x00000106, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMANetworkServices, 0x00000106, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMANetworkServices
@@ -507,13 +507,13 @@ DECLARE_INTERFACE_(IRMANetworkServices, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMANetworkServices methods
@@ -525,8 +525,8 @@ DECLARE_INTERFACE_(IRMANetworkServices, IUnknown)
* Purpose:
* Create a new TCP socket.
*/
- STDMETHOD(CreateTCPSocket)(THIS_
- IRMATCPSocket** /*OUT*/ ppTCPSocket) PURE;
+ STDMETHOD(CreateTCPSocket) (THIS_
+ IRMATCPSocket** /*OUT*/ ppTCPSocket) PURE;
/************************************************************************
* Method:
@@ -534,8 +534,8 @@ DECLARE_INTERFACE_(IRMANetworkServices, IUnknown)
* Purpose:
* Create a new UDP socket.
*/
- STDMETHOD(CreateUDPSocket)(THIS_
- IRMAUDPSocket** /*OUT*/ ppUDPSocket) PURE;
+ STDMETHOD(CreateUDPSocket) (THIS_
+ IRMAUDPSocket** /*OUT*/ ppUDPSocket) PURE;
/************************************************************************
* Method:
@@ -544,9 +544,9 @@ DECLARE_INTERFACE_(IRMANetworkServices, IUnknown)
* Create a new TCP socket that will listen for connections on a
* particular port.
*/
- STDMETHOD(CreateListenSocket)(THIS_
- IRMAListenSocket** /*OUT*/ ppListenSocket
- ) PURE;
+ STDMETHOD(CreateListenSocket) (THIS_
+ IRMAListenSocket** /*OUT*/ ppListenSocket
+ ) PURE;
/************************************************************************
* Method:
@@ -554,26 +554,26 @@ DECLARE_INTERFACE_(IRMANetworkServices, IUnknown)
* Purpose:
* Create a new resolver that can lookup host names
*/
- STDMETHOD(CreateResolver)(THIS_
- IRMAResolver** /*OUT*/ ppResolver) PURE;
+ STDMETHOD(CreateResolver) (THIS_
+ IRMAResolver** /*OUT*/ ppResolver) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMANetworkServices2
- *
+ *
* Purpose:
- *
+ *
* This is a factory interface for the various types of networking
* interfaces described above.
- *
+ *
* IID_IRMANetworkServices:
- *
+ *
* {17951551-5683-11d3-B6BA-00C0F031C237}
- *
+ *
*/
// {17951551-5683-11d3-B6BA-00C0F031C237}
@@ -590,30 +590,30 @@ DECLARE_INTERFACE_(IRMANetworkServices2, IRMANetworkServices)
* Purpose:
* Create a new local bound TCP socket.
*/
- STDMETHOD(CreateLBoundTCPSocket)(THIS_
- IRMATCPSocket** /*OUT*/ ppTCPSocket) PURE;
+ STDMETHOD(CreateLBoundTCPSocket) (THIS_
+ IRMATCPSocket** /*OUT*/ ppTCPSocket) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAUDPResponse
- *
+ *
* Purpose:
- *
- * This is the response interface for the asynchronous UDP networking
+ *
+ * This is the response interface for the asynchronous UDP networking
* interface.
- *
+ *
* IID_IRMAUDPResponse:
- *
+ *
* {00000107-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAUDPResponse, 0x00000107, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAUDPResponse, 0x00000107, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAUDPResponse
@@ -623,43 +623,43 @@ DECLARE_INTERFACE_(IRMAUDPResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAUDPResponse methods
*/
- STDMETHOD(ReadDone)(THIS_
- PN_RESULT status,
- IRMABuffer * pBuffer,
- ULONG32 ulAddr,
- UINT16 nPort) PURE;
+ STDMETHOD(ReadDone) (THIS_
+ PN_RESULT status,
+ IRMABuffer* pBuffer,
+ ULONG32 ulAddr,
+ UINT16 nPort) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAUDPSocket
- *
+ *
* Purpose:
- *
+ *
* Provides the user with an asynchronous UDP networking interface.
- *
+ *
* IID_IRMAUDPSocket:
- *
+ *
* {00000108-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAUDPSocket, 0x00000108, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAUDPSocket, 0x00000108, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAUDPSocket
@@ -669,13 +669,13 @@ DECLARE_INTERFACE_(IRMAUDPSocket, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAUDPSocket methods
@@ -683,56 +683,56 @@ DECLARE_INTERFACE_(IRMAUDPSocket, IUnknown)
* Network addresses and ports are in native byte order
*/
- STDMETHOD(Init)(THIS_
- ULONG32 ulAddr,
- UINT16 nPort,
- IRMAUDPResponse * pUDPResponse) PURE;
-
- STDMETHOD(Bind)(THIS_
- UINT32 ulLocalAddr,
- UINT16 nPort) PURE;
+ STDMETHOD(Init) (THIS_
+ ULONG32 ulAddr,
+ UINT16 nPort,
+ IRMAUDPResponse* pUDPResponse) PURE;
- STDMETHOD(Read)(THIS_
- UINT16 Size) PURE;
+ STDMETHOD(Bind) (THIS_
+ UINT32 ulLocalAddr,
+ UINT16 nPort) PURE;
- STDMETHOD(Write)(THIS_
- IRMABuffer * pBuffer) PURE;
+ STDMETHOD(Read) (THIS_
+ UINT16 Size) PURE;
- STDMETHOD(WriteTo)(THIS_
- ULONG32 ulAddr,
- UINT16 nPort,
- IRMABuffer * pBuffer) PURE;
+ STDMETHOD(Write) (THIS_
+ IRMABuffer* pBuffer) PURE;
- STDMETHOD(GetLocalPort)(THIS_
- REF(UINT16) port) PURE;
+ STDMETHOD(WriteTo) (THIS_
+ ULONG32 ulAddr,
+ UINT16 nPort,
+ IRMABuffer* pBuffer) PURE;
- STDMETHOD(JoinMulticastGroup)(THIS_
- ULONG32 ulMulticastAddr,
- ULONG32 ulInterfaceAddr) PURE;
+ STDMETHOD(GetLocalPort) (THIS_
+ REF(UINT16) port) PURE;
- STDMETHOD(LeaveMulticastGroup)(THIS_
- ULONG32 ulMulticastAddr,
- ULONG32 ulInterfaceAddr) PURE;
+ STDMETHOD(JoinMulticastGroup) (THIS_
+ ULONG32 ulMulticastAddr,
+ ULONG32 ulInterfaceAddr) PURE;
+
+ STDMETHOD(LeaveMulticastGroup) (THIS_
+ ULONG32 ulMulticastAddr,
+ ULONG32 ulInterfaceAddr) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAResolver
- *
+ *
* Purpose:
- *
+ *
* This interface allows you to asynchronously resolve hostnames.
- *
+ *
* IID_IRMAResolver:
- *
+ *
* {00000109-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAResolver, 0x00000109, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAResolver, 0x00000109, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAResolver
@@ -742,44 +742,44 @@ DECLARE_INTERFACE_(IRMAResolver, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAResolver methods
*/
- STDMETHOD(Init)(THIS_
- IRMAResolverResponse * pResponse) PURE;
+ STDMETHOD(Init) (THIS_
+ IRMAResolverResponse* pResponse) PURE;
- STDMETHOD(GetHostByName)(THIS_
- const char * pHostName) PURE;
+ STDMETHOD(GetHostByName) (THIS_
+ const char* pHostName) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAResolverResponse
- *
+ *
* Purpose:
- *
+ *
* This is the response interface for the asynchronous DNS hostname
* resolver.
- *
+ *
* IID_IRMAResolverResponse:
- *
+ *
* {0000010A-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAResolverResponse, 0x0000010A, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAResolverResponse, 0x0000010A, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAResolverResponse
@@ -789,46 +789,46 @@ DECLARE_INTERFACE_(IRMAResolverResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAResolverResponse methods
*/
- STDMETHOD(GetHostByNameDone)(THIS_
- PN_RESULT status,
- ULONG32 ulAddr) PURE;
+ STDMETHOD(GetHostByNameDone) (THIS_
+ PN_RESULT status,
+ ULONG32 ulAddr) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAInterruptSafe
- *
+ *
* Purpose:
- *
- * This interface is used in Macintosh implementations of callback
- * functions, renderers, etc... to determine if interrupt time execution
+ *
+ * This interface is used in Macintosh implementations of callback
+ * functions, renderers, etc... to determine if interrupt time execution
* is supported. If this interface is not implemented then it is assumed
- * that interrupt time execution is NOT supported. There are restrictions
+ * that interrupt time execution is NOT supported. There are restrictions
* on what may be executed at interrupt time; please consult the Macintosh
* Deferred Task Manager tech notes from Apple.
- *
+ *
* IID_IRMAInterruptSafe:
- *
+ *
* {0000010B-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAInterruptSafe, 0x0000010B, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAInterruptSafe, 0x0000010B, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAInterruptSafe
@@ -838,13 +838,13 @@ DECLARE_INTERFACE_(IRMAInterruptSafe, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAInterruptSafe methods
@@ -857,31 +857,31 @@ DECLARE_INTERFACE_(IRMAInterruptSafe, IUnknown)
* This is the function that will be called to determine if
* interrupt time execution is supported.
*/
- STDMETHOD_(BOOL, IsInterruptSafe)(THIS) PURE;
+ STDMETHOD_(BOOL,IsInterruptSafe) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAAsyncIOSelection
- *
+ *
* Purpose:
- *
+ *
* This interface is implemented by the server/player context on Unix
* platforms. This interface allows your plugin to get callbacks based
* I/O events that are normally handled by select(). This interface
* allows you to setup callbacks which will be executed when a file
* descriptor is ready for reading, writing, or has an exception.
- *
+ *
* IID_IRMAAsyncIOSelection:
- *
+ *
* {0000010C-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAAsyncIOSelection, 0x0000010C, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAAsyncIOSelection
@@ -891,13 +891,13 @@ DECLARE_INTERFACE_(IRMAAsyncIOSelection, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAAsyncIOSelection methods
@@ -912,10 +912,10 @@ DECLARE_INTERFACE_(IRMAAsyncIOSelection, IUnknown)
* exception. This function is only available on Unix, and is
* intended to replace the functionality of select().
*/
- STDMETHOD(Add)(THIS_
- IRMACallback * pCallback,
- INT32 lFileDescriptor,
- UINT32 ulType) PURE;
+ STDMETHOD(Add) (THIS_
+ IRMACallback* pCallback,
+ INT32 lFileDescriptor,
+ UINT32 ulType) PURE;
/************************************************************************
* Method:
@@ -926,30 +926,30 @@ DECLARE_INTERFACE_(IRMAAsyncIOSelection, IUnknown)
* This function is only available on Unix, and is intended to
* replace the functionality of select().
*/
- STDMETHOD(Remove)(THIS_
- INT32 lFileDescriptor,
- UINT32 ulType) PURE;
+ STDMETHOD(Remove) (THIS_
+ INT32 lFileDescriptor,
+ UINT32 ulType) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAUDPMulticastInit
- *
+ *
* Purpose:
- *
+ *
* Provides the user with a way to set the TTL for outgoing multicast
* UDP packets. Usually shared with IRMAUDPSocket.
- *
+ *
* IID_IRMAUDPMulticastInit:
- *
+ *
* {0000010D-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAUDPMulticastInit, 0x0000010D, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAUDPMulticastInit, 0x0000010D, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAUDPMulticastInit
@@ -959,53 +959,53 @@ DECLARE_INTERFACE_(IRMAUDPMulticastInit, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAUDPMulticastInit methods
*
*/
- /************************************************************************
- * Method:
- * IRMAUDPMulticastInit::InitMulticast
- * Purpose:
- * This function will set the TTL (time to live) for the UDP socket
- * so it can be used as a multicast socket, sending packets across
- * the number of routers specified in the ulTTL parameter.
- */
+ /************************************************************************
+ * Method:
+ * IRMAUDPMulticastInit::InitMulticast
+ * Purpose:
+ * This function will set the TTL (time to live) for the UDP socket
+ * so it can be used as a multicast socket, sending packets across
+ * the number of routers specified in the ulTTL parameter.
+ */
- STDMETHOD(InitMulticast)(THIS_
- UINT8 chTTL) PURE;
+ STDMETHOD(InitMulticast) (THIS_
+ UINT8 chTTL) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAInterruptState
- *
+ *
* Purpose:
- *
+ *
* This interface is used in Macintosh implementations to inform the
* the client engine when entering & leaving an interupt task. It is
* also used to determine if it is currently at interrupt time.
* Please consult the Macintosh Deferred Task Manager tech notes from Apple
* for information on interrupt tasks.
- *
+ *
* IID_IRMAInterruptState:
- *
+ *
* {0000010E-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAInterruptState, 0x0000010E, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAInterruptState, 0x0000010E, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAInterruptState
@@ -1015,13 +1015,13 @@ DECLARE_INTERFACE_(IRMAInterruptState, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAInterruptState methods
@@ -1034,7 +1034,7 @@ DECLARE_INTERFACE_(IRMAInterruptState, IUnknown)
* This function is called to determine if we are currently at
* interrupt task time.
*/
- STDMETHOD_(BOOL, AtInterruptTime)(THIS) PURE;
+ STDMETHOD_(BOOL,AtInterruptTime) (THIS) PURE;
/************************************************************************
* Method:
@@ -1042,7 +1042,7 @@ DECLARE_INTERFACE_(IRMAInterruptState, IUnknown)
* Purpose:
* This function is called when starting a deferred/interrupt task
*/
- STDMETHOD(EnterInterruptState)(THIS) PURE;
+ STDMETHOD(EnterInterruptState) (THIS) PURE;
/************************************************************************
* Method:
@@ -1050,18 +1050,18 @@ DECLARE_INTERFACE_(IRMAInterruptState, IUnknown)
* Purpose:
* This function is called when leaving a deferred/interrupt task
*/
- STDMETHOD(LeaveInterruptState)(THIS) PURE;
+ STDMETHOD(LeaveInterruptState) (THIS) PURE;
/************************************************************************
* Method:
* IRMAInterruptState::EnableInterrupt
* Purpose:
- * This function can be called to enable/disable interrupt time
+ * This function can be called to enable/disable interrupt time
* processsing
*/
- STDMETHOD(EnableInterrupt)(THIS_
- BOOL bEnable) PURE;
-
+ STDMETHOD(EnableInterrupt) (THIS_
+ BOOL bEnable) PURE;
+
/************************************************************************
* Method:
* IRMAInterruptState::IsInterruptEnabled
@@ -1069,33 +1069,33 @@ DECLARE_INTERFACE_(IRMAInterruptState, IUnknown)
* This function can be called to find if the core is currently
* interrupt enabled.
*/
- STDMETHOD_(BOOL, IsInterruptEnabled)(THIS) PURE;
+ STDMETHOD_(BOOL, IsInterruptEnabled) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAOptimizedScheduler
- *
+ *
* Purpose:
- *
+ *
* This interface provides the user with a way of scheduling callbacks
* that will be executed at some time in the future.
*
- * This interface should ONLY be used if you need accurately timed
- * callbacks. These callbacks should be efficient and should not consume
- * much time/CPU. This is not a thread safe interface. The user has to
+ * This interface should ONLY be used if you need accurately timed
+ * callbacks. These callbacks should be efficient and should not consume
+ * much time/CPU. This is not a thread safe interface. The user has to
* take care of synchronization in their callbacks.
- *
+ *
* IID_IRMAOptimizedScheduler:
- *
+ *
* {0000010F-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAOptimizedScheduler, 0x0000010F, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAOptimizedScheduler, 0x0000010F, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAOptimizedScheduler
@@ -1105,13 +1105,13 @@ DECLARE_INTERFACE_(IRMAOptimizedScheduler, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAOptimizedScheduler methods
@@ -1125,9 +1125,9 @@ DECLARE_INTERFACE_(IRMAOptimizedScheduler, IUnknown)
* This function is less percise then AbsoluteEnter and should only
* be used when accurate timing is not critical.
*/
- STDMETHOD_(CallbackHandle, RelativeEnter)(THIS_
- IRMACallback * pCallback,
- UINT32 ms) PURE;
+ STDMETHOD_(CallbackHandle,RelativeEnter) (THIS_
+ IRMACallback* pCallback,
+ UINT32 ms) PURE;
/************************************************************************
* Method:
@@ -1135,9 +1135,9 @@ DECLARE_INTERFACE_(IRMAOptimizedScheduler, IUnknown)
* Purpose:
* Schedule a callback to be executed at time "tVal".
*/
- STDMETHOD_(CallbackHandle, AbsoluteEnter)(THIS_
- IRMACallback * pCallback,
- RMATimeval tVal) PURE;
+ STDMETHOD_(CallbackHandle,AbsoluteEnter) (THIS_
+ IRMACallback* pCallback,
+ RMATimeval tVal) PURE;
/************************************************************************
* Method:
@@ -1145,8 +1145,8 @@ DECLARE_INTERFACE_(IRMAOptimizedScheduler, IUnknown)
* Purpose:
* Remove a callback from the scheduler.
*/
- STDMETHOD(Remove)(THIS_
- CallbackHandle Handle) PURE;
+ STDMETHOD(Remove) (THIS_
+ CallbackHandle Handle) PURE;
/************************************************************************
* Method:
@@ -1154,32 +1154,32 @@ DECLARE_INTERFACE_(IRMAOptimizedScheduler, IUnknown)
* Purpose:
* Gives the current time (in the timeline of the scheduler).
*/
- STDMETHOD_(RMATimeval, GetCurrentSchedulerTime)(THIS) PURE;
+ STDMETHOD_(RMATimeval,GetCurrentSchedulerTime) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMALoadBalancedListen
- *
+ *
* Purpose:
- *
+ *
* This interface is queried off of IRMAListenSocket. It allows
* a plugin to specify that it wants the server to load balance
* multiple instances of itself. The server will instantiate multiple
* instances of the plugin as needed based on socket / descriptor limits.
* Each plugin instance should attempt to listen on the same port as
* other instances (they will share the port).
- *
+ *
* IID_IRMALoadBalancedListen:
- *
+ *
* {00000110-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMALoadBalancedListen, 0x00000110, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMALoadBalancedListen, 0x00000110, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMALoadBalancedListen
@@ -1189,13 +1189,13 @@ DECLARE_INTERFACE_(IRMALoadBalancedListen, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMALoadBalancedListen methods
@@ -1212,8 +1212,8 @@ DECLARE_INTERFACE_(IRMALoadBalancedListen, IUnknown)
* two completely different plugins to listen on the same port using
* the load balanced listener.
*/
- STDMETHOD(SetID)(THIS_
- REFIID ID) PURE;
+ STDMETHOD(SetID) (THIS_
+ REFIID ID) PURE;
/************************************************************************
* Method:
@@ -1223,35 +1223,35 @@ DECLARE_INTERFACE_(IRMALoadBalancedListen, IUnknown)
* than reserve limit descriptors / sockets are left then a new
* instance of the plugin will be created.
*/
- STDMETHOD(SetReserveLimit)(THIS_
- UINT32 ulDescriptors,
- UINT32 ulSockets) PURE;
+ STDMETHOD(SetReserveLimit) (THIS_
+ UINT32 ulDescriptors,
+ UINT32 ulSockets) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAOverrideDefaultServices
- *
+ *
* Purpose:
- *
+ *
* This interface is queried off of the context. It allows
* a plugin to override any default services provided by the G2 system.
- * Currently, it is supported only on the client side.
+ * Currently, it is supported only on the client side.
* You may currently override IRMANetworkServices using this interface
* You can use the same interface to later restore back the overriden services.
- * This is done by calling the same OverrideServices() function with the
+ * This is done by calling the same OverrideServices() function with the
* original service QIed before the initial override.
- *
+ *
* IID_IRMAOverrideDefaultServices:
- *
+ *
* {00000111-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAOverrideDefaultServices, 0x00000111, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAOverrideDefaultServices, 0x00000111, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAOverrideDefaultServices
@@ -1261,27 +1261,27 @@ DECLARE_INTERFACE_(IRMAOverrideDefaultServices, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
- /*
- * IRMAOverrideDefaultServices methods
- */
+ /*
+ * IRMAOverrideDefaultServices methods
+ */
- /************************************************************************
- * Method:
- * IRMAOverrideDefaultServices::OverrideServices
- * Purpose:
- * Override default services provided by the G2 system.
- *
- */
- STDMETHOD(OverrideServices)(THIS_
- IUnknown * pContext) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAOverrideDefaultServices::OverrideServices
+ * Purpose:
+ * Override default services provided by the G2 system.
+ *
+ */
+ STDMETHOD(OverrideServices) (THIS_
+ IUnknown* pContext) PURE;
};
enum PN_SOCKET_OPTION
@@ -1294,22 +1294,22 @@ enum PN_SOCKET_OPTION
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMASetSocketOption
- *
+ *
* Purpose:
- *
+ *
* Set sockt option
- *
+ *
* IID_IRMASetSocketOption:
- *
+ *
* IID_IRMASetSocketOption: {00000114-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMASetSocketOption,
- 0x00000114, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASetSocketOption,
+ 0x00000114, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASetSocketOption
@@ -1318,27 +1318,27 @@ DECLARE_INTERFACE_(IRMASetSocketOption, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAListenSocket methods
*/
- STDMETHOD(SetOption)(THIS_
- PN_SOCKET_OPTION option,
- UINT32 ulValue) PURE;
+ STDMETHOD(SetOption) (THIS_
+ PN_SOCKET_OPTION option,
+ UINT32 ulValue) PURE;
};
#define RMA_THREADSAFE_METHOD_FF_GETPACKET 0x00000001
/*
* FileFormat::GetPacket() only calls:
- * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
+ * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
* FS->Read(), FS->Close(), FS->Seek(),
* FFR->PacketReady(), FFR->StreamDone()
* Context->Scheduler->*,
@@ -1351,7 +1351,7 @@ DECLARE_INTERFACE_(IRMASetSocketOption, IUnknown)
#define RMA_THREADSAFE_METHOD_FS_READ 0x00000002
/*
* FileSystem::Read()/Seek()/Close() only calls:
- * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
+ * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
* FS->Read(), FS->Close(), FS->Seek(),
* Context->Scheduler->*,
* CCF->CI(Mutex), Mutex->*
@@ -1362,7 +1362,7 @@ DECLARE_INTERFACE_(IRMASetSocketOption, IUnknown)
#define RMA_THREADSAFE_METHOD_FSR_READDONE 0x00000004
/*
* FileFormat::ReadDone()/SeekDone()/CloseDone() only calls:
- * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
+ * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
* FS->Read(), FS->Close(), FS->Seek(),
* FFR->PacketReady(), FFR->StreamDone()
* Context->Scheduler->*,
@@ -1374,7 +1374,7 @@ DECLARE_INTERFACE_(IRMASetSocketOption, IUnknown)
#define RMA_THREADSAFE_METHOD_CACHE_FILE 0x00000008
/*
* FileSystem::Read()/Seek()/Close() only calls:
- * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
+ * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
* FS->Read(), FS->Close(), FS->Seek(),
* IRMACacheFile->*, IRMACacheFileResponse->*,
* Context->Scheduler->*,
@@ -1386,7 +1386,7 @@ DECLARE_INTERFACE_(IRMASetSocketOption, IUnknown)
#define RMA_THREADSAFE_METHOD_CACHE_FILE_RESPONSE 0x00000010
/*
* FileSystem::Read()/Seek()/Close() only calls:
- * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
+ * CCF->CI(Buffer), CCF->CI(Packet), CCF->CI(Values), *Alloc, *Free,
* FS->Read(), FS->Close(), FS->Seek(),
* IRMACacheFile->*, IRMACacheFileResponse->*,
* Context->Scheduler->*,
@@ -1397,22 +1397,22 @@ DECLARE_INTERFACE_(IRMASetSocketOption, IUnknown)
*/
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAThreadSafeMethods
- *
+ *
* Purpose:
- *
+ *
* XXXSMPNOW
- *
+ *
* IID_IRMAThreadSafeMethods:
- *
+ *
* {00000115-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAThreadSafeMethods, 0x00000115, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAThreadSafeMethods, 0x00000115, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAThreadSafeMethods
@@ -1422,13 +1422,13 @@ DECLARE_INTERFACE_(IRMAThreadSafeMethods, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAThreadSafeMethods methods
@@ -1440,27 +1440,27 @@ DECLARE_INTERFACE_(IRMAThreadSafeMethods, IUnknown)
* Purpose:
* XXXSMPNOW
*/
- STDMETHOD_(UINT32, IsThreadSafe)(THIS) PURE;
+ STDMETHOD_(UINT32,IsThreadSafe) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAMutex
- *
+ *
* Purpose:
- *
+ *
* XXXSMPNOW
- *
+ *
* IID_IRMAMutex:
- *
+ *
* {00000116-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAMutex, 0x00000116, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAMutex, 0x00000116, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAMutex
@@ -1476,24 +1476,24 @@ DECLARE_INTERFACE_(IRMAMutex, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAMutex methods
*/
- /* XXXSMPNOW Comments */
- STDMETHOD(Lock)(THIS) PURE;
+ /* XXXSMPNOW Comments */
+ STDMETHOD(Lock) (THIS) PURE;
- STDMETHOD(TryLock)(THIS) PURE;
+ STDMETHOD(TryLock) (THIS) PURE;
- STDMETHOD(Unlock)(THIS) PURE;
+ STDMETHOD(Unlock) (THIS) PURE;
};
diff --git a/include/realmedia/rmaerror.h b/include/realmedia/rmaerror.h
index 58b71195a..c923c5a33 100644
--- a/include/realmedia/rmaerror.h
+++ b/include/realmedia/rmaerror.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaerror.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -27,47 +27,46 @@ typedef _INTERFACE IRMAErrorSinkControl IRMAErrorSinkControl;
/* Message Severity values */
-enum
-{
- PNLOG_EMERG = 0, /* A panic condition. Server / Player will halt or
+enum {
+ PNLOG_EMERG = 0, /* A panic condition. Server / Player will halt or
restart. */
- PNLOG_ALERT = 1, /* A condition that should be corrected immediately.
+ PNLOG_ALERT = 1, /* A condition that should be corrected immediately.
Needs user intervention to prevent problems. */
- PNLOG_CRIT = 2, /* Critical conditions. */
+ PNLOG_CRIT = 2, /* Critical conditions. */
- PNLOG_ERR = 3, /* Errors. */
+ PNLOG_ERR = 3, /* Errors. */
- PNLOG_WARNING = 4, /* Warning messages. */
+ PNLOG_WARNING = 4, /* Warning messages. */
- PNLOG_NOTICE = 5, /* Conditions that are not error conditions, but
+ PNLOG_NOTICE = 5, /* Conditions that are not error conditions, but
should possibly be handled specially. */
- PNLOG_INFO = 6, /* Informational messages. */
+ PNLOG_INFO = 6, /* Informational messages. */
- PNLOG_DEBUG = 7 /* Messages that contain information normally of use
+ PNLOG_DEBUG = 7 /* Messages that contain information normally of use
only when debugging a program. */
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAErrorMessages
- *
+ *
* Purpose:
- *
+ *
* Error, event, and status message reporting interface
- *
+ *
* IID_IRMAErrorMessages:
- *
+ *
* {00000800-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAErrorMessages, 0x00000800, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAErrorMessages, 0x00000800, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAErrorMessages
@@ -77,13 +76,13 @@ DECLARE_INTERFACE_(IRMAErrorMessages, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAErrorMessages methods
@@ -98,11 +97,11 @@ DECLARE_INTERFACE_(IRMAErrorMessages, IUnknown)
*
* const UINT8 unSeverity
* Type of report. This value will impact how the player, tool, or
- * server will react to the report. Possible values are described
- * above. Depending on the error type, an error message with the
- * RMA code, anda string translation of that code will be displayed.
+ * server will react to the report. Possible values are described
+ * above. Depending on the error type, an error message with the
+ * RMA code, anda string translation of that code will be displayed.
* The error dialog includes a "more info" section that displays the
- * user code and string, and a link to the more info URL. In the
+ * user code and string, and a link to the more info URL. In the
* server these messages are logged to the log file.
*
* const ULONG32 ulRMACode
@@ -115,7 +114,7 @@ DECLARE_INTERFACE_(IRMAErrorMessages, IUnknown)
* be logged or displayed but not interpretted.
*
* const char* pUserString
- * User specific error string. This will NOT be translated or
+ * User specific error string. This will NOT be translated or
* modified. This can be any value the caller wants, it will
* be logged or displayed but not interpretted.
*
@@ -123,12 +122,12 @@ DECLARE_INTERFACE_(IRMAErrorMessages, IUnknown)
* User specific more info URL string.
*
*/
- STDMETHOD(Report)(THIS_
- const UINT8 unSeverity,
- PN_RESULT ulRMACode,
- const ULONG32 ulUserCode,
- const char * pUserString,
- const char * pMoreInfoURL) PURE;
+ STDMETHOD(Report) (THIS_
+ const UINT8 unSeverity,
+ PN_RESULT ulRMACode,
+ const ULONG32 ulUserCode,
+ const char* pUserString,
+ const char* pMoreInfoURL) PURE;
/************************************************************************
* Method:
@@ -140,28 +139,28 @@ DECLARE_INTERFACE_(IRMAErrorMessages, IUnknown)
* Return Value:
* IRMABuffer* containing error text.
*/
- STDMETHOD_(IRMABuffer*, GetErrorText)(THIS_
- PN_RESULT ulRMACode) PURE;
+ STDMETHOD_(IRMABuffer*, GetErrorText) (THIS_
+ PN_RESULT ulRMACode) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAErrorSink
- *
+ *
* Purpose:
- *
+ *
* Error Sink Interface
- *
+ *
* IID_IRMAErrorSink:
- *
+ *
* {00000801-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAErrorSink, 0x00000801, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAErrorSink, 0x00000801, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAErrorSink
@@ -171,13 +170,13 @@ DECLARE_INTERFACE_(IRMAErrorSink, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAErrorSink methods
@@ -194,33 +193,33 @@ DECLARE_INTERFACE_(IRMAErrorSink, IUnknown)
* The meaning of the arguments is exactly as described in
* rmaerror.h
*/
- STDMETHOD(ErrorOccurred)(THIS_
- const UINT8 unSeverity,
- const ULONG32 ulRMACode,
- const ULONG32 ulUserCode,
- const char * pUserString,
- const char * pMoreInfoURL
- ) PURE;
+ STDMETHOD(ErrorOccurred) (THIS_
+ const UINT8 unSeverity,
+ const ULONG32 ulRMACode,
+ const ULONG32 ulUserCode,
+ const char* pUserString,
+ const char* pMoreInfoURL
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAErrorSinkControl
- *
+ *
* Purpose:
- *
+ *
* Error Sink Control Interface
- *
+ *
* IID_IRMAErrorSinkControl:
- *
+ *
* {00000802-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAErrorSinkControl, 0x00000802, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAErrorSinkControl, 0x00000802, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAErrorSinkControl
@@ -231,13 +230,13 @@ DECLARE_INTERFACE_(IRMAErrorSinkControl, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAErrorSinkControl methods
@@ -258,10 +257,10 @@ DECLARE_INTERFACE_(IRMAErrorSinkControl, IUnknown)
*
* The default severity range is PNLOG_EMERG to PNLOG_INFO (0-6).
*/
- STDMETHOD(AddErrorSink)(THIS_
- IRMAErrorSink * pErrorSink,
- const UINT8 unLowSeverity,
- const UINT8 unHighSeverity) PURE;
+ STDMETHOD(AddErrorSink) (THIS_
+ IRMAErrorSink* pErrorSink,
+ const UINT8 unLowSeverity,
+ const UINT8 unHighSeverity) PURE;
/************************************************************************
* Method:
@@ -269,8 +268,8 @@ DECLARE_INTERFACE_(IRMAErrorSinkControl, IUnknown)
* Purpose:
* Call this method to remove an error sink.
*/
- STDMETHOD(RemoveErrorSink)(THIS_
- IRMAErrorSink * pErrorSink) PURE;
+ STDMETHOD(RemoveErrorSink) (THIS_
+ IRMAErrorSink* pErrorSink) PURE;
};
diff --git a/include/realmedia/rmaevent.h b/include/realmedia/rmaevent.h
index 0a17c80c6..6a0ee2fc3 100644
--- a/include/realmedia/rmaevent.h
+++ b/include/realmedia/rmaevent.h
@@ -1,9 +1,9 @@
/****************************************************************************
- *
+ *
* $Id: rmaevent.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* This program contains proprietary information of RealNetworks, Inc.,
* and is licensed subject to restrictions on use and distribution.
*
diff --git a/include/realmedia/rmafiles.h b/include/realmedia/rmafiles.h
index d2dc75e64..33e8b5a32 100644
--- a/include/realmedia/rmafiles.h
+++ b/include/realmedia/rmafiles.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmafiles.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved..
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -96,22 +96,22 @@ typedef _INTERFACE IRMAFileRemove IRMAFileRemove;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileObject
- *
+ *
* Purpose:
- *
+ *
* Object that exports file control API
- *
+ *
* IID_IRMAFileObject:
- *
+ *
* {00000200-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileObject, 0x00000200, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileObject, 0x00000200, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileObject
@@ -121,13 +121,13 @@ DECLARE_INTERFACE_(IRMAFileObject, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileObject methods
@@ -142,9 +142,9 @@ DECLARE_INTERFACE_(IRMAFileObject, IUnknown)
* for validity of the object (for example by opening it if it is
* a local file).
*/
- STDMETHOD(Init)(THIS_
- ULONG32 /*IN*/ ulFlags,
- IRMAFileResponse* /*IN*/ pFileResponse) PURE;
+ STDMETHOD(Init) (THIS_
+ ULONG32 /*IN*/ ulFlags,
+ IRMAFileResponse* /*IN*/ pFileResponse) PURE;
/************************************************************************
* Method:
@@ -158,8 +158,8 @@ DECLARE_INTERFACE_(IRMAFileObject, IUnknown)
* core (i.e. when you return control to the RMA core)
*
*/
- STDMETHOD(GetFilename)(THIS_
- REF(const char*) /*OUT*/ pFilename) PURE;
+ STDMETHOD(GetFilename) (THIS_
+ REF(const char*) /*OUT*/ pFilename) PURE;
/************************************************************************
* Method:
@@ -168,18 +168,18 @@ DECLARE_INTERFACE_(IRMAFileObject, IUnknown)
* Closes the file resource and releases all resources associated
* with the object.
*/
- STDMETHOD(Close)(THIS) PURE;
+ STDMETHOD(Close) (THIS) PURE;
/************************************************************************
* Method:
* IRMAFileObject::Read
* Purpose:
* Reads a buffer of data of the specified length from the file
- * and asynchronously returns it to the caller via the
+ * and asynchronously returns it to the caller via the
* IRMAFileResponse interface passed in to Init.
*/
- STDMETHOD(Read)(THIS_
- ULONG32 ulCount) PURE;
+ STDMETHOD(Read) (THIS_
+ ULONG32 ulCount) PURE;
/************************************************************************
* Method:
@@ -189,8 +189,8 @@ DECLARE_INTERFACE_(IRMAFileObject, IUnknown)
* the caller via the IRMAFileResponse interface passed in to Init,
* of the completeness of the operation.
*/
- STDMETHOD(Write)(THIS_
- IRMABuffer * pBuffer) PURE;
+ STDMETHOD(Write) (THIS_
+ IRMABuffer* pBuffer) PURE;
/************************************************************************
* Method:
@@ -202,9 +202,9 @@ DECLARE_INTERFACE_(IRMAFileObject, IUnknown)
* If the bRelative flag is TRUE, it is a relative seek; else
* an absolute seek.
*/
- STDMETHOD(Seek)(THIS_
- ULONG32 ulOffset,
- BOOL bRelative) PURE;
+ STDMETHOD(Seek) (THIS_
+ ULONG32 ulOffset,
+ BOOL bRelative) PURE;
/************************************************************************
* Method:
@@ -213,28 +213,28 @@ DECLARE_INTERFACE_(IRMAFileObject, IUnknown)
* To pass information to the File Object advising it about usage
* heuristics.
*/
- STDMETHOD(Advise)(THIS_
- ULONG32 ulInfo) PURE;
+ STDMETHOD(Advise) (THIS_
+ ULONG32 ulInfo) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileResponse
- *
+ *
* Purpose:
- *
+ *
* Object that exports file response API
- *
+ *
* IID_IRMAFileResponse:
- *
+ *
* {00000201-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileResponse, 0x00000201, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileResponse, 0x00000201, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileResponse
@@ -244,13 +244,13 @@ DECLARE_INTERFACE_(IRMAFileResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileResponse methods
@@ -262,12 +262,12 @@ DECLARE_INTERFACE_(IRMAFileResponse, IUnknown)
* Purpose:
* Notification interface provided by users of the IRMAFileObject
* interface. This method is called by the IRMAFileObject when the
- * initialization of the file is complete. If the file is not valid
- * for the file system, the status PNR_FAILED should be
+ * initialization of the file is complete. If the file is not valid
+ * for the file system, the status PNR_FAILED should be
* returned.
*/
- STDMETHOD(InitDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(InitDone) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -277,8 +277,8 @@ DECLARE_INTERFACE_(IRMAFileResponse, IUnknown)
* interface. This method is called by the IRMAFileObject when the
* close of the file is complete.
*/
- STDMETHOD(CloseDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(CloseDone) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -288,9 +288,9 @@ DECLARE_INTERFACE_(IRMAFileResponse, IUnknown)
* interface. This method is called by the IRMAFileObject when the
* last read from the file is complete and a buffer is available.
*/
- STDMETHOD(ReadDone)(THIS_
- PN_RESULT status,
- IRMABuffer * pBuffer) PURE;
+ STDMETHOD(ReadDone) (THIS_
+ PN_RESULT status,
+ IRMABuffer* pBuffer) PURE;
/************************************************************************
* Method:
@@ -300,8 +300,8 @@ DECLARE_INTERFACE_(IRMAFileResponse, IUnknown)
* interface. This method is called by the IRMAFileObject when the
* last write to the file is complete.
*/
- STDMETHOD(WriteDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(WriteDone) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -311,29 +311,29 @@ DECLARE_INTERFACE_(IRMAFileResponse, IUnknown)
* interface. This method is called by the IRMAFileObject when the
* last seek in the file is complete.
*/
- STDMETHOD(SeekDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(SeekDone) (THIS_
+ PN_RESULT status) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileSystemObject
- *
+ *
* Purpose:
- *
+ *
* Object that allows a Controller to communicate with a specific
* File System plug-in session
- *
+ *
* IID_IRMAFileSystemObject:
- *
+ *
* {00000202-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileSystemObject, 0x00000202, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileSystemObject, 0x00000202, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileSystemObject
@@ -343,13 +343,13 @@ DECLARE_INTERFACE_(IRMAFileSystemObject, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileSystemObject methods
@@ -365,43 +365,43 @@ DECLARE_INTERFACE_(IRMAFileSystemObject, IUnknown)
* pShortName should be a short, human readable name in the form
* of "company-fsname". For example: pShortName = "pn-local".
*/
- STDMETHOD(GetFileSystemInfo)(THIS_
- REF(const char*) /*OUT*/ pShortName,
- REF(const char*) /*OUT*/ pProtocol) PURE;
+ STDMETHOD(GetFileSystemInfo) (THIS_
+ REF(const char*) /*OUT*/ pShortName,
+ REF(const char*) /*OUT*/ pProtocol) PURE;
- STDMETHOD(InitFileSystem)(THIS_
- IRMAValues * pOptions) PURE;
+ STDMETHOD(InitFileSystem) (THIS_
+ IRMAValues* pOptions) PURE;
- STDMETHOD(CreateFile)(THIS_
- IUnknown** /*OUT*/ ppFileObject) PURE;
+ STDMETHOD(CreateFile) (THIS_
+ IUnknown** /*OUT*/ ppFileObject) PURE;
/*
* The following method is deprecated and should return PNR_NOTIMPL
*/
- STDMETHOD(CreateDir)(THIS_
- IUnknown** /*OUT*/ ppDirObject) PURE;
+ STDMETHOD(CreateDir) (THIS_
+ IUnknown** /*OUT*/ ppDirObject) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileStat
- *
+ *
* Purpose:
- *
+ *
* Gets information about a specific File object
- *
+ *
* IID_IRMAFileStat:
- *
+ *
* {00000205-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileStat, 0x00000205, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileStat, 0x00000205, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileStat
@@ -411,41 +411,41 @@ DECLARE_INTERFACE_(IRMAFileStat, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileStat methods
*/
- STDMETHOD(Stat)(THIS_
- IRMAFileStatResponse * pFileStatResponse
- ) PURE;
+ STDMETHOD(Stat) (THIS_
+ IRMAFileStatResponse* pFileStatResponse
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileStatResponse
- *
+ *
* Purpose:
- *
+ *
* Returns information about a specific File object
- *
+ *
* IID_IRMAFileStatResponse:
- *
+ *
* {00000206-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileStatResponse, 0x00000206, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileStatResponse, 0x00000206, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileStatResponse
@@ -455,45 +455,45 @@ DECLARE_INTERFACE_(IRMAFileStatResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileStat methods
*/
- STDMETHOD(StatDone)(THIS_
- PN_RESULT status,
- UINT32 ulSize,
- UINT32 ulCreationTime,
- UINT32 ulAccessTime,
- UINT32 ulModificationTime,
- UINT32 ulMode) PURE;
+ STDMETHOD(StatDone) (THIS_
+ PN_RESULT status,
+ UINT32 ulSize,
+ UINT32 ulCreationTime,
+ UINT32 ulAccessTime,
+ UINT32 ulModificationTime,
+ UINT32 ulMode) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileSystemManager
- *
+ *
* Purpose:
- *
+ *
* Gives out File Objects based on URLs
- *
+ *
* IID_IRMAFileSystemManager:
- *
+ *
* {00000207-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileSystemManager, 0x00000207, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileSystemManager, 0x00000207, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileSystemManager
@@ -505,29 +505,29 @@ DECLARE_INTERFACE_(IRMAFileSystemManager, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileSystemManager methods
*/
- STDMETHOD(Init)(THIS_
- IRMAFileSystemManagerResponse* /*IN*/ pFileManagerResponse
- ) PURE;
+ STDMETHOD(Init) (THIS_
+ IRMAFileSystemManagerResponse* /*IN*/ pFileManagerResponse
+ ) PURE;
/* GetFileObject attempts to locate an existing file via the DoesExist
* method in each file system's objects, and returns that object through
* FSManagerResponse->FileObjectReady
*/
- STDMETHOD(GetFileObject)(THIS_
- IRMARequest * pRequest,
- IRMAAuthenticator * pAuthenticator) PURE;
+ STDMETHOD(GetFileObject) (THIS_
+ IRMARequest* pRequest,
+ IRMAAuthenticator* pAuthenticator) PURE;
/* GetNewFileObject is similar to GetFileObject except that no DoesExist
* checks are done. The first file system that matches the mount point
@@ -535,40 +535,40 @@ DECLARE_INTERFACE_(IRMAFileSystemManager, IUnknown)
* which is then returned through FileObjectReady. This is especially
* useful for those who wish to open a brand new file for writing.
*/
- STDMETHOD(GetNewFileObject)(THIS_
- IRMARequest * pRequest,
- IRMAAuthenticator * pAuthenticator) PURE;
+ STDMETHOD(GetNewFileObject) (THIS_
+ IRMARequest* pRequest,
+ IRMAAuthenticator* pAuthenticator) PURE;
- STDMETHOD(GetRelativeFileObject)(THIS_
- IUnknown * pOriginalObject,
- const char * pPath) PURE;
+ STDMETHOD(GetRelativeFileObject) (THIS_
+ IUnknown* pOriginalObject,
+ const char* pPath) PURE;
/*
* The following method is deprecated and should return PNR_NOTIMPL
*/
- STDMETHOD(GetDirObjectFromURL)(THIS_
- const char * pURL) PURE;
+ STDMETHOD(GetDirObjectFromURL) (THIS_
+ const char* pURL) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileSystemManagerResponse
- *
+ *
* Purpose:
- *
+ *
* Gives out File System objects based on URLs
- *
+ *
* IID_IRMAFileSystemManagerResponse:
- *
+ *
* {00000208-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileSystemManagerResponse, 0x00000208, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileSystemManagerResponse, 0x00000208, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileSystemManagerResponse
@@ -578,13 +578,13 @@ DECLARE_INTERFACE_(IRMAFileSystemManagerResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileSystemManagerResponse methods
@@ -595,40 +595,40 @@ DECLARE_INTERFACE_(IRMAFileSystemManagerResponse, IUnknown)
* IRMAFileSystemManagerResponse::InitDone
* Purpose:
*/
- STDMETHOD(InitDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(InitDone) (THIS_
+ PN_RESULT status) PURE;
- STDMETHOD(FileObjectReady)(THIS_
- PN_RESULT status,
- IUnknown * pObject) PURE;
+ STDMETHOD(FileObjectReady) (THIS_
+ PN_RESULT status,
+ IUnknown* pObject) PURE;
/*
* The following method is deprecated and should return PNR_NOTIMPL
*/
- STDMETHOD(DirObjectReady)(THIS_
- PN_RESULT status,
- IUnknown * pDirObject) PURE;
+ STDMETHOD(DirObjectReady) (THIS_
+ PN_RESULT status,
+ IUnknown* pDirObject) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileExists
- *
+ *
* Purpose:
- *
+ *
* Checks for the existense of a file. Must be implemented.
- *
+ *
* IID_IRMAFileExists:
- *
+ *
* {00000209-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileExists, 0x00000209, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileExists, 0x00000209, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileExists
@@ -638,13 +638,13 @@ DECLARE_INTERFACE_(IRMAFileExists, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileExists methods
@@ -655,29 +655,29 @@ DECLARE_INTERFACE_(IRMAFileExists, IUnknown)
* IRMAFileExists::DoesExist
* Purpose:
*/
- STDMETHOD(DoesExist)(THIS_
- const char* /*IN*/ pPath,
- IRMAFileExistsResponse* /*IN*/ pFileResponse) PURE;
+ STDMETHOD(DoesExist) (THIS_
+ const char* /*IN*/ pPath,
+ IRMAFileExistsResponse* /*IN*/ pFileResponse) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileExistsResponse
- *
+ *
* Purpose:
- *
+ *
* Response interface for IRMAFileExists. Must be implemented.
- *
+ *
* IID_IRMAFileExistsResponse:
- *
+ *
* {0000020A-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileExistsResponse, 0x0000020a, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileExistsResponse, 0x0000020a, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileExists
@@ -687,41 +687,41 @@ DECLARE_INTERFACE_(IRMAFileExistsResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileExistsResponse methods
*/
- STDMETHOD(DoesExistDone)(THIS_
- BOOL bExist) PURE;
+ STDMETHOD(DoesExistDone) (THIS_
+ BOOL bExist) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileMimeMapper
- *
+ *
* Purpose:
- *
+ *
* Allows you to specify a mime type for a specific file.
* Optional interface.
- *
+ *
* IID_IRMAFileMimeMapper:
- *
+ *
* {0000020B-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileMimeMapper, 0x0000020b, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileMimeMapper, 0x0000020b, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileMimeMapper
@@ -731,13 +731,13 @@ DECLARE_INTERFACE_(IRMAFileMimeMapper, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileMimeMapper methods
@@ -748,31 +748,31 @@ DECLARE_INTERFACE_(IRMAFileMimeMapper, IUnknown)
* IRMAFileMimeMapper::FindMimeType
* Purpose:
*/
- STDMETHOD(FindMimeType)(THIS_
- const char* /*IN*/ pURL,
- IRMAFileMimeMapperResponse* /*IN*/ pMimeMapperResponse
- ) PURE;
+ STDMETHOD(FindMimeType) (THIS_
+ const char* /*IN*/ pURL,
+ IRMAFileMimeMapperResponse* /*IN*/ pMimeMapperResponse
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileMimeMapperResponse
- *
+ *
* Purpose:
- *
+ *
* Response interface for IRMAFileMimeMapper.
* Optional interface.
- *
+ *
* IID_IRMAFileMimeMapperResponse:
- *
+ *
* {0000020C-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileMimeMapperResponse, 0x0000020c, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileMimeMapperResponse, 0x0000020c, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileMimeMapperResponse
@@ -782,13 +782,13 @@ DECLARE_INTERFACE_(IRMAFileMimeMapperResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileMimeMapperResponse methods
@@ -806,32 +806,32 @@ DECLARE_INTERFACE_(IRMAFileMimeMapperResponse, IUnknown)
* with a mime type of NULL. If the file is valid but the mime type
* is unknown, then the status PNR_OK should be returned with
* a mime type of NULL.
- *
+ *
*/
- STDMETHOD(MimeTypeFound)(THIS_
- PN_RESULT status,
- const char * pMimeType) PURE;
+ STDMETHOD(MimeTypeFound) (THIS_
+ PN_RESULT status,
+ const char* pMimeType) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMABroadcastMapper
- *
+ *
* Purpose:
- *
+ *
* Associates a file with a broadcast format plugin.
* Implementation only required by broadcast plugin file systems.
- *
+ *
* IID_IRMABroadcastMapper:
- *
+ *
* {0000020D-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMABroadcastMapper, 0x0000020d, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMABroadcastMapper, 0x0000020d, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMABroadcastMapper
@@ -841,13 +841,13 @@ DECLARE_INTERFACE_(IRMABroadcastMapper, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMABroadcastMapper methods
@@ -858,30 +858,30 @@ DECLARE_INTERFACE_(IRMABroadcastMapper, IUnknown)
* IRMABroadcastMapper::FindBroadcastType
* Purpose:
*/
- STDMETHOD(FindBroadcastType)(THIS_
- const char* /*IN*/ pURL,
- IRMABroadcastMapperResponse* /*IN*/ pBroadcastMapperResponse) PURE;
+ STDMETHOD(FindBroadcastType) (THIS_
+ const char* /*IN*/ pURL,
+ IRMABroadcastMapperResponse* /*IN*/ pBroadcastMapperResponse) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMABroadcastMapperResponse
- *
+ *
* Purpose:
- *
+ *
* Response interface for IRMABroadcastMapper.
* Implementation only required by broadcast plugin file systems.
- *
+ *
* IID_IRMABroadcastMapperResponse:
- *
+ *
* {0000020E-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMABroadcastMapperResponse, 0x0000020e, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMABroadcastMapperResponse, 0x0000020e, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMABroadcastMapperResponse
@@ -891,13 +891,13 @@ DECLARE_INTERFACE_(IRMABroadcastMapperResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMABroadcastMapperResponse methods
@@ -913,31 +913,31 @@ DECLARE_INTERFACE_(IRMABroadcastMapperResponse, IUnknown)
* available for the request file. If the file is not valid for the
* file system, the status PNR_FAILED should be returned,
* with the broadcast type set to NULL.
- *
+ *
*/
- STDMETHOD(BroadcastTypeFound)(THIS_
- PN_RESULT status,
- const char * pBroadcastType) PURE;
+ STDMETHOD(BroadcastTypeFound) (THIS_
+ PN_RESULT status,
+ const char* pBroadcastType) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAGetFileFromSamePool
- *
+ *
* Purpose:
- *
+ *
* Gives out File Objects based on filenames and relative "paths"
- *
+ *
* IID_IRMAGetFileFromSamePool:
- *
+ *
* {0000020f-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAGetFileFromSamePool, 0x0000020f, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAGetFileFromSamePool, 0x0000020f, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAGetFileFromSamePool
@@ -948,13 +948,13 @@ DECLARE_INTERFACE_(IRMAGetFileFromSamePool, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
@@ -964,30 +964,30 @@ DECLARE_INTERFACE_(IRMAGetFileFromSamePool, IUnknown)
* Method:
* IRMAGetFileFromSamePool::GetFileObjectFromPool
* Purpose:
- * To get another FileObject from the same pool.
+ * To get another FileObject from the same pool.
*/
- STDMETHOD(GetFileObjectFromPool)(THIS_
- IRMAGetFileFromSamePoolResponse*) PURE;
+ STDMETHOD(GetFileObjectFromPool) (THIS_
+ IRMAGetFileFromSamePoolResponse*) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAGetFileFromSamePoolResponse
- *
+ *
* Purpose:
- *
+ *
* Gives out File Objects based on filenames and relative "paths"
- *
+ *
* IID_IRMAGetFileFromSamePoolResponse:
- *
+ *
* {00000210-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAGetFileFromSamePoolResponse, 0x00000210, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAGetFileFromSamePoolResponse, 0x00000210, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAGetFileFromSamePoolResponse
@@ -998,13 +998,13 @@ DECLARE_INTERFACE_(IRMAGetFileFromSamePoolResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAGetFileFromSamePoolResponse method
@@ -1013,31 +1013,31 @@ DECLARE_INTERFACE_(IRMAGetFileFromSamePoolResponse, IUnknown)
* Method:
* IRMAGetFileFromSamePoolResponse::FileObjectReady
* Purpose:
- * To return another FileObject from the same pool.
+ * To return another FileObject from the same pool.
*/
- STDMETHOD(FileObjectReady)(THIS_
- PN_RESULT status,
- IUnknown * ppUnknown) PURE;
+ STDMETHOD(FileObjectReady) (THIS_
+ PN_RESULT status,
+ IUnknown* ppUnknown) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileAuthenticator
- *
+ *
* Purpose:
- *
+ *
* Set and Get a file object's authenticator object.
- *
+ *
* IID_IRMAFileAuthenticator:
- *
+ *
* {00000211-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileAuthenticator, 0x00000211, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileAuthenticator, 0x00000211, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileAuthenticator
@@ -1048,42 +1048,42 @@ DECLARE_INTERFACE_(IRMAFileAuthenticator, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileAuthenticator methods
*/
- STDMETHOD(SetAuthenticator)(THIS_
- IRMAAuthenticator * pAuthenticator) PURE;
-
- STDMETHOD(GetAuthenticator)(THIS_
- REF(IRMAAuthenticator*) pAuthenticator) PURE;
+ STDMETHOD(SetAuthenticator) (THIS_
+ IRMAAuthenticator* pAuthenticator) PURE;
+
+ STDMETHOD(GetAuthenticator) (THIS_
+ REF(IRMAAuthenticator*) pAuthenticator) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMARequestHandler
- *
+ *
* Purpose:
- *
+ *
* Object to manage IRMARequest objects
- *
+ *
* IID_IRMARequestHandler:
- *
+ *
* {00000212-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMARequestHandler, 0x00000212, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARequestHandler, 0x00000212, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARequestHandler
@@ -1095,13 +1095,13 @@ DECLARE_INTERFACE_(IRMARequestHandler, IUnknown)
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
@@ -1109,8 +1109,8 @@ DECLARE_INTERFACE_(IRMARequestHandler, IUnknown)
* Purpose:
* Associates an IRMARequest with an object
*/
- STDMETHOD(SetRequest)(THIS_
- IRMARequest* /*IN*/ pRequest) PURE;
+ STDMETHOD(SetRequest) (THIS_
+ IRMARequest* /*IN*/ pRequest) PURE;
/************************************************************************
* Method:
@@ -1118,29 +1118,29 @@ DECLARE_INTERFACE_(IRMARequestHandler, IUnknown)
* Purpose:
* Gets the IRMARequest object associated with an object
*/
- STDMETHOD(GetRequest)(THIS_
- REF(IRMARequest*) /*OUT*/ pRequest) PURE;
+ STDMETHOD(GetRequest) (THIS_
+ REF(IRMARequest*) /*OUT*/ pRequest) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMARequestContext
- *
+ *
* Purpose:
- *
+ *
* Object to manage the context of the Request
- *
+ *
* IID_IRMARequestContext:
- *
+ *
* {00000217-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMARequestContext, 0x00000217, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARequestContext, 0x00000217, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARequestContext
@@ -1152,13 +1152,13 @@ DECLARE_INTERFACE_(IRMARequestContext, IUnknown)
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMARequestContext methods
@@ -1172,8 +1172,8 @@ DECLARE_INTERFACE_(IRMARequestContext, IUnknown)
*/
STDMETHOD(SetUserContext)
(
- THIS_
- IUnknown * pIUnknownNewContext
+ THIS_
+ IUnknown* pIUnknownNewContext
) PURE;
/************************************************************************
@@ -1184,8 +1184,8 @@ DECLARE_INTERFACE_(IRMARequestContext, IUnknown)
*/
STDMETHOD(GetUserContext)
(
- THIS_
- REF(IUnknown*) pIUnknownCurrentContext
+ THIS_
+ REF(IUnknown*) pIUnknownCurrentContext
) PURE;
/************************************************************************
@@ -1196,8 +1196,8 @@ DECLARE_INTERFACE_(IRMARequestContext, IUnknown)
*/
STDMETHOD(SetRequester)
(
- THIS_
- IUnknown * pIUnknownNewRequester
+ THIS_
+ IUnknown* pIUnknownNewRequester
) PURE;
/************************************************************************
@@ -1208,28 +1208,28 @@ DECLARE_INTERFACE_(IRMARequestContext, IUnknown)
*/
STDMETHOD(GetRequester)
(
- THIS_
- REF(IUnknown*) pIUnknownCurrentRequester
+ THIS_
+ REF(IUnknown*) pIUnknownCurrentRequester
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMARequest
- *
+ *
* Purpose:
- *
+ *
* Object to manage the RFC822 headers sent by the client
- *
+ *
* IID_IRMARequest:
- *
+ *
* {00000213-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMARequest, 0x00000213, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARequest, 0x00000213, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARequest
@@ -1241,13 +1241,13 @@ DECLARE_INTERFACE_(IRMARequest, IUnknown)
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMARequest methods
@@ -1260,9 +1260,9 @@ DECLARE_INTERFACE_(IRMARequest, IUnknown)
* Sets the headers that will be sent in the RFC822 header section
* of the request message
*/
- STDMETHOD(SetRequestHeaders)(THIS_
- IRMAValues * pRequestHeaders) PURE;
-
+ STDMETHOD(SetRequestHeaders) (THIS_
+ IRMAValues* pRequestHeaders) PURE;
+
/************************************************************************
* Method:
* IRMARequest::GetRequestHeaders
@@ -1270,8 +1270,8 @@ DECLARE_INTERFACE_(IRMARequest, IUnknown)
* Gets the headers that were sent in the RFC822 header section
* of the request message
*/
- STDMETHOD(GetRequestHeaders)(THIS_
- REF(IRMAValues*) pRequestHeaders) PURE;
+ STDMETHOD(GetRequestHeaders) (THIS_
+ REF(IRMAValues*) pRequestHeaders) PURE;
/************************************************************************
* Method:
@@ -1280,9 +1280,9 @@ DECLARE_INTERFACE_(IRMARequest, IUnknown)
* Sets the headers that will be returned in the RFC822 header
* section of the response message
*/
- STDMETHOD(SetResponseHeaders)(THIS_
- IRMAValues * pResponseHeaders) PURE;
-
+ STDMETHOD(SetResponseHeaders) (THIS_
+ IRMAValues* pResponseHeaders) PURE;
+
/************************************************************************
* Method:
* IRMARequest::GetResponseHeaders
@@ -1290,8 +1290,8 @@ DECLARE_INTERFACE_(IRMARequest, IUnknown)
* Gets the headers that were returned in the RFC822 header section
* of the response message
*/
- STDMETHOD(GetResponseHeaders)(THIS_
- REF(IRMAValues*) pResponseHeaders) PURE;
+ STDMETHOD(GetResponseHeaders) (THIS_
+ REF(IRMAValues*) pResponseHeaders) PURE;
/************************************************************************
* Method:
@@ -1301,8 +1301,8 @@ DECLARE_INTERFACE_(IRMARequest, IUnknown)
* Note: On the server, this path does not include the file system
* mount point.
*/
- STDMETHOD(SetURL)(THIS_
- const char * pURL) PURE;
+ STDMETHOD(SetURL) (THIS_
+ const char* pURL) PURE;
/************************************************************************
* Method:
@@ -1316,28 +1316,28 @@ DECLARE_INTERFACE_(IRMARequest, IUnknown)
* caller returns from a function which was called from the RMA
* core (i.e. when you return control to the RMA core)
*/
- STDMETHOD(GetURL)(THIS_
- REF(const char*) pURL) PURE;
+ STDMETHOD(GetURL) (THIS_
+ REF(const char*) pURL) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileRename
- *
+ *
* Purpose:
- *
+ *
* Interface to allow renaming of files. Query off of the File Object.
* Not all filesystem plugins implement this feature.
- *
+ *
* IID_IRMAFileRename:
- *
+ *
* {00000214-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileRename, 0x00000214, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileRename, 0x00000214, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileRename
@@ -1347,13 +1347,13 @@ DECLARE_INTERFACE_(IRMAFileRename, IUnknown)
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileRename methods
@@ -1365,24 +1365,24 @@ DECLARE_INTERFACE_(IRMAFileRename, IUnknown)
* Purpose:
* Renames a file to a new name.
*/
- STDMETHOD(Rename)(THIS_
- const char * pNewFileName) PURE;
+ STDMETHOD(Rename) (THIS_
+ const char* pNewFileName) PURE;
};
-
+
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADirHandler
- *
+ *
* Purpose:
- *
+ *
* Object that exports directory handler API
- *
+ *
* IID_IRMADirHandler:
- *
+ *
* {00000215-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADirHandler, 0x00000215, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -1394,13 +1394,13 @@ DECLARE_INTERFACE_(IRMADirHandler, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMADirHandler methods
@@ -1413,8 +1413,8 @@ DECLARE_INTERFACE_(IRMADirHandler, IUnknown)
* Associates a directory handler with the directory handler
* response, it should notify of operation completness.
*/
- STDMETHOD(InitDirHandler)(THIS_
- IRMADirHandlerResponse* /*IN*/ pDirResponse) PURE;
+ STDMETHOD(InitDirHandler) (THIS_
+ IRMADirHandlerResponse* /*IN*/ pDirResponse) PURE;
/************************************************************************
* Method:
@@ -1423,7 +1423,7 @@ DECLARE_INTERFACE_(IRMADirHandler, IUnknown)
* Closes the directory handler resource and releases all resources
* associated with the object.
*/
- STDMETHOD(CloseDirHandler)(THIS) PURE;
+ STDMETHOD(CloseDirHandler) (THIS) PURE;
/************************************************************************
* Method:
@@ -1431,7 +1431,7 @@ DECLARE_INTERFACE_(IRMADirHandler, IUnknown)
* Purpose:
* Create the directory
*/
- STDMETHOD(MakeDir)(THIS) PURE;
+ STDMETHOD(MakeDir) (THIS) PURE;
/************************************************************************
* Method:
@@ -1439,24 +1439,24 @@ DECLARE_INTERFACE_(IRMADirHandler, IUnknown)
* Purpose:
* Get a dump of the directory
*/
- STDMETHOD(ReadDir)(THIS) PURE;
+ STDMETHOD(ReadDir) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMADirHandlerResponse
- *
+ *
* Purpose:
- *
+ *
* Object that exports the directory handler response API
- *
+ *
* IID_IRMADirHandlerResponse:
- *
+ *
* {00000216-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMADirHandlerResponse, 0x00000216, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -1468,13 +1468,13 @@ DECLARE_INTERFACE_(IRMADirHandlerResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMADirHandlerResponse methods
@@ -1488,8 +1488,8 @@ DECLARE_INTERFACE_(IRMADirHandlerResponse, IUnknown)
* interface. This method is called by the IRMADirHandler when the
* initialization of the object is complete.
*/
- STDMETHOD(InitDirHandlerDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(InitDirHandlerDone) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -1499,8 +1499,8 @@ DECLARE_INTERFACE_(IRMADirHandlerResponse, IUnknown)
* interface. This method is called by the IRMADirHandler when the
* close of the directory is complete.
*/
- STDMETHOD(CloseDirHandlerDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(CloseDirHandlerDone) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -1510,8 +1510,8 @@ DECLARE_INTERFACE_(IRMADirHandlerResponse, IUnknown)
* interface. This method is called by the IRMADirHandler when the
* attempt to create the directory is complete.
*/
- STDMETHOD(MakeDirDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(MakeDirDone) (THIS_
+ PN_RESULT status) PURE;
/************************************************************************
* Method:
@@ -1521,31 +1521,31 @@ DECLARE_INTERFACE_(IRMADirHandlerResponse, IUnknown)
* interface. This method is called by the IRMADirHandler when the
* read from the directory is complete and a buffer is available.
*/
- STDMETHOD(ReadDirDone)(THIS_
- PN_RESULT status,
- IRMABuffer * pBuffer) PURE;
+ STDMETHOD(ReadDirDone) (THIS_
+ PN_RESULT status,
+ IRMABuffer* pBuffer) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileRemove
- *
+ *
* Purpose:
- *
+ *
* Interface to allow removing of files. Query off of the File Object.
* Not all filesystem plugins implement this feature.
- *
+ *
* IID_IRMAFileRemove:
- *
+ *
* {0000021A-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileRemove, 0x0000021A, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileRemove, 0x0000021A, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileRemove
@@ -1555,13 +1555,13 @@ DECLARE_INTERFACE_(IRMAFileRemove, IUnknown)
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileRemove methods
@@ -1573,7 +1573,7 @@ DECLARE_INTERFACE_(IRMAFileRemove, IUnknown)
* Purpose:
* Removes a file from the file system.
*/
- STDMETHOD(Remove)(THIS) PURE;
+ STDMETHOD(Remove) (THIS) PURE;
};
diff --git a/include/realmedia/rmaformt.h b/include/realmedia/rmaformt.h
index 9996505ed..57a922521 100644
--- a/include/realmedia/rmaformt.h
+++ b/include/realmedia/rmaformt.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaformt.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -32,28 +32,28 @@ typedef _INTERFACE IRMAPacket IRMAPacket;
typedef _INTERFACE IRMAValues IRMAValues;
typedef _INTERFACE IRMAPacketTimeOffsetHandler IRMAPacketTimeOffsetHandler;
typedef _INTERFACE IRMAPacketTimeOffsetHandlerResponse
-IRMAPacketTimeOffsetHandlerResponse;
+ IRMAPacketTimeOffsetHandlerResponse;
typedef _INTERFACE IRMALiveFileFormatInfo IRMALiveFileFormatInfo;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileFormatObject
- *
+ *
* Purpose:
- *
+ *
* Object that allows a Controller to communicate with a specific
* File Format plug-in session
- *
+ *
* IID_IRMAFileFormatObject:
- *
+ *
* {00000F00-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFileFormatObject, 0x00000F00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFileFormatObject, 0x00000F00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileFormatObject
@@ -63,13 +63,13 @@ DECLARE_INTERFACE_(IRMAFileFormatObject, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFileFormatObject methods
@@ -79,54 +79,54 @@ DECLARE_INTERFACE_(IRMAFileFormatObject, IUnknown)
* Method:
* IRMAFileFormatObject::GetFileFormatInfo
* Purpose:
- * Returns information vital to the instantiation of file format
+ * Returns information vital to the instantiation of file format
* plugins.
*/
STDMETHOD(GetFileFormatInfo)(THIS_
- REF(const char**) /*OUT*/ pFileMimeTypes,
- REF(const char**) /*OUT*/ pFileExtensions,
- REF(const char**) /*OUT*/ pFileOpenNames
- ) PURE;
+ REF(const char**) /*OUT*/ pFileMimeTypes,
+ REF(const char**) /*OUT*/ pFileExtensions,
+ REF(const char**) /*OUT*/ pFileOpenNames
+ ) PURE;
- STDMETHOD(InitFileFormat)
- (THIS_
- IRMARequest* /*IN*/ pRequest,
- IRMAFormatResponse* /*IN*/ pFormatResponse,
- IRMAFileObject* /*IN*/ pFileObject) PURE;
+ STDMETHOD(InitFileFormat)
+ (THIS_
+ IRMARequest* /*IN*/ pRequest,
+ IRMAFormatResponse* /*IN*/ pFormatResponse,
+ IRMAFileObject* /*IN*/ pFileObject) PURE;
- STDMETHOD(GetFileHeader)(THIS) PURE;
+ STDMETHOD(GetFileHeader) (THIS) PURE;
- STDMETHOD(GetStreamHeader)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(GetStreamHeader) (THIS_
+ UINT16 unStreamNumber) PURE;
- STDMETHOD(GetPacket)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(GetPacket) (THIS_
+ UINT16 unStreamNumber) PURE;
- STDMETHOD(Seek)(THIS_
- ULONG32 ulOffset) PURE;
+ STDMETHOD(Seek) (THIS_
+ ULONG32 ulOffset) PURE;
- STDMETHOD(Close)(THIS) PURE;
+ STDMETHOD(Close) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMABroadcastFormatObject
- *
+ *
* Purpose:
- *
+ *
* Object that allows a Controller to communicate with a specific
* Broadcast Format plug-in session
- *
+ *
* IID_IRMABroadcastFormatObject:
- *
+ *
* {00000F01-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMABroadcastFormatObject, 0x00000F01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMABroadcastFormatObject, 0x00000F01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMABroadcastFormatObject
@@ -136,13 +136,13 @@ DECLARE_INTERFACE_(IRMABroadcastFormatObject, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMABroadcastFormatObject methods
@@ -152,48 +152,48 @@ DECLARE_INTERFACE_(IRMABroadcastFormatObject, IUnknown)
* Method:
* IRMABroadcastFormatObject::GetBroadcastFormatInfo
* Purpose:
- * Returns information vital to the instantiation of broadcast format
+ * Returns information vital to the instantiation of broadcast format
* plugins.
*/
STDMETHOD(GetBroadcastFormatInfo)(THIS_
- REF(const char*) /*OUT*/ pToken) PURE;
+ REF(const char*) /*OUT*/ pToken) PURE;
- STDMETHOD(InitBroadcastFormat)(THIS_
- const char* /*IN*/ pURL,
- IRMAFormatResponse* /*IN*/ pFormatResponse
- ) PURE;
+ STDMETHOD(InitBroadcastFormat) (THIS_
+ const char* /*IN*/ pURL,
+ IRMAFormatResponse* /*IN*/ pFormatResponse
+ ) PURE;
- STDMETHOD(GetFileHeader)(THIS) PURE;
+ STDMETHOD(GetFileHeader) (THIS) PURE;
- STDMETHOD(GetStreamHeader)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(GetStreamHeader) (THIS_
+ UINT16 unStreamNumber) PURE;
- STDMETHOD(StartPackets)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(StartPackets) (THIS_
+ UINT16 unStreamNumber) PURE;
- STDMETHOD(StopPackets)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(StopPackets) (THIS_
+ UINT16 unStreamNumber) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFormatResponse
- *
+ *
* Purpose:
- *
- * Object that allows a specific File Format Object to communicate
+ *
+ * Object that allows a specific File Format Object to communicate
* with its user
- *
+ *
* IID_IRMAFormatResponse:
- *
+ *
* {00000F02-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAFormatResponse, 0x00000F02, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAFormatResponse, 0x00000F02, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFormatResponse
@@ -203,57 +203,57 @@ DECLARE_INTERFACE_(IRMAFormatResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAFormatResponse methods
*/
- STDMETHOD(InitDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(InitDone) (THIS_
+ PN_RESULT status) PURE;
- STDMETHOD(PacketReady)(THIS_
- PN_RESULT status,
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(PacketReady) (THIS_
+ PN_RESULT status,
+ IRMAPacket* pPacket) PURE;
- STDMETHOD(SeekDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(SeekDone) (THIS_
+ PN_RESULT status) PURE;
- STDMETHOD(FileHeaderReady)(THIS_
- PN_RESULT status,
- IRMAValues * pHeader) PURE;
+ STDMETHOD(FileHeaderReady) (THIS_
+ PN_RESULT status,
+ IRMAValues* pHeader) PURE;
- STDMETHOD(StreamHeaderReady)(THIS_
- PN_RESULT status,
- IRMAValues * pHeader) PURE;
+ STDMETHOD(StreamHeaderReady) (THIS_
+ PN_RESULT status,
+ IRMAValues* pHeader) PURE;
- STDMETHOD(StreamDone)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(StreamDone) (THIS_
+ UINT16 unStreamNumber) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPacketFormat
- *
+ *
* Purpose:
- *
+ *
* Interface that modifies the behavior of an IRMAFileFormat by defining
* the packet format it will be creating.
- *
+ *
* IID_IRMAPacketFormat:
- *
+ *
* {00000F03-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPacketFormat, 0x00000F03, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacketFormat, 0x00000F03, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPacketFormat
@@ -263,42 +263,42 @@ DECLARE_INTERFACE_(IRMAPacketFormat, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacketFormat methods
*/
- STDMETHOD(GetSupportedPacketFormats)
- (THIS_
- REF(const char**) pFormats) PURE;
+ STDMETHOD(GetSupportedPacketFormats)
+ (THIS_
+ REF(const char**) pFormats) PURE;
- STDMETHOD(SetPacketFormat)(THIS_
- const char * pFormat) PURE;
+ STDMETHOD(SetPacketFormat) (THIS_
+ const char* pFormat) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPacketTimeOffsetHandler
- *
+ *
* Purpose:
- *
+ *
* Provides methods for handling the changing of a packets timestamp.
- *
+ *
* IID_IRMAPacketTimeOffsetHandler:
- *
+ *
* {00000F04-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPacketTimeOffsetHandler, 0x00000F04, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacketTimeOffsetHandler, 0x00000F04, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandler, IUnknown)
@@ -306,13 +306,13 @@ DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandler, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacketTimeOffsetHandler methods
@@ -325,10 +325,10 @@ DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandler, IUnknown)
* Initialize the IRMAPacketTimeOffsetHandler and set the response.
* Implementors should look up the MimeType.
*/
- STDMETHOD(Init)(THIS_
- IRMAPacketTimeOffsetHandlerResponse * pResponse,
- IRMAValues * pHeader,
- IUnknown * pContext) PURE;
+ STDMETHOD(Init) (THIS_
+ IRMAPacketTimeOffsetHandlerResponse* pResponse,
+ IRMAValues* pHeader,
+ IUnknown* pContext) PURE;
/************************************************************************
* Method:
@@ -338,9 +338,9 @@ DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandler, IUnknown)
* of and INT32 so that the time offset wraps around after 47 days
* instead of 24. bPlus says whether to add or subtract.
*/
- STDMETHOD(SetTimeOffset)(THIS_
- UINT32 ulTimeOffset,
- BOOL bPlus) PURE;
+ STDMETHOD(SetTimeOffset) (THIS_
+ UINT32 ulTimeOffset,
+ BOOL bPlus) PURE;
/************************************************************************
* Method:
@@ -349,28 +349,28 @@ DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandler, IUnknown)
* give the IRMAPacketTimeOffsetHandler a packet to modify for the
* time offset.
*/
- STDMETHOD(HandlePacket)(THIS_
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(HandlePacket) (THIS_
+ IRMAPacket* pPacket) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPacketTimeOffsetHandlerResponse
- *
+ *
* Purpose:
- *
+ *
* Provides methods for the IRMAPacketTimeOffsetHandler to respond to.
- *
+ *
* IID_IRMAPacketTimeOffsetHandlerResponse:
- *
+ *
* {00000F05-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPacketTimeOffsetHandlerResponse, 0x00000F05, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacketTimeOffsetHandlerResponse, 0x00000F05, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandlerResponse, IUnknown)
@@ -378,13 +378,13 @@ DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandlerResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacketTimeOffsetHandler methods
@@ -394,32 +394,32 @@ DECLARE_INTERFACE_(IRMAPacketTimeOffsetHandlerResponse, IUnknown)
* Method:
* IRMAPacketTimeOffsetHandler::PacketReady
* Purpose:
- * Called by IRMAPacketTimeOffsetHandler to pass back the packet
+ * Called by IRMAPacketTimeOffsetHandler to pass back the packet
* when it is done with it.
*/
- STDMETHOD(TimeOffsetPacketReady)(THIS_
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(TimeOffsetPacketReady) (THIS_
+ IRMAPacket* pPacket) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMALiveFileFormatInfo
- *
+ *
* Purpose:
- *
+ *
* Provides miscellaneous information needed to transmit a live stream.
* Optionally implemented by the file format object.
- *
+ *
* IID_IRMALiveFileFormatInfo:
- *
+ *
* {00000F06-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMALiveFileFormatInfo, 0x00000F06, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMALiveFileFormatInfo, 0x00000F06, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMALiveFileFormatInfo
@@ -429,13 +429,13 @@ DECLARE_INTERFACE_(IRMALiveFileFormatInfo, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMALiveFileFormatInfo methods
@@ -445,25 +445,25 @@ DECLARE_INTERFACE_(IRMALiveFileFormatInfo, IUnknown)
* Method:
* IRMALiveFileFormatInfo::VerifyFileCompatibility
* Purpose:
- * Compares two file headers and returns PNR_OK if these two
- * files can be transmitted sequentially in a single live
+ * Compares two file headers and returns PNR_OK if these two
+ * files can be transmitted sequentially in a single live
* presentation.
*/
- STDMETHOD(VerifyFileCompatibility)(THIS_
- IRMAValues * pFileHeader1,
- IRMAValues * pFileHeader2) PURE;
+ STDMETHOD(VerifyFileCompatibility) (THIS_
+ IRMAValues* pFileHeader1,
+ IRMAValues* pFileHeader2) PURE;
/************************************************************************
* Method:
* IRMALiveFileFormatInfo::VerifyStreamCompatibility
* Purpose:
- * Compares two stream headers and returns PNR_OK if these two
- * streams can be transmitted sequentially in a single live
+ * Compares two stream headers and returns PNR_OK if these two
+ * streams can be transmitted sequentially in a single live
* presentation.
*/
- STDMETHOD(VerifyStreamCompatibility)(THIS_
- IRMAValues * pStreamHeader1,
- IRMAValues * pStreamHeader2) PURE;
+ STDMETHOD(VerifyStreamCompatibility) (THIS_
+ IRMAValues* pStreamHeader1,
+ IRMAValues* pStreamHeader2) PURE;
/************************************************************************
* Method:
@@ -472,32 +472,32 @@ DECLARE_INTERFACE_(IRMALiveFileFormatInfo, IUnknown)
* Returns TRUE if this stream requires the latest packet to be
* resent periodically in a live presentation.
*/
- STDMETHOD_(BOOL, IsLiveResendRequired)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD_(BOOL,IsLiveResendRequired) (THIS_
+ UINT16 unStreamNumber) PURE;
/************************************************************************
* Method:
* IRMALiveFileFormatInfo::GetResendBitrate
* Purpose:
* If periodic live resends are required for this stream, this
- * method returns the rate at which we should resend packets. The
+ * method returns the rate at which we should resend packets. The
* resend rate is measured in bits per second.
*/
- STDMETHOD(GetResendBitrate)(THIS_
- UINT16 unStreamNumber,
- REF(UINT32) ulBitrate) PURE;
+ STDMETHOD(GetResendBitrate) (THIS_
+ UINT16 unStreamNumber,
+ REF(UINT32) ulBitrate) PURE;
/************************************************************************
* Method:
* IRMALiveFileFormatInfo::GetResendDuration
* Purpose:
* If periodic live resends are required for this stream, this
- * method returns the number of milliseconds for which this packet
+ * method returns the number of milliseconds for which this packet
* should be resent.
*/
- STDMETHOD(GetResendDuration)(THIS_
- IRMAPacket * pPacket,
- REF(UINT32) ulDuration) PURE;
+ STDMETHOD(GetResendDuration) (THIS_
+ IRMAPacket* pPacket,
+ REF(UINT32) ulDuration) PURE;
/************************************************************************
* Method:
@@ -507,9 +507,9 @@ DECLARE_INTERFACE_(IRMALiveFileFormatInfo, IUnknown)
* as the first parameter. This allows the file format plugin to
* make resend packets distinguishable from original packets.
*/
- STDMETHOD(FormResendPacket)(THIS_
- IRMAPacket * pOriginalPacket,
- REF(IRMAPacket*) pResendPacket) PURE;
+ STDMETHOD(FormResendPacket) (THIS_
+ IRMAPacket* pOriginalPacket,
+ REF(IRMAPacket*) pResendPacket) PURE;
};
diff --git a/include/realmedia/rmagroup.h b/include/realmedia/rmagroup.h
index 8a75a0ab2..14ad71b25 100644
--- a/include/realmedia/rmagroup.h
+++ b/include/realmedia/rmagroup.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmagroup.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -29,20 +29,20 @@ typedef _INTERFACE IRMAValues IRMAValues;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAGroup
- *
+ *
* Purpose:
- *
- *
+ *
+ *
* IID_IRMAGroup:
- *
+ *
* {0x00002400-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAGroup, 0x00002400, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAGroup, 0x00002400, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -54,13 +54,13 @@ DECLARE_INTERFACE_(IRMAGroup, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAGroup methods
@@ -69,11 +69,11 @@ DECLARE_INTERFACE_(IRMAGroup, IUnknown)
* Method:
* IRMAGroup::SetGroupProperties
* Purpose:
- * Set any group specific information like Title Author
- * Copyright etc.
+ * Set any group specific information like Title Author
+ * Copyright etc.
*/
- STDMETHOD(SetGroupProperties)(THIS_
- IRMAValues* /*IN*/ pProperties) PURE;
+ STDMETHOD(SetGroupProperties) (THIS_
+ IRMAValues* /*IN*/ pProperties) PURE;
/************************************************************************
* Method:
@@ -81,14 +81,14 @@ DECLARE_INTERFACE_(IRMAGroup, IUnknown)
* Purpose:
* Get any group specific information. May return NULL.
*/
- STDMETHOD_(IRMAValues*, GetGroupProperties)(THIS) PURE;
+ STDMETHOD_(IRMAValues*, GetGroupProperties) (THIS) PURE;
/************************************************************************
* Method:
* IRMAGroup::GetTrackCount
* Purpose:
* Get the number of tracks within this group.
*/
- STDMETHOD_(UINT16, GetTrackCount)(THIS) PURE;
+ STDMETHOD_(UINT16,GetTrackCount) (THIS) PURE;
/************************************************************************
* Method:
@@ -96,9 +96,9 @@ DECLARE_INTERFACE_(IRMAGroup, IUnknown)
* Purpose:
* Get ith track in this group
*/
- STDMETHOD(GetTrack)(THIS_
- UINT16 /*IN*/ uTrackIndex,
- REF(IRMAValues*) /*OUT*/ pTrack) PURE;
+ STDMETHOD(GetTrack) (THIS_
+ UINT16 /*IN*/ uTrackIndex,
+ REF(IRMAValues*) /*OUT*/ pTrack) PURE;
/************************************************************************
* Method:
@@ -106,8 +106,8 @@ DECLARE_INTERFACE_(IRMAGroup, IUnknown)
* Purpose:
* Add Tracks to the group.
*/
- STDMETHOD(AddTrack)(THIS_
- IRMAValues* /*IN*/ pTrack) PURE;
+ STDMETHOD(AddTrack) (THIS_
+ IRMAValues* /*IN*/ pTrack) PURE;
/************************************************************************
* Method:
@@ -115,26 +115,26 @@ DECLARE_INTERFACE_(IRMAGroup, IUnknown)
* Purpose:
* Remove an already added track
*/
- STDMETHOD(RemoveTrack)(THIS_
- UINT16 /*IN*/ uTrackIndex) PURE;
+ STDMETHOD(RemoveTrack) (THIS_
+ UINT16 /*IN*/ uTrackIndex) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAGroupManager
- *
+ *
* Purpose:
- *
- *
+ *
+ *
* IID_IRMAGroupManager:
- *
+ *
* {0x00002401-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAGroupManager, 0x00002401, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAGroupManager, 0x00002401, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -146,13 +146,13 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAGroupManager methods
@@ -164,7 +164,7 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Create a group
*/
- STDMETHOD(CreateGroup)(REF(IRMAGroup*) pGroup) PURE;
+ STDMETHOD(CreateGroup) (REF(IRMAGroup*) pGroup) PURE;
/************************************************************************
* Method:
@@ -172,7 +172,7 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Get the number of groups within the presentation.
*/
- STDMETHOD_(UINT16, GetGroupCount)(THIS) PURE;
+ STDMETHOD_(UINT16,GetGroupCount) (THIS) PURE;
/************************************************************************
* Method:
@@ -180,9 +180,9 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Get ith group in the presentation
*/
- STDMETHOD(GetGroup)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- REF(IRMAGroup*) /*OUT*/ pGroup) PURE;
+ STDMETHOD(GetGroup) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ REF(IRMAGroup*) /*OUT*/ pGroup) PURE;
/************************************************************************
* Method:
@@ -190,8 +190,8 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Play this group in the presentation.
*/
- STDMETHOD(SetCurrentGroup)(THIS_
- UINT16 /*IN*/ uGroupIndex) PURE;
+ STDMETHOD(SetCurrentGroup) (THIS_
+ UINT16 /*IN*/ uGroupIndex) PURE;
/************************************************************************
* Method:
@@ -199,8 +199,8 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Get the current group index
*/
- STDMETHOD(GetCurrentGroup)(THIS_
- REF(UINT16) /*OUT*/ uGroupIndex) PURE;
+ STDMETHOD(GetCurrentGroup) (THIS_
+ REF(UINT16) /*OUT*/ uGroupIndex) PURE;
/************************************************************************
* Method:
@@ -208,8 +208,8 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Add a group to the presentation.
*/
- STDMETHOD(AddGroup)(THIS_
- IRMAGroup* /*IN*/ pGroup) PURE;
+ STDMETHOD(AddGroup) (THIS_
+ IRMAGroup* /*IN*/ pGroup) PURE;
/************************************************************************
* Method:
@@ -217,8 +217,8 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Remove an already added group
*/
- STDMETHOD(RemoveGroup)(THIS_
- UINT16 /*IN*/ uGroupIndex) PURE;
+ STDMETHOD(RemoveGroup) (THIS_
+ UINT16 /*IN*/ uGroupIndex) PURE;
/************************************************************************
@@ -228,8 +228,8 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Add a sink to get notifications about any tracks or groups
* being added to the presentation.
*/
- STDMETHOD(AddSink)(THIS_
- IRMAGroupSink* /*IN*/ pGroupSink) PURE;
+ STDMETHOD(AddSink) (THIS_
+ IRMAGroupSink* /*IN*/ pGroupSink) PURE;
/************************************************************************
@@ -238,8 +238,8 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Remove Sink
*/
- STDMETHOD(RemoveSink)(THIS_
- IRMAGroupSink* /*IN*/ pGroupSink) PURE;
+ STDMETHOD(RemoveSink) (THIS_
+ IRMAGroupSink* /*IN*/ pGroupSink) PURE;
/************************************************************************
* Method:
@@ -247,36 +247,36 @@ DECLARE_INTERFACE_(IRMAGroupManager, IUnknown)
* Purpose:
* Get any presentation information. May return NULL.
*/
- STDMETHOD_(IRMAValues*, GetPresentationProperties)(THIS) PURE;
+ STDMETHOD_(IRMAValues*, GetPresentationProperties) (THIS) PURE;
/************************************************************************
* Method:
* IRMAGroup::SetPresentationProperties
* Purpose:
- * Set any presentation information like Title Author
- * Copyright etc.
+ * Set any presentation information like Title Author
+ * Copyright etc.
*/
- STDMETHOD(SetPresentationProperties)(THIS_
- IRMAValues* /*IN*/ pProperties) PURE;
-
+ STDMETHOD(SetPresentationProperties) (THIS_
+ IRMAValues* /*IN*/ pProperties) PURE;
+
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAGroupSink
- *
+ *
* Purpose:
- *
- *
+ *
+ *
* IID_IRMAGroupSink:
- *
+ *
* {0x00002402-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAGroupSink, 0x00002402, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+DEFINE_GUID(IID_IRMAGroupSink, 0x00002402, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -288,13 +288,13 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAGroupSink methods
@@ -305,9 +305,9 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
* Purpose:
* Notification of a new group being added to the presentation.
*/
- STDMETHOD(GroupAdded)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- IRMAGroup* /*IN*/ pGroup) PURE;
+ STDMETHOD(GroupAdded) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ IRMAGroup* /*IN*/ pGroup) PURE;
/************************************************************************
* Method:
@@ -315,18 +315,18 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
* Purpose:
* Notification of a group being removed from the presentation.
*/
- STDMETHOD(GroupRemoved)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- IRMAGroup* /*IN*/ pGroup) PURE;
+ STDMETHOD(GroupRemoved) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ IRMAGroup* /*IN*/ pGroup) PURE;
/************************************************************************
* Method:
* IRMAGroupSink::AllGroupsRemoved
* Purpose:
- * Notification that all groups have been removed from the
+ * Notification that all groups have been removed from the
* current presentation.
*/
- STDMETHOD(AllGroupsRemoved)(THIS) PURE;
+ STDMETHOD(AllGroupsRemoved) (THIS) PURE;
/************************************************************************
* Method:
@@ -334,10 +334,10 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
* Purpose:
* Notification of a new track being added to a group.
*/
- STDMETHOD(TrackAdded)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- UINT16 /*IN*/ uTrackIndex,
- IRMAValues* /*IN*/ pTrack) PURE;
+ STDMETHOD(TrackAdded) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ UINT16 /*IN*/ uTrackIndex,
+ IRMAValues* /*IN*/ pTrack) PURE;
/************************************************************************
* Method:
@@ -345,10 +345,10 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
* Purpose:
* Notification of a track being removed from a group.
*/
- STDMETHOD(TrackRemoved)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- UINT16 /*IN*/ uTrackIndex,
- IRMAValues* /*IN*/ pTrack) PURE;
+ STDMETHOD(TrackRemoved) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ UINT16 /*IN*/ uTrackIndex,
+ IRMAValues* /*IN*/ pTrack) PURE;
/************************************************************************
* Method:
@@ -357,10 +357,10 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
* Notification of a track being started (to get duration, for
* instance...)
*/
- STDMETHOD(TrackStarted)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- UINT16 /*IN*/ uTrackIndex,
- IRMAValues* /*IN*/ pTrack) PURE;
+ STDMETHOD(TrackStarted) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ UINT16 /*IN*/ uTrackIndex,
+ IRMAValues* /*IN*/ pTrack) PURE;
/************************************************************************
* Method:
@@ -369,10 +369,10 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
* Notification of a track being stopped
*
*/
- STDMETHOD(TrackStopped)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- UINT16 /*IN*/ uTrackIndex,
- IRMAValues* /*IN*/ pTrack) PURE;
+ STDMETHOD(TrackStopped) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ UINT16 /*IN*/ uTrackIndex,
+ IRMAValues* /*IN*/ pTrack) PURE;
/************************************************************************
* Method:
@@ -380,9 +380,9 @@ DECLARE_INTERFACE_(IRMAGroupSink, IUnknown)
* Purpose:
* This group is being currently played in the presentation.
*/
- STDMETHOD(CurrentGroupSet)(THIS_
- UINT16 /*IN*/ uGroupIndex,
- IRMAGroup* /*IN*/ pGroup) PURE;
+ STDMETHOD(CurrentGroupSet) (THIS_
+ UINT16 /*IN*/ uGroupIndex,
+ IRMAGroup* /*IN*/ pGroup) PURE;
};
diff --git a/include/realmedia/rmahyper.h b/include/realmedia/rmahyper.h
index 6be9bcf4a..a19afbeda 100644
--- a/include/realmedia/rmahyper.h
+++ b/include/realmedia/rmahyper.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmahyper.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -27,23 +27,23 @@ typedef _INTERFACE IRMAHyperNavigate IRMAHyperNavigate;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAHyperNavigate
- *
+ *
* Purpose:
- *
+ *
* Allows you to perform simple "Go to URL" operations.
- *
+ *
* IID_IRMAHyperNavigate:
- *
+ *
* {00000900-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAHyperNavigate, 0x00000900, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAHyperNavigate, 0x00000900, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAHyperNavigate
@@ -53,13 +53,13 @@ DECLARE_INTERFACE_(IRMAHyperNavigate, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAHyperNavigate methods
@@ -74,9 +74,9 @@ DECLARE_INTERFACE_(IRMAHyperNavigate, IUnknown)
* pURL: fully qualified URL such as http://www.real.com
* pTarget: target frame. To not use a frame, set this to NULL
*/
- STDMETHOD(GoToURL)(THIS_
- const char * pURL,
- const char * pTarget) PURE;
+ STDMETHOD(GoToURL) (THIS_
+ const char* pURL,
+ const char* pTarget) PURE;
};
diff --git a/include/realmedia/rmaiids.h b/include/realmedia/rmaiids.h
index 7164a164f..2d9a657cc 100644
--- a/include/realmedia/rmaiids.h
+++ b/include/realmedia/rmaiids.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaiids.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -16,7 +16,7 @@
* Note: These IIDs generally are duplicated in the headers that are specific
* to each interface, so if you change this file, change the other file(s) as
* well. Having all these IIDS in one files is convenient to some folks, but
- * not everyone includes this file, hence the need to keep them in individual
+ * not everyone includes this file, hence the need to keep them in individual
* files as well.
*/
@@ -148,9 +148,9 @@ DEFINE_GUID(IID_IRMAMutex, 0x00000116, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x2
* IID_BroadcastMimeMapperResponse:{0000020E-0901-11d1-8B06-00A024406D59}
* IID_IRMAGetFileFromSamePool: {0000020F-0901-11d1-8B06-00A024406D59}
* IID_GetFileFromSamePoolResponse:{00000210-0901-11d1-8B06-00A024406D59}
- * IID_IRMAFileAuthenticator: {00000211-0901-11d1-8B06-00A024406D59}
- * IID_IRMARequestHandler: {00000212-0901-11d1-8B06-00A024406D59}
- * IID_IRMARequest: {00000213-0901-11d1-8B06-00A024406D59}
+ * IID_IRMAFileAuthenticator: {00000211-0901-11d1-8B06-00A024406D59}
+ * IID_IRMARequestHandler: {00000212-0901-11d1-8B06-00A024406D59}
+ * IID_IRMARequest: {00000213-0901-11d1-8B06-00A024406D59}
* IID_IRMAFileRename: {00000214-0901-11d1-8B06-00A024406D59}
* IID_IRMADirHandler: {00000215-0901-11d1-8B06-00A024406D59}
* IID_IRMADirHandlerResponse: {00000216-0901-11d1-8B06-00A024406D59}
@@ -178,7 +178,7 @@ DEFINE_GUID(IID_IRMAFileMimeMapperResponse, 0x0000020c, 0x901, 0x11d1, 0x8b, 0x6
DEFINE_GUID(IID_IRMABroadcastMapper, 0x0000020d, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMABroadcastMapperResponse, 0x0000020e, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAGetFileFromSamePool, 0x0000020f, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAGetFileFromSamePoolResponse, 0x00000210, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAGetFileFromSamePoolResponse,0x00000210, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAFileAuthenticator, 0x00000211, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMARequestHandler, 0x00000212, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMARequest, 0x00000213, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -210,7 +210,7 @@ DEFINE_GUID(IID_IRMARenderer, 0x00000300, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0x
* IID_IRMAClientEngine: {00000403-0901-11d1-8B06-00A024406D59}
* IID_IRMAClientEngineSelector{00000404-0901-11d1-8B06-00A024406D59}
* IID_IRMAClientEngineSetup: {00000405-0901-11d1-8B06-00A024406D59}
- * : {00000406-0901-11d1-8B06-00A024406D59} -- Deprecated
+ * : {00000406-0901-11d1-8B06-00A024406D59} -- Deprecated
* IID_IRMAInfoLogger: {00000409-0901-11d1-8B06-00A024406D59}
* {0000040F-0901-11d1-8B06-00A024406D59} -- Deprecated
* IID_IRMAPlayer2: {00000411-0901-11d1-8B06-00A024406D59}
@@ -237,10 +237,10 @@ DEFINE_GUID(IID_IRMAPlayer2, 0x00000411, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0,
*/
#ifndef _RMAPREFS_H_
DEFINE_GUID(IID_IRMAPreferences, 0x00000500, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAPreferences2, 0x00000503, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAPreferenceEnumerator, 0x00000504, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPreferences2, 0x00000503, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPreferenceEnumerator, 0x00000504, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#endif
/*
@@ -450,18 +450,18 @@ DEFINE_GUID(IID_IRMAPendingStatus, 0x00001100, 0x901, 0x11d1, 0x8b, 0x6, 0x0
* IID_IRMAValuesRemove: {00001303-0901-11d1-8B06-00A024406D59}
*/
#ifndef _RMAPCKTS_H_
-DEFINE_GUID(IID_IRMABuffer, 0x00001300, 0x0901, 0x11d1, 0x8b, 0x06, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMABuffer, 0x00001300, 0x0901, 0x11d1, 0x8b, 0x06, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAPacket, 0x00001301, 0x0901, 0x11d1, 0x8b, 0x06, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMARTPPacket, 0x0169a731, 0x1ed0, 0x11d4, 0x95, 0x2b, 0x0, 0x90, 0x27, 0x42, 0xc9, 0x23);
-DEFINE_GUID(IID_IRMAValues, 0x00001302, 0x0901, 0x11d1, 0x8b, 0x06, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAValuesRemove, 0x00001303, 0x0901, 0x11d1, 0x8b, 0x06, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAValues, 0x00001302, 0x0901, 0x11d1, 0x8b, 0x06, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAValuesRemove, 0x00001303, 0x0901, 0x11d1, 0x8b, 0x06, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#endif
/*
* File:
* rmaasm.h
* Description:
* Interfaces related to abm and back channel support.
- *
+ *
* Interfaces:
* IID_IRMABackChannel: {00001500-0901-11d1-8B06-00A024406D59}
* IID_IRMAASMSource: {00001501-0901-11d1-8B06-00A024406D59}
@@ -495,9 +495,9 @@ DEFINE_GUID(IID_IRMAEncoderResponse, 0x00001600, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
DEFINE_GUID(IID_IRMAEncoder, 0x00001601, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAEncoderCompletion, 0x00001602, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAConnectionlessControl,
- 0x00001603, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00001603, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAEncoderResponseCompletion,
- 0x00001604, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00001604, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMATransportControl, 0x00001605, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#endif
/*
@@ -524,7 +524,7 @@ DEFINE_GUID(IID_IRMATransportControl, 0x00001605, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
* IID_IRMAAuthenticatorRequest {00001802-0901-11d1-8B06-00A024406D59}
* IID_IRMAPassword {00001700-0901-11d1-8B06-00A024406D59}
* IID_IRMAAuthenticationManager {00001A00-0901-11d1-8B06-00A024406D59}
- * IID_IRMAAuthenticationManagerResponse
+ * IID_IRMAAuthenticationManagerResponse
* {00001A01-0901-11d1-8B06-00A024406D59}
*/
#ifndef _RMAAUTH_H_
@@ -578,10 +578,10 @@ DEFINE_GUID(IID_IRMALiveText2, 0x00001b01, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0,
*
*/
#ifndef _RMACFG_H_
-DEFINE_GUID(IID_IRMAConfigFile, 0x00001c00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMARegConfig, 0x00001c01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAConfigFile, 0x00001c00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARegConfig, 0x00001c01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#endif
/*
@@ -592,8 +592,8 @@ DEFINE_GUID(IID_IRMARegConfig, 0x00001c01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
* Interfaces:
* IID_IRMAPPVDatabase {00001d00-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAPPVDatabase,
- 0x00001d00, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPPVDatabase,
+ 0x00001d00, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/*
@@ -612,17 +612,17 @@ DEFINE_GUID(IID_IRMAPPVDatabase,
* IID_IRMAContextMenuResponse {00001f01-0901-11d1-8B06-00A024406D59}
*/
#ifndef _RMACMENU_H_
-DEFINE_GUID(IID_IRMAContextMenu, 0x00001f00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAContextMenuResponse, 0x00001f01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAContextMenu, 0x00001f00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAContextMenuResponse, 0x00001f01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#endif
/*
* File:
* rmaphook.h
* Description:
- * Interfaces used by the top level client. client core and renderer to
+ * Interfaces used by the top level client. client core and renderer to
* support Selective Record.
*
* Interfaces:
@@ -690,9 +690,9 @@ DEFINE_GUID(IID_IRMAGroupSink, 0x00002402, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0,
* IID_IRMAUpgradeHandler {00002501-0901-11d1-8B06-00A024406D59}
*/
DEFINE_GUID(IID_IRMAUpgradeCollection,
- 0x00002500, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00002500, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAUpgradeHandler,
- 0x00002501, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00002501, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/*
* File:
@@ -710,21 +710,21 @@ DEFINE_GUID(IID_IRMAUpgradeHandler,
* IID_IRMAProxyController {00002605-0901-11d1-8B06-00A024406D59}
* IID_IRMAPlayerControllerProxyRedirect {00002607-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSink,
- 0x00002600, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAPlayerConnectionResponse,
- 0x00002601, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAPlayerController,
- 0x00002602, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSinkManager,
- 0x00002603, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-
-DEFINE_GUID(IID_IRMAProxyConnectionAdviseSink,
- 0x00002604, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAProxyConnectionResponse,
- 0x00002605, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
-DEFINE_GUID(IID_IRMAProxyController,
- 0x00002606, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSink,
+ 0x00002600, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerConnectionResponse,
+ 0x00002601, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerController,
+ 0x00002602, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerConnectionAdviseSinkManager,
+ 0x00002603, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+
+DEFINE_GUID(IID_IRMAProxyConnectionAdviseSink,
+ 0x00002604, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAProxyConnectionResponse,
+ 0x00002605, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAProxyController,
+ 0x00002606, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMAPlayerControllerProxyRedirect, 0x00002607, 0x901, 0x11d1,
0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -732,7 +732,7 @@ DEFINE_GUID(IID_IRMAPlayerControllerProxyRedirect, 0x00002607, 0x901, 0x11d1,
* File:
* rmaaconf.h
* Description:
- * Interfaces used by the top level client. client core to
+ * Interfaces used by the top level client. client core to
* support Auto. Transport Configuration
*
* Interfaces:
@@ -1000,8 +1000,8 @@ DEFINE_GUID(IID_IRMAViewSourceURLResponse, 0x00003505, 0x901, 0x11d1, 0x8b, 0x6,
* IRCAEmbeddedPlayerEngine - RCA embedded player engine
*/
-DEFINE_GUID(IID_IRCAEmbeddedEngine,
- 0x00003800, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRCAEmbeddedEngine,
+ 0x00003800, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/* File:
* embdctxt.h
@@ -1012,7 +1012,7 @@ DEFINE_GUID(IID_IRCAEmbeddedEngine,
*/
DEFINE_GUID(IID_IRCAEmbeddedContext,
- 0x00003801, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003801, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/* File:
* embdplay.h
@@ -1023,7 +1023,7 @@ DEFINE_GUID(IID_IRCAEmbeddedContext,
*/
DEFINE_GUID(IID_IRCAEmbeddedPlayer,
- 0x00003802, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003802, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/* File:
* embdsink.h
@@ -1035,9 +1035,9 @@ DEFINE_GUID(IID_IRCAEmbeddedPlayer,
*/
DEFINE_GUID(IID_IRCAEmbeddedSink,
- 0x00003803, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003803, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRCAEmbeddedSinkResponse,
- 0x00003804, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003804, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/* File:
* embdstrm.h
@@ -1049,9 +1049,9 @@ DEFINE_GUID(IID_IRCAEmbeddedSinkResponse,
*/
DEFINE_GUID(IID_IRCAEmbeddedStreamManager,
- 0x00003805, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003805, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRCAEmbeddedStream,
- 0x00003806, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003806, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/* File:
* rmadtcvt.h
@@ -1064,15 +1064,15 @@ DEFINE_GUID(IID_IRCAEmbeddedStream,
* IRMADataRevertResponse - response for above
*/
DEFINE_GUID(IID_IRMADataConvertSystemObject,
- 0x00003900, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003900, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMADataConvert,
- 0x00003901, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003901, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMADataConvertResponse,
- 0x00003902, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003902, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMADataRevert,
- 0x00003903, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003903, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
DEFINE_GUID(IID_IRMADataRevertResponse,
- 0x00003904, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x00003904, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
/*
* File:
@@ -1085,10 +1085,10 @@ DEFINE_GUID(IID_IRMADataRevertResponse,
* IRMASltaEvent - Allows events to be sent in an SLTA stream
*/
DEFINE_GUID(IID_IRMASLTA,
- 0x00000D00, 0xb4c8, 0x11d0, 0x99, 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
+ 0x00000D00, 0xb4c8, 0x11d0, 0x99, 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
DEFINE_GUID(IID_IRMASltaEvent,
- 0x00000D01, 0xb4c8, 0x11d0, 0x99, 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
+ 0x00000D01, 0xb4c8, 0x11d0, 0x99, 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
#endif /* _RMAIIDS_H_ */
diff --git a/include/realmedia/rmalvpix.h b/include/realmedia/rmalvpix.h
index a568b63d7..5ad3f8b92 100644
--- a/include/realmedia/rmalvpix.h
+++ b/include/realmedia/rmalvpix.h
@@ -6,7 +6,7 @@
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -53,7 +53,7 @@ PixInitInfo;
* PixImageInfo
*
* This struct contains all the information for images which
- * should be sent down the stream. This struct is used in the
+ * should be sent down the stream. This struct is used in the
* IRMALiveRealPix::InitImage() method.
*/
typedef struct PNEXPORT_CLASS _PixImageInfo
@@ -88,7 +88,7 @@ PixImageInfo;
/*
* PixEffectInfo
*
- * This struct contains all the information about the effect which
+ * This struct contains all the information about the effect which
* the RealPix renderer should perform. This struct is used in the
* IRMALiveRealPix::SendEffect() method.
*/
@@ -121,7 +121,7 @@ typedef struct PNEXPORT_CLASS _PixEffectInfo
char *m_pExtFile; /* Input: File contents of external effect data */
BOOL m_bDiscardImage; /* Input: TRUE: discard image after doing effect; FALSE: don't discard */
BOOL m_bDisplayImmediately; /* Input: FALSE: obey start time; TRUE: do effect immediately */
- UINT32 m_ulHandle; /* Output: Handle by which effect will be referred to */
+ UINT32 m_ulHandle; /* Output: Handle by which effect will be referred to */
}
PixEffectInfo;
@@ -142,20 +142,20 @@ typedef _INTERFACE IRMAValues IRMAValues;
*/
STDAPI CreateLiveRealPix(IRMALiveRealPix **);
-typedef PN_RESULT(PNEXPORT_PTR FPRMCREATELIVEREALPIX)(IRMALiveRealPix **ppLiveRealPix);
+typedef PN_RESULT (PNEXPORT_PTR FPRMCREATELIVEREALPIX)(IRMALiveRealPix **ppLiveRealPix);
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMALivePix
- *
+ *
* Purpose:
- *
+ *
* Asynchronous interface that allows an application to encode live RealPix
- *
+ *
* IID_IRMALiveRealPix:
- *
+ *
* {E7ADF466-477D-11d2-AA0C-0060972D23A7}
*
*/
@@ -170,11 +170,11 @@ DECLARE_INTERFACE_(IRMALiveRealPix, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMALiveRealPix methods
@@ -185,8 +185,8 @@ DECLARE_INTERFACE_(IRMALiveRealPix, IUnknown)
* an IRMALiveRealPixResponse interface must be passed in. The encoder will
* respond to this call asynchronously with IRMALiveRealPixResponse::EncoderStarted().
*/
- STDMETHOD(StartEncoder)(THIS_ PixInitInfo * pInitInfo,
- IRMALiveRealPixResponse * pResponse) PURE;
+ STDMETHOD(StartEncoder) (THIS_ PixInitInfo *pInitInfo,
+ IRMALiveRealPixResponse *pResponse) PURE;
/*
* InitImage() is called to prep an image for being sent. It returns several useful
@@ -197,7 +197,7 @@ DECLARE_INTERFACE_(IRMALiveRealPix, IUnknown)
* This is not an asynchronous call - all processing has finished by the time this
* call returns.
*/
- STDMETHOD(InitImage)(THIS_ PixImageInfo * pImageInfo) PURE;
+ STDMETHOD(InitImage) (THIS_ PixImageInfo *pImageInfo) PURE;
/*
* SendImage() tranfers the all the packets for the image referred to by ulImageHandle
@@ -205,18 +205,18 @@ DECLARE_INTERFACE_(IRMALiveRealPix, IUnknown)
* packets being sent to the RealServer. When all the packets for this image have
* been sent, the encoder will respond with IRMALiveRealPixResponse::ImageSent().
*/
- STDMETHOD(SendImage)(THIS_ UINT32 ulImageHandle) PURE;
+ STDMETHOD(SendImage) (THIS_ UINT32 ulImageHandle) PURE;
/*
* SendEffect() creates an effect packet with the information contained in
* the PixEffectInfo struct and immediately adds this packet to the packet
- * send queue. Further calls to Process() will result in this packet being
+ * send queue. Further calls to Process() will result in this packet being
* sent to the server. A handle is returned in the PixEffectInfo struct by
* which this effect can later be identified. When the effect has been
* sent to the server, the encoder will respond with
* IRMALiveRealPixResponse::EffectSent().
*/
- STDMETHOD(SendEffect)(THIS_ PixEffectInfo * pEffectInfo) PURE;
+ STDMETHOD(SendEffect) (THIS_ PixEffectInfo *pEffectInfo) PURE;
/*
* StopEncoder() may be called at any time after calling StartEncoder().
@@ -224,12 +224,12 @@ DECLARE_INTERFACE_(IRMALiveRealPix, IUnknown)
* be sent to the encoder. The encoder shuts down the connection to
* the server and responds with IRMALiveRealPixResponse::EncoderStopped().
*/
- STDMETHOD(StopEncoder)(THIS) PURE;
+ STDMETHOD(StopEncoder) (THIS) PURE;
/*
* GetTime() returns the time in milliseconds since the encoder library was initialized.
*/
- STDMETHOD_(UINT32, GetTime)(THIS) PURE;
+ STDMETHOD_(UINT32, GetTime) (THIS) PURE;
/*
* Process() must be called in order to give the library time to send
@@ -237,22 +237,22 @@ DECLARE_INTERFACE_(IRMALiveRealPix, IUnknown)
* and ImageSent(), as well as between SendEffect() and EffectSent(). Other
* that these times, it should be called every 3-5 seconds.
*/
- STDMETHOD(Process)(THIS) PURE;
+ STDMETHOD(Process) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMALiveRealPixResponse
- *
+ *
* Purpose:
- *
+ *
* Asynchronous response interface that allows an application to
* encode live RealPix
- *
+ *
* IID_IRMALiveRealPixResponse:
- *
+ *
* {E7ADF46C-477D-11d2-AA0C-0060972D23A7}
*
*/
@@ -268,11 +268,11 @@ DECLARE_INTERFACE_(IRMALiveRealPixResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMALiveRealPixResponse methods
@@ -283,21 +283,21 @@ DECLARE_INTERFACE_(IRMALiveRealPixResponse, IUnknown)
* argument tells whether initializing the server was successful or not, and the pszHeaderString
* argument returns the text string returned by the RealServer.
*/
- STDMETHOD(EncoderStarted)(THIS_ PN_RESULT status, const char * pszHeaderString) PURE;
+ STDMETHOD(EncoderStarted) (THIS_ PN_RESULT status, const char *pszHeaderString) PURE;
/*
* ImageSent() is the asynchronous response to SendImage(). The ulImageHandle argument
- * identifies which image has just completed sending to the server, and the status
+ * identifies which image has just completed sending to the server, and the status
* argument tells whether or not the send was successful or not.
*/
- STDMETHOD(ImageSent)(THIS_ PN_RESULT status, UINT32 ulImageHandle) PURE;
+ STDMETHOD(ImageSent) (THIS_ PN_RESULT status, UINT32 ulImageHandle) PURE;
/*
* EffectSent() is the asynchronous response to SendEffect(). The ulEffectHandle argument
- * identifies which effect has just completed sending to the server, and the status
+ * identifies which effect has just completed sending to the server, and the status
* argument tells whether or not the send was successful or not.
*/
- STDMETHOD(EffectSent)(THIS_ PN_RESULT status, UINT32 ulEffectHandle) PURE;
+ STDMETHOD(EffectSent) (THIS_ PN_RESULT status, UINT32 ulEffectHandle) PURE;
/*
* EncoderStopped() is the asynchronous response to StopEncoder(). The status
@@ -305,7 +305,7 @@ DECLARE_INTERFACE_(IRMALiveRealPixResponse, IUnknown)
* If the status is PNR_OK, then the application can then shut down or turn
* around and call StartEncoder() again.
*/
- STDMETHOD(EncoderStopped)(THIS_ PN_RESULT status) PURE;
+ STDMETHOD(EncoderStopped) (THIS_ PN_RESULT status) PURE;
/*
* ErrorOccurred() is called when the encoder receives an error from the RealServer.
@@ -315,25 +315,25 @@ DECLARE_INTERFACE_(IRMALiveRealPixResponse, IUnknown)
* If an error occurs, it's probably a good idea to call StopEncoder() and shut
* down the encoder from the application side anyway.
*/
- STDMETHOD(ErrorOccurred)(THIS_ const UINT8 unSeverity,
- const ULONG32 ulRMACode,
- const ULONG32 ulUserCode,
- const char * pszUserString,
- const char * pszMoreInfoURL) PURE;
+ STDMETHOD(ErrorOccurred) (THIS_ const UINT8 unSeverity,
+ const ULONG32 ulRMACode,
+ const ULONG32 ulUserCode,
+ const char *pszUserString,
+ const char *pszMoreInfoURL) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMALiveRealPixResend
- *
+ *
* Purpose:
- *
+ *
* Allows re-sending and releasing of images with IRMALiveRealPix
- *
+ *
* IID_IRMALiveRealPixResend:
- *
+ *
* {D814DA11-8B02-11D3-8AF3-00C0F030B4E5}
*/
DEFINE_GUID(IID_IRMALiveRealPixResend, 0xd814da11, 0x8b02, 0x11d3, 0x8a, 0xfe, 0x0,
@@ -348,11 +348,11 @@ DECLARE_INTERFACE_(IRMALiveRealPixResend, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMALiveRealPixResend methods
@@ -360,10 +360,10 @@ DECLARE_INTERFACE_(IRMALiveRealPixResend, IUnknown)
/*
* InitResend() informs the encoder that from now on, after an
- * image is sent with SendImage() it should not be discarded
+ * image is sent with SendImage() it should not be discarded
* but held in the encoder until ReleaseImage() is called().
*/
- STDMETHOD(InitResend)(THIS_ IRMAValues * pOptions) PURE;
+ STDMETHOD(InitResend) (THIS_ IRMAValues* pOptions) PURE;
/*
* ReleaseImage() informs the encoder that the application no longer
@@ -372,14 +372,14 @@ DECLARE_INTERFACE_(IRMALiveRealPixResend, IUnknown)
* return PNR_UNKNOWN_IMAGE after ReleaseImage(x) has been called.
* ReleaseImage(x) will return PNR_UNKNOWN_IMAGE if x is an unknown handle.
*/
- STDMETHOD(ReleaseImage)(THIS_ UINT32 ulImageHandle) PURE;
+ STDMETHOD(ReleaseImage) (THIS_ UINT32 ulImageHandle) PURE;
/*
* DumpAllQueuedPackets() clears any packets currently waiting to be
* sent to the server. These packets were put on the send queue by
* either IRMALiveRealPix::SendImage() or IRMALiveRealPix::SendEffect().
*/
- STDMETHOD(DumpAllQueuedPackets)(THIS) PURE;
+ STDMETHOD(DumpAllQueuedPackets) (THIS) PURE;
};
#endif
diff --git a/include/realmedia/rmalvtxt.h b/include/realmedia/rmalvtxt.h
index 5fea10c33..98f58fb05 100644
--- a/include/realmedia/rmalvtxt.h
+++ b/include/realmedia/rmalvtxt.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmalvtxt.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -39,7 +39,7 @@
#define USE_DEFAULT_LINKCOLOR NULL
#define USE_DEFAULT_LINKUNDERLINING 0x2
#define USE_DEFAULT_WORDWRAP 0x2
-#define USE_DEFAULT_DOLOOPING 0L
+#define USE_DEFAULT_DOLOOPING 0L
#define USE_DEFAULT_IGNOREEXTRASPACES FALSE
@@ -53,7 +53,7 @@ typedef _INTERFACE IRMALiveText2 IRMALiveText2;
STDAPI
CreateLiveText(IRMALiveText**);
-typedef PN_RESULT(PNEXPORT_PTR FPRMCREATELIVETEXT)(IRMALiveText** ppLiveText);
+typedef PN_RESULT (PNEXPORT_PTR FPRMCREATELIVETEXT)(IRMALiveText** ppLiveText);
DEFINE_GUID(IID_IRMALiveText, 0x00001b00, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -67,13 +67,13 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/***********************************************************************/
@@ -85,36 +85,36 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
* InitLiveText() must be called before any of the other IRMALiveText
* methods:
*/
- STDMETHOD(InitLiveText)(THIS_
- /*
- * This is the computer where the
- * RMServer is running:
- */
- char * pAddress,
- /*
- * This is the port number defined in
- * the config file where the FSMount
- * option has the following entry:
- * { /encoder/, pn-encoder, Port=#### }
- * where #### is the port number that
- * encoders will use:
- */
- UINT16 port,
- char * pUsername,
- char * pPassword,
- /*
- * This is the "file" name that
- * RMPlayers can use to view the
- * stream. For example, if your
- * server was called "srv1" and the
- * rtsp port in the config file was
- * 8080, and the filename from the
- * encoder was "foo.rtx", then a
- * player could view the stream by
- * opening the following location:
- * "rtsp://srv1:8080/encoder/foo.rtx"
- */
- char * pFilename) PURE;
+ STDMETHOD(InitLiveText) (THIS_
+ /*
+ * This is the computer where the
+ * RMServer is running:
+ */
+ char* pAddress,
+ /*
+ * This is the port number defined in
+ * the config file where the FSMount
+ * option has the following entry:
+ * { /encoder/, pn-encoder, Port=#### }
+ * where #### is the port number that
+ * encoders will use:
+ */
+ UINT16 port,
+ char* pUsername,
+ char* pPassword,
+ /*
+ * This is the "file" name that
+ * RMPlayers can use to view the
+ * stream. For example, if your
+ * server was called "srv1" and the
+ * rtsp port in the config file was
+ * 8080, and the filename from the
+ * encoder was "foo.rtx", then a
+ * player could view the stream by
+ * opening the following location:
+ * "rtsp://srv1:8080/encoder/foo.rtx"
+ */
+ char* pFilename) PURE;
/* ******************************************************************* */
@@ -126,33 +126,33 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
* the following methods to set the stream type (e.g., "tickertape"),
* window width, height, background color, ...etc.
*/
+
+ STDMETHOD(SetType) (THIS_
+ char* szType) PURE;
- STDMETHOD(SetType)(THIS_
- char * szType) PURE;
-
- STDMETHOD(SetWindowDimensions)(THIS_
- ULONG32 width,
- ULONG32 height) PURE;
+ STDMETHOD(SetWindowDimensions) (THIS_
+ ULONG32 width,
+ ULONG32 height) PURE;
- STDMETHOD(SetTextMotion)(THIS_
- LONG32 scrollrate,
- LONG32 crawlrate) PURE;
+ STDMETHOD(SetTextMotion) (THIS_
+ LONG32 scrollrate,
+ LONG32 crawlrate) PURE;
- STDMETHOD(SetBackgroundColor)(THIS_
- char * szBackgroundColor) PURE;
+ STDMETHOD(SetBackgroundColor) (THIS_
+ char* szBackgroundColor) PURE;
- STDMETHOD(SetHyperlinkInfo)(THIS_
- BOOL underlineHyperlinks,
- char * szLinkColor) PURE;
+ STDMETHOD(SetHyperlinkInfo) (THIS_
+ BOOL underlineHyperlinks,
+ char* szLinkColor) PURE;
- STDMETHOD(UseWordwrap)(THIS_
- BOOL useWordwrap) PURE;
+ STDMETHOD(UseWordwrap) (THIS_
+ BOOL useWordwrap) PURE;
/*
* This is for "TickerTape"-type windows only; it is ignored by all
* other types:
*/
- STDMETHOD(SetDoLooping)(THIS_
- BOOL bDoLooping) PURE;
+ STDMETHOD(SetDoLooping) (THIS_
+ BOOL bDoLooping) PURE;
/* ******************************************************************* */
@@ -165,9 +165,9 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
* to send the text it has buffered based on the length of the text in
* the buffer and the time since the last packet was sent:
*/
- STDMETHOD(AddData)(THIS_
- char * szMoreData,
- BOOL bSendImmediately) PURE;
+ STDMETHOD(AddData) (THIS_
+ char* szMoreData,
+ BOOL bSendImmediately) PURE;
/*
* AddTickerItem() lets you add "tickertape" text to the stream.
* This method prepends "<TU>" to szTickerUpperData, and
@@ -177,14 +177,14 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
* AddData("<TU>ABCD", FALSE);
* AddData("<TL>5 1/2", TRUE);
* except that the former guarantees that the "upper" and "lower"
- * items will be sent in the same packet.
+ * items will be sent in the same packet.
* (Please see the comments above for AddData() for details on use of
* the second parameter, bSendImmediately.
*/
- STDMETHOD(AddTickerItem)(THIS_
- char * szTickerUpperData,
- char * szTickerLowerData,
- BOOL bSendImmediately) PURE;
+ STDMETHOD(AddTickerItem) (THIS_
+ char* szTickerUpperData,
+ char* szTickerLowerData,
+ BOOL bSendImmediately) PURE;
/* ******************************************************************* */
@@ -192,7 +192,7 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
* flush() tells the encoder to send everything that's in the buffer and
* clear it:
*/
- STDMETHOD(flush)(THIS) PURE;
+ STDMETHOD(flush) (THIS) PURE;
/* ******************************************************************* */
@@ -200,14 +200,14 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
* GetTime returns the current system time in milliseconds. The return
* value is a UINT32 (32-bit unsigned int):
*/
- STDMETHOD_(UINT32, GetTime)(THIS) PURE;
+ STDMETHOD_(UINT32,GetTime) (THIS) PURE;
/* ******************************************************************* */
/*
- * This must be called on a regular basis:
+ * This must be called on a regular basis:
*/
- STDMETHOD(Process)(THIS) PURE;
+ STDMETHOD(Process) (THIS) PURE;
/* ******************************************************************* */
@@ -215,10 +215,10 @@ DECLARE_INTERFACE_(IRMALiveText, IUnknown)
* These methods keep track of the encoder's state and must be called
* as they are in main.cpp in the exlvtext directory:
*/
- STDMETHOD_(BOOL, EncoderIsInitialized)(THIS) PURE;
- STDMETHOD_(BOOL, PacketsHaveStarted)(THIS) PURE;
- STDMETHOD_(BOOL, EncoderIsDone)(THIS) PURE;
- STDMETHOD(SetEncoderDone)(THIS) PURE;
+ STDMETHOD_(BOOL,EncoderIsInitialized) (THIS) PURE;
+ STDMETHOD_(BOOL,PacketsHaveStarted) (THIS) PURE;
+ STDMETHOD_(BOOL,EncoderIsDone) (THIS) PURE;
+ STDMETHOD(SetEncoderDone) (THIS) PURE;
};
@@ -233,13 +233,13 @@ DECLARE_INTERFACE_(IRMALiveText2, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/***********************************************************************/
@@ -255,20 +255,20 @@ DECLARE_INTERFACE_(IRMALiveText2, IUnknown)
* Note: these are additional to the IRMALiveText methods, listed
* above.
*/
-
+
/* This allows you to give an estimate of the bit rate needed by a live
* text stream so that the server can determine whether or not a player
* can view the stream based on its available bandwidth This method
* should be called before sending any data::
*/
- STDMETHOD(DeclareAverageBitrate)(THIS_
- ULONG32 ulAvgBitsPerSecond) PURE;
+ STDMETHOD(DeclareAverageBitrate) (THIS_
+ ULONG32 ulAvgBitsPerSecond) PURE;
/* As above, for DeclareAverageBitrate, this method should be called
* before sending any data::
*/
- STDMETHOD(DeclareMaximumBitrate)(THIS_
- ULONG32 ulMaxBitsPerSecond) PURE;
+ STDMETHOD(DeclareMaximumBitrate) (THIS_
+ ULONG32 ulMaxBitsPerSecond) PURE;
/*This determines how multiple contiguous space characters are presented;
* Defaults to FALSE which means that multiple spaces in non-tag text
@@ -276,14 +276,14 @@ DECLARE_INTERFACE_(IRMALiveText2, IUnknown)
* spaces will be treated as a single space. This method should be
* called before sending any data.
*/
- STDMETHOD(IgnoreExtraSpaces)(THIS_
- BOOL bIgnoreExtraSpaces) PURE;
+ STDMETHOD(IgnoreExtraSpaces) (THIS_
+ BOOL bIgnoreExtraSpaces) PURE;
/* This is for internal testing use only and does not affect the
* presentation of a live text stream:
*/
- STDMETHOD(SetFlags)(THIS_
- ULONG32 ulFlags) PURE;
+ STDMETHOD(SetFlags) (THIS_
+ ULONG32 ulFlags) PURE;
@@ -301,23 +301,23 @@ DECLARE_INTERFACE_(IRMALiveText2, IUnknown)
* following method would return the current time plus 100 if you called
* it right after calling AddData():
*/
- STDMETHOD(GetLastSentTextEndTime)(THIS_
- ULONG32 & ulLastEndTime) PURE;
+ STDMETHOD(GetLastSentTextEndTime) (THIS_
+ ULONG32& ulLastEndTime) PURE;
/* This method allows you to adjust the time, since the last data was
* sent, that the encoder waits before resending "heartbeat" packets that
* let the server know the encoder still alive and to let newly-connected
* players know what's currently visible in the window (in case they
* connected during a "dry" period in the stream, after the last new
- * text was sent). Time is in milliseconds. NOTE: this defaults to
+ * text was sent). Time is in milliseconds. NOTE: this defaults to
* 3000 milliseconds; any number higher than this will result in longer
* connect times for players coming in during a "dry" spell in the
* stream, and a sufficiently high value may cause the server to
* disconnect since it assumes the encoder has stopped if it does not
* periodically send data. This value's minimum is 500 milliseconds.
*/
- STDMETHOD(SetTimeBetweenDryStreamResends)(THIS_
- ULONG32 ulMillisecBetweenResends) PURE;
+ STDMETHOD(SetTimeBetweenDryStreamResends) (THIS_
+ ULONG32 ulMillisecBetweenResends) PURE;
};
diff --git a/include/realmedia/rmamon.h b/include/realmedia/rmamon.h
index eb96615d0..4f9c177fe 100644
--- a/include/realmedia/rmamon.h
+++ b/include/realmedia/rmamon.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmamon.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -44,7 +44,7 @@ typedef enum _RMAPropType
/*
- *
+ *
* Interface:
*
* IRMAPNRegistry
@@ -65,8 +65,8 @@ typedef enum _RMAPropType
* {00000600-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPNRegistry, 0x00000600, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPNRegistry, 0x00000600, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAPNRegistry IID_IRMAPNRegistry
@@ -78,13 +78,13 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPNRegistry methods
@@ -94,13 +94,13 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
* Method:
* IRMAPNRegistry::CreatePropWatch
* Purpose:
- * Create a new IRMAPropWatch object which can then be queried for
+ * Create a new IRMAPropWatch object which can then be queried for
* the right kind of IRMAPropWatch object.
*
- * pPropWatch - OUT - returns a new addref'ed IRMAPropWatch object
+ * pPropWatch - OUT - returns a new addref'ed IRMAPropWatch object
*/
- STDMETHOD(CreatePropWatch)(THIS_
- REF(IRMAPropWatch*) pPropWatch) PURE;
+ STDMETHOD(CreatePropWatch) (THIS_
+ REF(IRMAPropWatch*) pPropWatch) PURE;
/************************************************************************
* Method:
@@ -110,265 +110,265 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
* if successful. It returns ZERO (0) if an error occurred
* during the operation.
*
- * pName - IN - name of the Property that is going to be added to
+ * pName - IN - name of the Property that is going to be added to
* the registry
*/
- STDMETHOD_(UINT32, AddComp)(THIS_
- const char * pName) PURE;
+ STDMETHOD_(UINT32, AddComp) (THIS_
+ const char* pName) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::AddInt
* Purpose:
- * Add an INTEGER property with name in "pName" and value in
+ * Add an INTEGER property with name in "pName" and value in
* "iValue" to the registry. The return value is the id to
* the newly added Property or ZERO if there was an error.
*
- * pName - IN - name of the Property that is going to be added to
+ * pName - IN - name of the Property that is going to be added to
* the registry
- * nValue - IN - integer value of the Property that is going to be
+ * nValue - IN - integer value of the Property that is going to be
* added to the registry
*/
- STDMETHOD_(UINT32, AddInt)(THIS_
- const char * pName,
- const INT32 nValue) PURE;
+ STDMETHOD_(UINT32, AddInt) (THIS_
+ const char* pName,
+ const INT32 nValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetIntByName
* Purpose:
* Retreive an INTEGER value from the registry given its Property
- * name "pName". If the Property is found, it will return PNR_OK,
+ * name "pName". If the Property is found, it will return PNR_OK,
* otherwise it returns PNR_FAIL.
*
* pName - IN - name of the Property whose value is to be retreived
- * nValue - OUT - parameter into which the value of the Property is
+ * nValue - OUT - parameter into which the value of the Property is
* going to be returned
*/
- STDMETHOD(GetIntByName)(THIS_
- const char * pName,
- REF(INT32) nValue) const PURE;
+ STDMETHOD(GetIntByName) (THIS_
+ const char* pName,
+ REF(INT32) nValue) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetIntById
* Purpose:
- * Retreive an INTEGER value from the registry given its id "ulId".
- * If the Property is found, it will return PNR_OK, otherwise it
+ * Retreive an INTEGER value from the registry given its id "ulId".
+ * If the Property is found, it will return PNR_OK, otherwise it
* returns PNR_FAIL.
*
* ulId - IN - unique id of the Property whose value is to be retreived
- * nValue - OUT - parameter into which the value of the Property is
+ * nValue - OUT - parameter into which the value of the Property is
* going to be returned
*/
- STDMETHOD(GetIntById)(THIS_
- const UINT32 ulId,
- REF(INT32) nValue) const PURE;
+ STDMETHOD(GetIntById) (THIS_
+ const UINT32 ulId,
+ REF(INT32) nValue) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::SetIntByName
* Purpose:
* Modify a Property's INTEGER value in the registry given the
- * Property's name "pName". If the value was set, it will return PNR_OK,
+ * Property's name "pName". If the value was set, it will return PNR_OK,
* otherwise it returns PNR_FAIL.
*
* pName - IN - name of the Property whose value is to be set
* nValue - IN - the new value of the Property which is going to be set
*/
- STDMETHOD(SetIntByName)(THIS_
- const char * pName,
- const INT32 nValue) PURE;
+ STDMETHOD(SetIntByName) (THIS_
+ const char* pName,
+ const INT32 nValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::SetIntById
* Purpose:
* Modify a Property's INTEGER value in the registry given the
- * its id "id". If the value was set, it will return PNR_OK, otherwise
+ * its id "id". If the value was set, it will return PNR_OK, otherwise
* it returns PNR_FAIL.
*
* ulId - IN - unique id of the Property whose value is to be set
* nValue - IN - the new value of the Property which is going to be set
*/
- STDMETHOD(SetIntById)(THIS_
- const UINT32 id,
- const INT32 nValue) PURE;
+ STDMETHOD(SetIntById) (THIS_
+ const UINT32 id,
+ const INT32 nValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::AddStr
* Purpose:
- * Add an STRING property with name in "pName" and value in
+ * Add an STRING property with name in "pName" and value in
* "pValue" to the registry.
*
- * pName - IN - name of the Property that is going to be added to
+ * pName - IN - name of the Property that is going to be added to
* the registry
- * pValue - IN - buffer value of the Property that is going to be
+ * pValue - IN - buffer value of the Property that is going to be
* added to the registry
*/
- STDMETHOD_(UINT32, AddStr)(THIS_
- const char * pName,
- IRMABuffer * pValue) PURE;
+ STDMETHOD_(UINT32, AddStr) (THIS_
+ const char* pName,
+ IRMABuffer* pValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetStrByName
* Purpose:
* Retreive an STRING value from the registry given its Property
- * name "pName". If the Property is found, it will return PNR_OK,
+ * name "pName". If the Property is found, it will return PNR_OK,
* otherwise it returns PNR_FAIL.
*
* pName - IN - name of the Property whose value is to be retreived
- * pValue - OUT - parameter into which the value of the Property is
+ * pValue - OUT - parameter into which the value of the Property is
* going to be returned
*/
- STDMETHOD(GetStrByName)(THIS_
- const char * pName,
- REF(IRMABuffer*) pValue) const PURE;
+ STDMETHOD(GetStrByName) (THIS_
+ const char* pName,
+ REF(IRMABuffer*) pValue) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetStrById
* Purpose:
- * Retreive an STRING value from the registry given its id "ulId".
- * If the Property is found, it will return PNR_OK, otherwise it
+ * Retreive an STRING value from the registry given its id "ulId".
+ * If the Property is found, it will return PNR_OK, otherwise it
* returns PNR_FAIL.
*
* ulId - IN - unique id of the Property whose value is to be retreived
- * pValue - OUT - parameter into which the value of the Property is
+ * pValue - OUT - parameter into which the value of the Property is
* going to be returned
*/
- STDMETHOD(GetStrById)(THIS_
- const UINT32 ulId,
- REF(IRMABuffer*) pValue) const PURE;
+ STDMETHOD(GetStrById) (THIS_
+ const UINT32 ulId,
+ REF(IRMABuffer*) pValue) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::SetStrByName
* Purpose:
* Modify a Property's STRING value in the registry given the
- * Property's name "pName". If the value was set, it will return
+ * Property's name "pName". If the value was set, it will return
* PNR_OK, otherwise it returns PNR_FAIL.
*
* pName - IN - name of the Property whose value is to be set
* pValue - IN - the new value of the Property which is going to be set
*/
- STDMETHOD(SetStrByName)(THIS_
- const char * pName,
- IRMABuffer * pValue) PURE;
+ STDMETHOD(SetStrByName) (THIS_
+ const char* pName,
+ IRMABuffer* pValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::SetStrById
* Purpose:
* Modify a Property's STRING value in the registry given the
- * its id "ulId". If the value was set, it will return PNR_OK,
+ * its id "ulId". If the value was set, it will return PNR_OK,
* otherwise it returns PNR_FAIL.
*
* ulId - IN - unique id of the Property whose value is to be set
* pValue - IN - the new value of the Property which is going to be set
*/
- STDMETHOD(SetStrById)(THIS_
- const UINT32 ulId,
- IRMABuffer * pValue) PURE;
+ STDMETHOD(SetStrById) (THIS_
+ const UINT32 ulId,
+ IRMABuffer* pValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::AddBuf
* Purpose:
- * Add an BUFFER property with name in "pName" and value in
+ * Add an BUFFER property with name in "pName" and value in
* "pValue" to the registry.
*
- * pName - IN - name of the Property that is going to be added to
+ * pName - IN - name of the Property that is going to be added to
* the registry
- * pValue - IN - buffer value of the Property that is going to be
+ * pValue - IN - buffer value of the Property that is going to be
* added to the registry
*/
- STDMETHOD_(UINT32, AddBuf)(THIS_
- const char * pName,
- IRMABuffer * pValue) PURE;
+ STDMETHOD_(UINT32, AddBuf) (THIS_
+ const char* pName,
+ IRMABuffer* pValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetBufByName
* Purpose:
- * Retreive the BUFFER from the registry given its Property name
- * "pName". If the Property is found, it will return PNR_OK, otherwise
+ * Retreive the BUFFER from the registry given its Property name
+ * "pName". If the Property is found, it will return PNR_OK, otherwise
* it returns PNR_FAIL.
*
* pName - IN - name of the Property whose value is to be retreived
- * pValue - OUT - parameter into which the value of the Property is
+ * pValue - OUT - parameter into which the value of the Property is
* going to be returned
*/
- STDMETHOD(GetBufByName)(THIS_
- const char * pName,
- REF(IRMABuffer*) pValue) const PURE;
+ STDMETHOD(GetBufByName) (THIS_
+ const char* pName,
+ REF(IRMABuffer*) pValue) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetBufById
* Purpose:
- * Retreive the BUFFER from the registry given its id "ulId". If the
- * Property is found, it will return PNR_OK, otherwise it returns
+ * Retreive the BUFFER from the registry given its id "ulId". If the
+ * Property is found, it will return PNR_OK, otherwise it returns
* PNR_FAIL.
*
* ulId - IN - unique id of the Property whose value is to be retreived
- * pValue - OUT - parameter into which the value of the Property is
+ * pValue - OUT - parameter into which the value of the Property is
* going to be returned
*/
- STDMETHOD(GetBufById)(THIS_
- const UINT32 ulId,
- REF(IRMABuffer*) pValue) const PURE;
+ STDMETHOD(GetBufById) (THIS_
+ const UINT32 ulId,
+ REF(IRMABuffer*) pValue) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::SetBufByName
* Purpose:
* Modify a Property's BUFFER in the registry given the
- * Property's name "pName". If the value was set, it will return
+ * Property's name "pName". If the value was set, it will return
* PNR_OK, otherwise it returns PNR_FAIL.
*
* pName - IN - name of the Property whose value is to be set
* pValue - IN - the new value of the Property which is going to be set
*/
- STDMETHOD(SetBufByName)(THIS_
- const char * pName,
- IRMABuffer * pValue) PURE;
+ STDMETHOD(SetBufByName) (THIS_
+ const char* pName,
+ IRMABuffer* pValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::SetBufById
* Purpose:
- * Modify a Property's BUFFER in the registry given its id "ulId".
- * If the value was set, it will return PNR_OK, otherwise it returns
+ * Modify a Property's BUFFER in the registry given its id "ulId".
+ * If the value was set, it will return PNR_OK, otherwise it returns
* PNR_FAIL.
*
* ulId - IN - unique id of the Property whose value is to be set
* pValue - IN - the new value of the Property which is going to be set
*/
- STDMETHOD(SetBufById)(THIS_
- const UINT32 ulId,
- IRMABuffer * pValue) PURE;
+ STDMETHOD(SetBufById) (THIS_
+ const UINT32 ulId,
+ IRMABuffer* pValue) PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::AddIntRef
* Purpose:
- * Add an INTEGER REFERENCE property with name in "pName" and
+ * Add an INTEGER REFERENCE property with name in "pName" and
* value in "iValue" to the registry. This property allows the user
* to modify its contents directly, without having to go through the
* registry.
*
- * pName - IN - name of the Property that is going to be added to
+ * pName - IN - name of the Property that is going to be added to
* the registry
* pValue - IN - the pointer of the integer value is what gets stored
- * in the registry as the Interger Reference Property's
+ * in the registry as the Interger Reference Property's
* value
*/
- STDMETHOD_(UINT32, AddIntRef)(THIS_
- const char * pName,
- INT32 * pValue) PURE;
+ STDMETHOD_(UINT32, AddIntRef) (THIS_
+ const char* pName,
+ INT32* pValue) PURE;
/************************************************************************
* Method:
@@ -378,8 +378,8 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
*
* pName - IN - name of the Property that is going to be deleted
*/
- STDMETHOD_(UINT32, DeleteByName)(THIS_
- const char * pName) PURE;
+ STDMETHOD_(UINT32, DeleteByName) (THIS_
+ const char* pName) PURE;
/************************************************************************
* Method:
@@ -389,8 +389,8 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
*
* ulId - IN - unique id of the Property that is going to be deleted
*/
- STDMETHOD_(UINT32, DeleteById)(THIS_
- const UINT32 ulId) PURE;
+ STDMETHOD_(UINT32, DeleteById) (THIS_
+ const UINT32 ulId) PURE;
/************************************************************************
* Method:
@@ -400,8 +400,8 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
*
* pName - IN - name of the Property whose type is to be retreived
*/
- STDMETHOD_(RMAPropType, GetTypeByName)(THIS_
- const char * pName) const PURE;
+ STDMETHOD_(RMAPropType, GetTypeByName) (THIS_
+ const char* pName) const PURE;
/************************************************************************
* Method:
@@ -411,35 +411,35 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
*
* ulId - IN - unique id of the Property whose type is to be retreived
*/
- STDMETHOD_(RMAPropType, GetTypeById)(THIS_
- const UINT32 ulId) const PURE;
+ STDMETHOD_(RMAPropType, GetTypeById) (THIS_
+ const UINT32 ulId) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::FindParentIdByName
* Purpose:
- * Returns the id value of the parent node of the Property whose
- * name "pName" has been passed in. If it fails, a ZERO value is
+ * Returns the id value of the parent node of the Property whose
+ * name "pName" has been passed in. If it fails, a ZERO value is
* returned.
*
* pName - IN - name of the Property whose parent's unique id is to be
* retreived
*/
- STDMETHOD_(UINT32, FindParentIdByName)(THIS_
- const char * pName) const PURE;
+ STDMETHOD_(UINT32, FindParentIdByName) (THIS_
+ const char* pName) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::FindParentIdById
* Purpose:
- * Returns the id value of the parent node of the Property whose
+ * Returns the id value of the parent node of the Property whose
* id "ulId" has been passed in. If it fails, a ZERO value is returned.
*
* ulId - IN - unique id of the Property whose parent's id is to be
* retreived
*/
- STDMETHOD_(UINT32, FindParentIdById)(THIS_
- const UINT32 ulId) const PURE;
+ STDMETHOD_(UINT32, FindParentIdById) (THIS_
+ const UINT32 ulId) const PURE;
/************************************************************************
* Method:
@@ -452,9 +452,9 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
* pName - OUT - parameter into which the Property name is going to be
* returned
*/
- STDMETHOD(GetPropName)(THIS_
- const UINT32 ulId,
- REF(IRMABuffer*) pName) const PURE;
+ STDMETHOD(GetPropName) (THIS_
+ const UINT32 ulId,
+ REF(IRMABuffer*) pName) const PURE;
/************************************************************************
* Method:
@@ -462,24 +462,24 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
* Purpose:
* Returns the Property's id given the Property name.
*
- * pName - IN - name of the Property whose unique id is to be
+ * pName - IN - name of the Property whose unique id is to be
* retreived
*/
- STDMETHOD_(UINT32, GetId)(THIS_
- const char * pName) const PURE;
+ STDMETHOD_(UINT32, GetId) (THIS_
+ const char* pName) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetPropListOfRoot
* Purpose:
- * Returns an array of a Properties under the root level of the
+ * Returns an array of a Properties under the root level of the
* registry's hierarchy.
*
- * pValues - OUT - list of property name and unique id at the
+ * pValues - OUT - list of property name and unique id at the
* highest level (root) in the registry
*/
- STDMETHOD(GetPropListOfRoot)(THIS_
- REF(IRMAValues*) pValues) const PURE;
+ STDMETHOD(GetPropListOfRoot) (THIS_
+ REF(IRMAValues*) pValues) const PURE;
/************************************************************************
* Method:
@@ -490,12 +490,12 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
*
* pName - IN - name of the Property whose child property list is to be
* retreived
- * pValues - OUT - list of property name and unique id under the
+ * pValues - OUT - list of property name and unique id under the
* Property whose name is in "pName"
*/
- STDMETHOD(GetPropListByName)(THIS_
- const char * pName,
- REF(IRMAValues*) pValues) const PURE;
+ STDMETHOD(GetPropListByName) (THIS_
+ const char* pName,
+ REF(IRMAValues*) pValues) const PURE;
/************************************************************************
* Method:
@@ -504,53 +504,53 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
* Returns an array of Properties immediately under the one whose
* id is passed in "ulId".
*
- * ulId - IN - unique id of the Property whose child property list is
+ * ulId - IN - unique id of the Property whose child property list is
* to be retreived
- * pValues - OUT - list of property name and unique id under the
+ * pValues - OUT - list of property name and unique id under the
* Property whose is is in "ulId"
*/
- STDMETHOD(GetPropListById)(THIS_
- const UINT32 ulId,
- REF(IRMAValues*) pValues) const PURE;
+ STDMETHOD(GetPropListById) (THIS_
+ const UINT32 ulId,
+ REF(IRMAValues*) pValues) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetNumPropsAtRoot
* Purpose:
- * Returns the number of Properties at the root of the registry.
+ * Returns the number of Properties at the root of the registry.
*/
- STDMETHOD_(INT32, GetNumPropsAtRoot)(THIS) const PURE;
+ STDMETHOD_(INT32, GetNumPropsAtRoot) (THIS) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetNumPropsByName
* Purpose:
- * Returns the count of the number of Properties under the one
+ * Returns the count of the number of Properties under the one
* whose name is specified in "pName".
*
* pName - IN - name of the Property whose number of children is to be
* retreived
*/
- STDMETHOD_(INT32, GetNumPropsByName)(THIS_
- const char * pName) const PURE;
+ STDMETHOD_(INT32, GetNumPropsByName) (THIS_
+ const char* pName) const PURE;
/************************************************************************
* Method:
* IRMAPNRegistry::GetNumPropsById
* Purpose:
- * Returns the count of the number of Properties under the one
+ * Returns the count of the number of Properties under the one
* whose unique id is specified in "ulId".
*
- * ulId - IN - unique id of the Property whose number of children is
+ * ulId - IN - unique id of the Property whose number of children is
* to be retreived
*/
- STDMETHOD_(INT32, GetNumPropsById)(THIS_
- const UINT32 ulId) const PURE;
+ STDMETHOD_(INT32, GetNumPropsById) (THIS_
+ const UINT32 ulId) const PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAPropWatch
@@ -566,8 +566,8 @@ DECLARE_INTERFACE_(IRMAPNRegistry, IUnknown)
* {00000601-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPropWatch, 0x00000601, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPropWatch, 0x00000601, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPropWatch
@@ -577,13 +577,13 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPropWatch methods
@@ -600,8 +600,8 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
* initialize the IRMAPropWatch object. the response
* object gets AddRef'd in the Init method.
*/
- STDMETHOD(Init)(THIS_
- IRMAPropWatchResponse * pResponse) PURE;
+ STDMETHOD(Init) (THIS_
+ IRMAPropWatchResponse* pResponse) PURE;
/************************************************************************
* Method:
@@ -611,7 +611,7 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
* the registry hierarchy. It notifies ONLY IF properties at THIS LEVEL
* get added/modified/deleted.
*/
- STDMETHOD_(UINT32, SetWatchOnRoot)(THIS) PURE;
+ STDMETHOD_(UINT32, SetWatchOnRoot) (THIS) PURE;
/************************************************************************
* Method:
@@ -624,8 +624,8 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
*
* pName - IN - name of Property on which a watch point is to be added
*/
- STDMETHOD_(UINT32, SetWatchByName)(THIS_
- const char * pName) PURE;
+ STDMETHOD_(UINT32, SetWatchByName) (THIS_
+ const char* pName) PURE;
/************************************************************************
* Method:
@@ -636,11 +636,11 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
* notification of that will be sent to the object which set the
* watch-point.
*
- * ulId - IN - unique id of Property on which a watch point is to be
+ * ulId - IN - unique id of Property on which a watch point is to be
* added
*/
- STDMETHOD_(UINT32, SetWatchById)(THIS_
- const UINT32 ulId) PURE;
+ STDMETHOD_(UINT32, SetWatchById) (THIS_
+ const UINT32 ulId) PURE;
/************************************************************************
* Method:
@@ -648,7 +648,7 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
* Purpose:
* It clears the watch on the root of the registry.
*/
- STDMETHOD(ClearWatchOnRoot)(THIS) PURE;
+ STDMETHOD(ClearWatchOnRoot) (THIS) PURE;
/************************************************************************
* Method:
@@ -658,8 +658,8 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
*
* pName - IN - name of Property whose watch point is to be cleared
*/
- STDMETHOD(ClearWatchByName)(THIS_
- const char * pName) PURE;
+ STDMETHOD(ClearWatchByName) (THIS_
+ const char* pName) PURE;
/************************************************************************
* Method:
@@ -669,13 +669,13 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
*
* ulId - IN - unique id of Property whose watch point is to be cleared
*/
- STDMETHOD(ClearWatchById)(THIS_
- const UINT32 ulId) PURE;
+ STDMETHOD(ClearWatchById) (THIS_
+ const UINT32 ulId) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAPropWatchResponse
@@ -690,8 +690,8 @@ DECLARE_INTERFACE_(IRMAPropWatch, IUnknown)
* {00000602-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPropWatchResponse, 0x00000602, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPropWatchResponse, 0x00000602, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPropWatchResponse
@@ -701,13 +701,13 @@ DECLARE_INTERFACE_(IRMAPropWatchResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPropWatchResponse methods
@@ -717,15 +717,15 @@ DECLARE_INTERFACE_(IRMAPropWatchResponse, IUnknown)
* Method:
* IRMAPropWatchResponse::AddedProp
* Purpose:
- * Gets called when a new Property gets added under the Property
- * on which the Watch was set. It passes the id of the Property just
- * added, its datatype and the id of its immediate parent COMPOSITE
+ * Gets called when a new Property gets added under the Property
+ * on which the Watch was set. It passes the id of the Property just
+ * added, its datatype and the id of its immediate parent COMPOSITE
* property.
*/
- STDMETHOD(AddedProp)(THIS_
- const UINT32 ulId,
- const RMAPropType propType,
- const UINT32 ulParentID) PURE;
+ STDMETHOD(AddedProp) (THIS_
+ const UINT32 ulId,
+ const RMAPropType propType,
+ const UINT32 ulParentID) PURE;
/************************************************************************
* Method:
@@ -735,10 +735,10 @@ DECLARE_INTERFACE_(IRMAPropWatchResponse, IUnknown)
* the id of the Property just modified, its datatype and the
* id of its immediate parent COMPOSITE property.
*/
- STDMETHOD(ModifiedProp)(THIS_
- const UINT32 ulId,
- const RMAPropType propType,
- const UINT32 ulParentID) PURE;
+ STDMETHOD(ModifiedProp) (THIS_
+ const UINT32 ulId,
+ const RMAPropType propType,
+ const UINT32 ulParentID) PURE;
/************************************************************************
* Method:
@@ -748,20 +748,20 @@ DECLARE_INTERFACE_(IRMAPropWatchResponse, IUnknown)
* seen, it returns the id of the Property just deleted and
* its immediate parent COMPOSITE property.
*/
- STDMETHOD(DeletedProp)(THIS_
- const UINT32 ulId,
- const UINT32 ulParentID) PURE;
+ STDMETHOD(DeletedProp) (THIS_
+ const UINT32 ulId,
+ const UINT32 ulParentID) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAActiveRegistry
*
* Purpose:
*
- * Interface to get IRMAActiveUser responsible for a particular property
+ * Interface to get IRMAActiveUser responsible for a particular property
* from the registry.
*
* IID_IRMAActiveRegistry:
@@ -769,8 +769,8 @@ DECLARE_INTERFACE_(IRMAPropWatchResponse, IUnknown)
* {00000603-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAActiveRegistry, 0x00000603, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAActiveRegistry, 0x00000603, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAActiveRegistry
@@ -780,13 +780,13 @@ DECLARE_INTERFACE_(IRMAActiveRegistry, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAActiveRegistry::SetAsActive
@@ -794,18 +794,18 @@ DECLARE_INTERFACE_(IRMAActiveRegistry, IUnknown)
* Method to set prop pName to active and register pUser as
* the active prop user.
*/
- STDMETHOD(SetAsActive)(THIS_
- const char * pName,
- IRMAActivePropUser * pUser) PURE;
+ STDMETHOD(SetAsActive) (THIS_
+ const char* pName,
+ IRMAActivePropUser* pUser) PURE;
/************************************************************************
* IRMAActiveRegistry::SetAsInactive
*
* Method to remove an IRMAActiveUser from Prop activation.
*/
- STDMETHOD(SetAsInactive)(THIS_
- const char * pName,
- IRMAActivePropUser * pUser) PURE;
+ STDMETHOD(SetAsInactive) (THIS_
+ const char* pName,
+ IRMAActivePropUser* pUser) PURE;
/************************************************************************
* IRMAActiveRegistry::IsActive
@@ -813,65 +813,65 @@ DECLARE_INTERFACE_(IRMAActiveRegistry, IUnknown)
* Tells if prop pName has an active user that must be queried to
* change the value, or if it can just be set.
*/
- STDMETHOD_(BOOL, IsActive)(THIS_
- const char * pName) PURE;
+ STDMETHOD_(BOOL, IsActive) (THIS_
+ const char* pName) PURE;
/************************************************************************
* IRMAActiveRegistry::SetActiveInt
*
* Async request to set int pName to ul.
*/
- STDMETHOD(SetActiveInt)(THIS_
- const char * pName,
- UINT32 ul,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(SetActiveInt) (THIS_
+ const char* pName,
+ UINT32 ul,
+ IRMAActivePropUserResponse* pResponse) PURE;
/************************************************************************
* IRMAActiveRegistry::SetActiveStr
*
* Async request to set string pName to string in pBuffer.
*/
- STDMETHOD(SetActiveStr)(THIS_
- const char * pName,
- IRMABuffer * pBuffer,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(SetActiveStr) (THIS_
+ const char* pName,
+ IRMABuffer* pBuffer,
+ IRMAActivePropUserResponse* pResponse) PURE;
/************************************************************************
* IRMAActiveRegistry::SetActiveBuf
*
* Async request to set buffer pName to buffer in pBuffer.
*/
- STDMETHOD(SetActiveBuf)(THIS_
- const char * pName,
- IRMABuffer * pBuffer,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(SetActiveBuf) (THIS_
+ const char* pName,
+ IRMABuffer* pBuffer,
+ IRMAActivePropUserResponse* pResponse) PURE;
/************************************************************************
* IRMAActiveRegistry::DeleteActiveProp
*
* Async request to delete the active property.
*/
- STDMETHOD(DeleteActiveProp)(THIS_
- const char * pName,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(DeleteActiveProp) (THIS_
+ const char* pName,
+ IRMAActivePropUserResponse* pResponse) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAActivePropUser
*
* Purpose:
*
- * An IRMAActivePropUser can be set as the active user of a property in
- * an IRMAActiveRegistry. This causes the IRMAActivePropUser to be consulted
- * everytime someone wants to change a property. The difference between this
- * and a prop watch is that this is async, and can call a done method with
- * failure to cause the prop to not be set, and this get called instead of
+ * An IRMAActivePropUser can be set as the active user of a property in
+ * an IRMAActiveRegistry. This causes the IRMAActivePropUser to be consulted
+ * everytime someone wants to change a property. The difference between this
+ * and a prop watch is that this is async, and can call a done method with
+ * failure to cause the prop to not be set, and this get called instead of
* calling into the IRMAPNReg.
*
* IID_IRMAActivePropUser:
@@ -879,8 +879,8 @@ DECLARE_INTERFACE_(IRMAActiveRegistry, IUnknown)
* {00000604-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAActivePropUser, 0x00000604, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAActivePropUser, 0x00000604, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAActivePropUser
@@ -890,57 +890,57 @@ DECLARE_INTERFACE_(IRMAActivePropUser, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAActivePropUser::SetActiveInt
*
* Async request to set int pName to ul.
*/
- STDMETHOD(SetActiveInt)(THIS_
- const char * pName,
- UINT32 ul,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(SetActiveInt) (THIS_
+ const char* pName,
+ UINT32 ul,
+ IRMAActivePropUserResponse* pResponse) PURE;
/************************************************************************
* IRMAActivePropUser::SetActiveStr
*
* Async request to set string pName to string in pBuffer.
*/
- STDMETHOD(SetActiveStr)(THIS_
- const char * pName,
- IRMABuffer * pBuffer,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(SetActiveStr) (THIS_
+ const char* pName,
+ IRMABuffer* pBuffer,
+ IRMAActivePropUserResponse* pResponse) PURE;
/************************************************************************
* IRMAActivePropUser::SetActiveBuf
*
* Async request to set buffer pName to buffer in pBuffer.
*/
- STDMETHOD(SetActiveBuf)(THIS_
- const char * pName,
- IRMABuffer * pBuffer,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(SetActiveBuf) (THIS_
+ const char* pName,
+ IRMABuffer* pBuffer,
+ IRMAActivePropUserResponse* pResponse) PURE;
/************************************************************************
* IRMAActivePropUser::DeleteActiveProp
*
* Async request to delete the active property.
*/
- STDMETHOD(DeleteActiveProp)(THIS_
- const char * pName,
- IRMAActivePropUserResponse * pResponse) PURE;
+ STDMETHOD(DeleteActiveProp) (THIS_
+ const char* pName,
+ IRMAActivePropUserResponse* pResponse) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAActivePropUserResponse
@@ -956,8 +956,8 @@ DECLARE_INTERFACE_(IRMAActivePropUser, IUnknown)
* {00000605-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAActivePropUserResponse, 0x00000605, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAActivePropUserResponse, 0x00000605, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAActivePropUserResponse
@@ -967,48 +967,48 @@ DECLARE_INTERFACE_(IRMAActivePropUserResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Called with status result on completion of set request.
*/
- STDMETHOD(SetActiveIntDone)(THIS_
- PN_RESULT res,
- const char * pName,
- UINT32 ul,
- IRMABuffer * pInfo[],
- UINT32 ulNumInfo) PURE;
-
- STDMETHOD(SetActiveStrDone)(THIS_
- PN_RESULT res,
- const char * pName,
- IRMABuffer * pBuffer,
- IRMABuffer * pInfo[],
- UINT32 ulNumInfo) PURE;
-
- STDMETHOD(SetActiveBufDone)(THIS_
- PN_RESULT res,
- const char * pName,
- IRMABuffer * pBuffer,
- IRMABuffer * pInfo[],
- UINT32 ulNumInfo) PURE;
-
- STDMETHOD(DeleteActivePropDone)(THIS_
- PN_RESULT res,
- const char * pName,
- IRMABuffer * pInfo[],
- UINT32 ulNumInfo) PURE;
+ STDMETHOD(SetActiveIntDone) (THIS_
+ PN_RESULT res,
+ const char* pName,
+ UINT32 ul,
+ IRMABuffer* pInfo[],
+ UINT32 ulNumInfo) PURE;
+
+ STDMETHOD(SetActiveStrDone) (THIS_
+ PN_RESULT res,
+ const char* pName,
+ IRMABuffer* pBuffer,
+ IRMABuffer* pInfo[],
+ UINT32 ulNumInfo) PURE;
+
+ STDMETHOD(SetActiveBufDone) (THIS_
+ PN_RESULT res,
+ const char* pName,
+ IRMABuffer* pBuffer,
+ IRMABuffer* pInfo[],
+ UINT32 ulNumInfo) PURE;
+
+ STDMETHOD(DeleteActivePropDone) (THIS_
+ PN_RESULT res,
+ const char* pName,
+ IRMABuffer* pInfo[],
+ UINT32 ulNumInfo) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMACopyRegistry
@@ -1023,8 +1023,8 @@ DECLARE_INTERFACE_(IRMAActivePropUserResponse, IUnknown)
* {00000606-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMACopyRegistry, 0x00000606, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMACopyRegistry, 0x00000606, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMACopyRegistry
@@ -1034,27 +1034,27 @@ DECLARE_INTERFACE_(IRMACopyRegistry, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMACopyRegistry::Copy
*
* Here it is! The "Copy" method!
*/
- STDMETHOD(CopyByName)(THIS_
- const char * pFrom,
- const char * pTo) PURE;
+ STDMETHOD (CopyByName) (THIS_
+ const char* pFrom,
+ const char* pTo) PURE;
};
/*
- *
+ *
* Interface:
*
* IRMAPNRegistryAltStringHandling
@@ -1069,8 +1069,8 @@ DECLARE_INTERFACE_(IRMACopyRegistry, IUnknown)
* {00000607-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPNRegistryAltStringHandling, 0x00000607, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPNRegistryAltStringHandling, 0x00000607, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPNRegistryAltStringHandling
@@ -1080,13 +1080,13 @@ DECLARE_INTERFACE_(IRMAPNRegistryAltStringHandling, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAPNRegistryAltStringHandling::SetStringAccessAsBufferById
@@ -1097,8 +1097,8 @@ DECLARE_INTERFACE_(IRMAPNRegistryAltStringHandling, IUnknown)
* method it's ID. The property will now be accessible/setable as a,
* but it will still be a string!
*/
- STDMETHOD(SetStringAccessAsBufferById)(THIS_
- UINT32 ulId) PURE;
+ STDMETHOD (SetStringAccessAsBufferById) (THIS_
+ UINT32 ulId) PURE;
};
diff --git a/include/realmedia/rmapckts.h b/include/realmedia/rmapckts.h
index 8c943ecf9..42cbf57ff 100644
--- a/include/realmedia/rmapckts.h
+++ b/include/realmedia/rmapckts.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmapckts.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -26,15 +26,15 @@
/****************************************************************************
- *
+ *
* Interface:
*
* IRMABuffer
*
* Purpose:
*
- * Basic opaque data storage buffer. Used in interfaces where
- * object ownership is best managed through COM style reference
+ * Basic opaque data storage buffer. Used in interfaces where
+ * object ownership is best managed through COM style reference
* counting.
*
* IID_IRMABuffer:
@@ -42,8 +42,8 @@
* {00001300-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMABuffer, 0x00001300, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMABuffer, 0x00001300, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
/*
* The IRMACommonClassFactory supports creating an instance
@@ -59,36 +59,36 @@ DECLARE_INTERFACE_(IRMABuffer, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMABuffer methods
*/
- STDMETHOD(Get)(THIS_
- REF(UCHAR*) pData,
- REF(ULONG32) ulLength) PURE;
+ STDMETHOD(Get) (THIS_
+ REF(UCHAR*) pData,
+ REF(ULONG32) ulLength) PURE;
- STDMETHOD(Set)(THIS_
- const UCHAR * pData,
- ULONG32 ulLength) PURE;
+ STDMETHOD(Set) (THIS_
+ const UCHAR* pData,
+ ULONG32 ulLength) PURE;
- STDMETHOD(SetSize)(THIS_
- ULONG32 ulLength) PURE;
+ STDMETHOD(SetSize) (THIS_
+ ULONG32 ulLength) PURE;
- STDMETHOD_(ULONG32, GetSize)(THIS) PURE;
+ STDMETHOD_(ULONG32,GetSize) (THIS) PURE;
- STDMETHOD_(UCHAR*, GetBuffer)(THIS) PURE;
+ STDMETHOD_(UCHAR*,GetBuffer)(THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPacket
@@ -102,8 +102,8 @@ DECLARE_INTERFACE_(IRMABuffer, IUnknown)
* {00001301-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPacket, 0x00001301, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacket, 0x00001301, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
/*
* The IRMACommonClassFactory supports creating an instance
@@ -119,51 +119,51 @@ DECLARE_INTERFACE_(IRMAPacket, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacket methods
*/
- STDMETHOD(Get)(THIS_
- REF(IRMABuffer*) pBuffer,
- REF(UINT32) ulTime,
- REF(UINT16) unStreamNumber,
- REF(UINT8) unASMFlags,
- REF(UINT16) unASMRuleNumber
- ) PURE;
+ STDMETHOD(Get) (THIS_
+ REF(IRMABuffer*) pBuffer,
+ REF(UINT32) ulTime,
+ REF(UINT16) unStreamNumber,
+ REF(UINT8) unASMFlags,
+ REF(UINT16) unASMRuleNumber
+ ) PURE;
- STDMETHOD_(IRMABuffer*, GetBuffer)(THIS) PURE;
+ STDMETHOD_(IRMABuffer*,GetBuffer) (THIS) PURE;
- STDMETHOD_(ULONG32, GetTime)(THIS) PURE;
+ STDMETHOD_(ULONG32,GetTime) (THIS) PURE;
- STDMETHOD_(UINT16, GetStreamNumber)(THIS) PURE;
+ STDMETHOD_(UINT16,GetStreamNumber) (THIS) PURE;
- STDMETHOD_(UINT8, GetASMFlags)(THIS) PURE;
+ STDMETHOD_(UINT8,GetASMFlags) (THIS) PURE;
- STDMETHOD_(UINT16, GetASMRuleNumber)(THIS) PURE;
+ STDMETHOD_(UINT16,GetASMRuleNumber) (THIS) PURE;
- STDMETHOD_(BOOL, IsLost)(THIS) PURE;
+ STDMETHOD_(BOOL,IsLost) (THIS) PURE;
- STDMETHOD(SetAsLost)(THIS) PURE;
+ STDMETHOD(SetAsLost) (THIS) PURE;
- STDMETHOD(Set)(THIS_
- IRMABuffer * pBuffer,
- UINT32 ulTime,
- UINT16 uStreamNumber,
- UINT8 unASMFlags,
- UINT16 unASMRuleNumber
- ) PURE;
+ STDMETHOD(Set) (THIS_
+ IRMABuffer* pBuffer,
+ UINT32 ulTime,
+ UINT16 uStreamNumber,
+ UINT8 unASMFlags,
+ UINT16 unASMRuleNumber
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPacket
@@ -177,8 +177,8 @@ DECLARE_INTERFACE_(IRMAPacket, IUnknown)
* {0169A731-1ED0-11d4-952B-00902742C923}
*
*/
-DEFINE_GUID(IID_IRMARTPPacket, 0x169a731, 0x1ed0, 0x11d4, 0x95, 0x2b, 0x0,
- 0x90, 0x27, 0x42, 0xc9, 0x23);
+DEFINE_GUID(IID_IRMARTPPacket, 0x169a731, 0x1ed0, 0x11d4, 0x95, 0x2b, 0x0,
+ 0x90, 0x27, 0x42, 0xc9, 0x23);
/*
* The IRMACommonClassFactory supports creating an instance
@@ -194,74 +194,74 @@ DECLARE_INTERFACE_(IRMARTPPacket, IRMAPacket)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacket methods
*/
- STDMETHOD(Get)(THIS_
- REF(IRMABuffer*) pBuffer,
- REF(UINT32) ulTime,
- REF(UINT16) unStreamNumber,
- REF(UINT8) unASMFlags,
- REF(UINT16) unASMRuleNumber
- ) PURE;
+ STDMETHOD(Get) (THIS_
+ REF(IRMABuffer*) pBuffer,
+ REF(UINT32) ulTime,
+ REF(UINT16) unStreamNumber,
+ REF(UINT8) unASMFlags,
+ REF(UINT16) unASMRuleNumber
+ ) PURE;
- STDMETHOD_(IRMABuffer*, GetBuffer)(THIS) PURE;
+ STDMETHOD_(IRMABuffer*,GetBuffer) (THIS) PURE;
- STDMETHOD_(ULONG32, GetTime)(THIS) PURE;
+ STDMETHOD_(ULONG32,GetTime) (THIS) PURE;
- STDMETHOD_(UINT16, GetStreamNumber)(THIS) PURE;
+ STDMETHOD_(UINT16,GetStreamNumber) (THIS) PURE;
- STDMETHOD_(UINT8, GetASMFlags)(THIS) PURE;
+ STDMETHOD_(UINT8,GetASMFlags) (THIS) PURE;
- STDMETHOD_(UINT16, GetASMRuleNumber)(THIS) PURE;
+ STDMETHOD_(UINT16,GetASMRuleNumber) (THIS) PURE;
- STDMETHOD_(BOOL, IsLost)(THIS) PURE;
+ STDMETHOD_(BOOL,IsLost) (THIS) PURE;
- STDMETHOD(SetAsLost)(THIS) PURE;
+ STDMETHOD(SetAsLost) (THIS) PURE;
- STDMETHOD(Set)(THIS_
- IRMABuffer * pBuffer,
- UINT32 ulTime,
- UINT16 uStreamNumber,
- UINT8 unASMFlags,
- UINT16 unASMRuleNumber
- ) PURE;
+ STDMETHOD(Set) (THIS_
+ IRMABuffer* pBuffer,
+ UINT32 ulTime,
+ UINT16 uStreamNumber,
+ UINT8 unASMFlags,
+ UINT16 unASMRuleNumber
+ ) PURE;
/*
* IRMARTPPacket methods
*/
- STDMETHOD_(ULONG32, GetRTPTime)(THIS) PURE;
-
- STDMETHOD(GetRTP)(THIS_
- REF(IRMABuffer*) pBuffer,
- REF(UINT32) ulTime,
- REF(UINT32) ulRTPTime,
- REF(UINT16) unStreamNumber,
- REF(UINT8) unASMFlags,
- REF(UINT16) unASMRuleNumber
- ) PURE;
-
- STDMETHOD(SetRTP)(THIS_
- IRMABuffer * pBuffer,
- UINT32 ulTime,
- UINT32 ulRTPTime,
- UINT16 uStreamNumber,
- UINT8 unASMFlags,
- UINT16 unASMRuleNumber
- ) PURE;
+ STDMETHOD_(ULONG32,GetRTPTime) (THIS) PURE;
+
+ STDMETHOD(GetRTP) (THIS_
+ REF(IRMABuffer*) pBuffer,
+ REF(UINT32) ulTime,
+ REF(UINT32) ulRTPTime,
+ REF(UINT16) unStreamNumber,
+ REF(UINT8) unASMFlags,
+ REF(UINT16) unASMRuleNumber
+ ) PURE;
+
+ STDMETHOD(SetRTP) (THIS_
+ IRMABuffer* pBuffer,
+ UINT32 ulTime,
+ UINT32 ulRTPTime,
+ UINT16 uStreamNumber,
+ UINT8 unASMFlags,
+ UINT16 unASMRuleNumber
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAValues
@@ -276,8 +276,8 @@ DECLARE_INTERFACE_(IRMARTPPacket, IRMAPacket)
* {00001302-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAValues, 0x00001302, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAValues, 0x00001302, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
/*
* The IRMACommonClassFactory supports creating an instance
@@ -293,13 +293,13 @@ DECLARE_INTERFACE_(IRMAValues, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAValues methods
@@ -314,77 +314,77 @@ DECLARE_INTERFACE_(IRMAValues, IUnknown)
* RMA core (i.e. you exit whatever function gave you a time slice).
*/
- STDMETHOD(SetPropertyULONG32)(THIS_
- const char * pPropertyName,
- ULONG32 uPropertyValue) PURE;
-
- STDMETHOD(GetPropertyULONG32)(THIS_
- const char * pPropertyName,
- REF(ULONG32) uPropertyName) PURE;
-
- STDMETHOD(GetFirstPropertyULONG32)(THIS_
- REF(const char*) pPropertyName,
- REF(ULONG32) uPropertyValue) PURE;
-
- STDMETHOD(GetNextPropertyULONG32)(THIS_
- REF(const char*) pPropertyName,
- REF(ULONG32) uPropertyValue) PURE;
-
- STDMETHOD(SetPropertyBuffer)(THIS_
- const char * pPropertyName,
- IRMABuffer * pPropertyValue) PURE;
-
- STDMETHOD(GetPropertyBuffer)(THIS_
- const char * pPropertyName,
- REF(IRMABuffer*) pPropertyValue) PURE;
-
- STDMETHOD(GetFirstPropertyBuffer)(THIS_
- REF(const char*) pPropertyName,
- REF(IRMABuffer*) pPropertyValue) PURE;
-
- STDMETHOD(GetNextPropertyBuffer)(THIS_
- REF(const char*) pPropertyName,
- REF(IRMABuffer*) pPropertyValue) PURE;
-
- STDMETHOD(SetPropertyCString)(THIS_
- const char * pPropertyName,
- IRMABuffer * pPropertyValue) PURE;
-
- STDMETHOD(GetPropertyCString)(THIS_
- const char * pPropertyName,
- REF(IRMABuffer*) pPropertyValue) PURE;
-
- STDMETHOD(GetFirstPropertyCString)(THIS_
- REF(const char*) pPropertyName,
- REF(IRMABuffer*) pPropertyValue) PURE;
-
- STDMETHOD(GetNextPropertyCString)(THIS_
- REF(const char*) pPropertyName,
- REF(IRMABuffer*) pPropertyValue) PURE;
+ STDMETHOD(SetPropertyULONG32) (THIS_
+ const char* pPropertyName,
+ ULONG32 uPropertyValue) PURE;
+
+ STDMETHOD(GetPropertyULONG32) (THIS_
+ const char* pPropertyName,
+ REF(ULONG32) uPropertyName) PURE;
+
+ STDMETHOD(GetFirstPropertyULONG32) (THIS_
+ REF(const char*) pPropertyName,
+ REF(ULONG32) uPropertyValue) PURE;
+
+ STDMETHOD(GetNextPropertyULONG32) (THIS_
+ REF(const char*) pPropertyName,
+ REF(ULONG32) uPropertyValue) PURE;
+
+ STDMETHOD(SetPropertyBuffer) (THIS_
+ const char* pPropertyName,
+ IRMABuffer* pPropertyValue) PURE;
+
+ STDMETHOD(GetPropertyBuffer) (THIS_
+ const char* pPropertyName,
+ REF(IRMABuffer*) pPropertyValue) PURE;
+
+ STDMETHOD(GetFirstPropertyBuffer) (THIS_
+ REF(const char*) pPropertyName,
+ REF(IRMABuffer*) pPropertyValue) PURE;
+
+ STDMETHOD(GetNextPropertyBuffer) (THIS_
+ REF(const char*) pPropertyName,
+ REF(IRMABuffer*) pPropertyValue) PURE;
+
+ STDMETHOD(SetPropertyCString) (THIS_
+ const char* pPropertyName,
+ IRMABuffer* pPropertyValue) PURE;
+
+ STDMETHOD(GetPropertyCString) (THIS_
+ const char* pPropertyName,
+ REF(IRMABuffer*) pPropertyValue) PURE;
+
+ STDMETHOD(GetFirstPropertyCString) (THIS_
+ REF(const char*) pPropertyName,
+ REF(IRMABuffer*) pPropertyValue) PURE;
+
+ STDMETHOD(GetNextPropertyCString) (THIS_
+ REF(const char*) pPropertyName,
+ REF(IRMABuffer*) pPropertyValue) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAValuesRemove
*
* Purpose:
*
- * This interface is to add Remove methods to a class that supports
- * IRMAValues. All classes that support this interface will also
+ * This interface is to add Remove methods to a class that supports
+ * IRMAValues. All classes that support this interface will also
* support IRMAValues.
- *
- *
+ *
+ *
*
* IID_IRMAValuesRemove:
*
* {00001303-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAValuesRemove, 0x00001303, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAValuesRemove, 0x00001303, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
/*
* The IRMACommonClassFactory does not support creating an instance
@@ -399,50 +399,50 @@ DECLARE_INTERFACE_(IRMAValuesRemove, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAValuesRemove methods
*/
- /************************************************************************
- * Method:
- * IRMAKeyValuesRemove::Remove
- * Purpose:
- * Remove all items matching pKey. (If you know what datatype you saved
- * the key as, use the specific method.)
- */
- STDMETHOD(Remove)(const char * pKey) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValuesRemove::RemoveULONG32
- * Purpose:
- * Remove all ULONG32 items matching pKey.
- */
- STDMETHOD(RemoveULONG32)(const char * pKey) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValuesRemove::RemoveBuffer
- * Purpose:
- * Remove all Buffer items matching pKey.
- */
- STDMETHOD(RemoveBuffer)(const char * pKey) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValuesRemove::RemoveCString
- * Purpose:
- * Remove all CString items matching pKey.
- */
- STDMETHOD(RemoveCString)(const char * pKey) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAKeyValuesRemove::Remove
+ * Purpose:
+ * Remove all items matching pKey. (If you know what datatype you saved
+ * the key as, use the specific method.)
+ */
+ STDMETHOD(Remove) (const char* pKey) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValuesRemove::RemoveULONG32
+ * Purpose:
+ * Remove all ULONG32 items matching pKey.
+ */
+ STDMETHOD(RemoveULONG32) (const char* pKey) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValuesRemove::RemoveBuffer
+ * Purpose:
+ * Remove all Buffer items matching pKey.
+ */
+ STDMETHOD(RemoveBuffer) (const char* pKey) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValuesRemove::RemoveCString
+ * Purpose:
+ * Remove all CString items matching pKey.
+ */
+ STDMETHOD(RemoveCString) (const char* pKey) PURE;
};
#endif /* _RMAPCKTS_H_ */
diff --git a/include/realmedia/rmapends.h b/include/realmedia/rmapends.h
index 0109e5ab6..1cc22856b 100644
--- a/include/realmedia/rmapends.h
+++ b/include/realmedia/rmapends.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmapends.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -26,7 +26,7 @@ typedef _INTERFACE IRMAPendingStatus IRMAPendingStatus;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPendingStatus
@@ -40,8 +40,8 @@ typedef _INTERFACE IRMAPendingStatus IRMAPendingStatus;
* {00001100-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAPendingStatus, 0x00001100, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPendingStatus, 0x00001100, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPendingStatus
@@ -56,13 +56,13 @@ DECLARE_INTERFACE_(IRMAPendingStatus, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPendingStatus methods
@@ -74,10 +74,10 @@ DECLARE_INTERFACE_(IRMAPendingStatus, IUnknown)
* Purpose:
* Called by the user to get the current pending status from an object
*/
- STDMETHOD(GetStatus)(THIS_
- REF(UINT16) uStatusCode,
- REF(IRMABuffer*) pStatusDesc,
- REF(UINT16) ulPercentDone) PURE;
+ STDMETHOD(GetStatus) (THIS_
+ REF(UINT16) uStatusCode,
+ REF(IRMABuffer*) pStatusDesc,
+ REF(UINT16) ulPercentDone) PURE;
};
#endif /* _RMAPENDS_H_ */
diff --git a/include/realmedia/rmaphook.h b/include/realmedia/rmaphook.h
index 0af6587db..99722db01 100644
--- a/include/realmedia/rmaphook.h
+++ b/include/realmedia/rmaphook.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaphook.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -28,7 +28,7 @@ typedef _INTERFACE IRMAPacketHookHelper IRMAPacketHookHelper;
typedef _INTERFACE IRMAPacketHookHelperResponse IRMAPacketHookHelperResponse;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPacketHook
@@ -43,21 +43,21 @@ typedef _INTERFACE IRMAPacketHookHelperResponse IRMAPacketHookHelperResponse;
* {00002000-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPacketHook, 0x00002000, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacketHook, 0x00002000, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
DECLARE_INTERFACE_(IRMAPacketHook, IUnknown)
{
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacketHook methods
@@ -69,7 +69,7 @@ DECLARE_INTERFACE_(IRMAPacketHook, IUnknown)
* Purpose:
* Called by the core to notify the start of this packet hook session
*/
- STDMETHOD(OnStart)(THIS) PURE;
+ STDMETHOD(OnStart) (THIS) PURE;
/************************************************************************
* Method:
@@ -77,7 +77,7 @@ DECLARE_INTERFACE_(IRMAPacketHook, IUnknown)
* Purpose:
* Called by the core to notify the end of this packet hook session
*/
- STDMETHOD(OnEnd)(THIS) PURE;
+ STDMETHOD(OnEnd) (THIS) PURE;
/************************************************************************
* Method:
@@ -86,18 +86,18 @@ DECLARE_INTERFACE_(IRMAPacketHook, IUnknown)
* Called by the core to send file header information
*
*/
- STDMETHOD(OnFileHeader)(THIS_
- IRMAValues * pValues) PURE;
+ STDMETHOD(OnFileHeader) (THIS_
+ IRMAValues* pValues) PURE;
/************************************************************************
* Method:
* IRMAPacketHook::OnStreamHeader
* Purpose:
- * Called by the core to send stream header information
+ * Called by the core to send stream header information
*
*/
- STDMETHOD(OnStreamHeader)(THIS_
- IRMAValues * pValues) PURE;
+ STDMETHOD(OnStreamHeader) (THIS_
+ IRMAValues* pValues) PURE;
/************************************************************************
* Method:
@@ -106,12 +106,12 @@ DECLARE_INTERFACE_(IRMAPacketHook, IUnknown)
* Called by the core to send packet information.
*
*/
- STDMETHOD(OnPacket)(THIS_
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(OnPacket) (THIS_
+ IRMAPacket* pPacket) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPacketHookManager
@@ -124,8 +124,8 @@ DECLARE_INTERFACE_(IRMAPacketHook, IUnknown)
*
* {00002001-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAPacketHookManager, 0x00002001, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacketHookManager, 0x00002001, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPacketHookManager
@@ -135,13 +135,13 @@ DECLARE_INTERFACE_(IRMAPacketHookManager, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacketHookManager methods
@@ -153,8 +153,8 @@ DECLARE_INTERFACE_(IRMAPacketHookManager, IUnknown)
* Purpose:
* called by the top level client to pass the IRMAPacketHook object
*/
- STDMETHOD(InitHook)(THIS_
- IRMAPacketHook * pPacketHook) PURE;
+ STDMETHOD(InitHook) (THIS_
+ IRMAPacketHook* pPacketHook) PURE;
/************************************************************************
* Method:
@@ -162,7 +162,7 @@ DECLARE_INTERFACE_(IRMAPacketHookManager, IUnknown)
* Purpose:
* called by the top level client to close the hook connection
*/
- STDMETHOD(CloseHook)(THIS) PURE;
+ STDMETHOD(CloseHook) (THIS) PURE;
/************************************************************************
* Method:
@@ -170,7 +170,7 @@ DECLARE_INTERFACE_(IRMAPacketHookManager, IUnknown)
* Purpose:
* called by the top level client to start recording
*/
- STDMETHOD(StartHook)(THIS) PURE;
+ STDMETHOD(StartHook) (THIS) PURE;
/************************************************************************
* Method:
@@ -178,27 +178,27 @@ DECLARE_INTERFACE_(IRMAPacketHookManager, IUnknown)
* Purpose:
* called by the top level client to stop recording
*/
- STDMETHOD(StopHook)(THIS) PURE;
+ STDMETHOD(StopHook) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPacketHookHelper
- *
+ *
* Purpose:
- *
+ *
* provide methods to prepare the packet for recording and send back the core
- *
+ *
* IID_IRMAPacketHookHelper:
- *
+ *
* {00002002-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPacketHookHelper, 0x00002002, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacketHookHelper, 0x00002002, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPacketHookHelper
@@ -208,13 +208,13 @@ DECLARE_INTERFACE_(IRMAPacketHookHelper, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacketHookHelper methods
@@ -228,10 +228,10 @@ DECLARE_INTERFACE_(IRMAPacketHookHelper, IUnknown)
* tell the renderer to start sending the record packets
*
*/
- STDMETHOD(StartHook)(THIS_
- ULONG32 ulStreamNumber,
- ULONG32 ulTimeOffset,
- IRMAPacketHookHelperResponse * pPacketHookHelperResponse) PURE;
+ STDMETHOD(StartHook) (THIS_
+ ULONG32 ulStreamNumber,
+ ULONG32 ulTimeOffset,
+ IRMAPacketHookHelperResponse* pPacketHookHelperResponse) PURE;
/******************************************************************
@@ -241,11 +241,11 @@ DECLARE_INTERFACE_(IRMAPacketHookHelper, IUnknown)
* Purpose:
* tell the renderer to stop sending the record packets
*/
- STDMETHOD(StopHook)(THIS) PURE;
+ STDMETHOD(StopHook) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPacketHookHelperResponse
@@ -258,8 +258,8 @@ DECLARE_INTERFACE_(IRMAPacketHookHelper, IUnknown)
*
* {00002003-0901-11d1-8B06-00A024406D59}
*/
-DEFINE_GUID(IID_IRMAPacketHookHelperResponse, 0x00002003, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPacketHookHelperResponse, 0x00002003, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPacketHookHelperResponse
@@ -269,13 +269,13 @@ DECLARE_INTERFACE_(IRMAPacketHookHelperResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPacketHookHelperResponse methods
@@ -287,8 +287,8 @@ DECLARE_INTERFACE_(IRMAPacketHookHelperResponse, IUnknown)
* Purpose:
* called by the renderer to pass the packet for recording
*/
- STDMETHOD(OnPacket)(THIS_
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(OnPacket) (THIS_
+ IRMAPacket* pPacket) PURE;
/************************************************************************
* Method:
@@ -296,7 +296,7 @@ DECLARE_INTERFACE_(IRMAPacketHookHelperResponse, IUnknown)
* Purpose:
* called by the renderer to notify the end of this stream
*/
- STDMETHOD(OnEndOfPackets)(THIS) PURE;
+ STDMETHOD(OnEndOfPackets) (THIS) PURE;
};
#endif /* _RMAPHOOK_H_ */
diff --git a/include/realmedia/rmaplgns.h b/include/realmedia/rmaplgns.h
index a3a887a5d..ec6e794c4 100644
--- a/include/realmedia/rmaplgns.h
+++ b/include/realmedia/rmaplgns.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaplgns.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -28,14 +28,14 @@ typedef _INTERFACE IRMABuffer IRMABuffer;
typedef _INTERFACE IRMAValues IRMAValues;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAObjectConfiguration
*
* Purpose:
*
- * Interface for setting context and generic means of plugin
+ * Interface for setting context and generic means of plugin
* Configuration.
*
* IRMAObjectConfiguration:
@@ -53,31 +53,31 @@ DECLARE_INTERFACE_(IRMAObjectConfiguration, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAObjectConfiguration::SetContext
* Purpose:
* This function is called to set the context for the plugin.
- * Either IRMAPlugin::InitPlugin or this function must be called
+ * Either IRMAPlugin::InitPlugin or this function must be called
* before calling any other function on the plugin.
* this is intended to be used as a shortcut for the plugin user.
* If one needs to use SetConfiguration they only need to query
- * IRMAObjectConfiguration saving them from also querying for
+ * IRMAObjectConfiguration saving them from also querying for
* IRMAPlugin.
*
*/
STDMETHOD(SetContext)
(
- THIS_
- IUnknown * pIUnknownContext
+ THIS_
+ IUnknown* pIUnknownContext
) PURE;
/************************************************************************
@@ -87,20 +87,20 @@ DECLARE_INTERFACE_(IRMAObjectConfiguration, IUnknown)
* This allows the user of a plugin to supply configuration
* information. This is often a set of CString properties
* extracted from a list in the config file. This allows
- * each plugin within a class (auth plugin, database plugin, etc..)
+ * each plugin within a class (auth plugin, database plugin, etc..)
* to require a different set of parameters.
*
*/
STDMETHOD(SetConfiguration)
(
- THIS_
- IRMAValues * pIRMAValuesConfiguration
+ THIS_
+ IRMAValues* pIRMAValuesConfiguration
) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPluginProperties
@@ -124,27 +124,27 @@ DECLARE_INTERFACE_(IRMAPluginProperties, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* Method:
* IRMAPluginProperties::GetProperties
* Purpose:
* A plugin will implement this in order to return plugin properties
- * that will allow it to be identified uniquely. (PluginID,
+ * that will allow it to be identified uniquely. (PluginID,
* AuthenticationProtocol, etc..)
*
*/
STDMETHOD(GetProperties)
(
- THIS_
- REF(IRMAValues*) pIRMAValuesProperties
+ THIS_
+ REF(IRMAValues*) pIRMAValuesProperties
) PURE;
};
diff --git a/include/realmedia/rmaplugn.h b/include/realmedia/rmaplugn.h
index 5f86797fd..cac1c90c2 100644
--- a/include/realmedia/rmaplugn.h
+++ b/include/realmedia/rmaplugn.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaplugn.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -29,46 +29,46 @@ typedef _INTERFACE IRMABuffer IRMABuffer;
typedef _INTERFACE IRMAValues IRMAValues;
/****************************************************************************
- *
+ *
* Function:
- *
+ *
* RMACreateInstance()
- *
+ *
* Purpose:
- *
- * Function implemented by all plugin DLL's to create an instance of
- * any of the objects supported by the DLL. This method is similar to
- * Window's CoCreateInstance() in its purpose, except that it only
+ *
+ * Function implemented by all plugin DLL's to create an instance of
+ * any of the objects supported by the DLL. This method is similar to
+ * Window's CoCreateInstance() in its purpose, except that it only
* creates objects from this plugin DLL.
*
* NOTE: Aggregation is never used. Therefore an outer unknown is
* not passed to this function, and you do not need to code for this
* situation.
- *
+ *
*/
#ifdef _MACINTOSH
#pragma export on
#endif
STDAPI RMACreateInstance
-(
- IUnknown** /*OUT*/ ppIUnknown
-);
-
+ (
+ IUnknown** /*OUT*/ ppIUnknown
+ );
+
#ifdef _MACINTOSH
#pragma export off
#endif
/****************************************************************************
- *
+ *
* Function:
- *
+ *
* RMAShutdown()
- *
+ *
* Purpose:
- *
- * Function implemented by all plugin DLL's to free any *global*
+ *
+ * Function implemented by all plugin DLL's to free any *global*
* resources. This method is called just before the DLL is unloaded.
*
*/
@@ -77,31 +77,31 @@ STDAPI RMACreateInstance
#endif
STDAPI RMAShutdown(void);
-
+
#ifdef _MACINTOSH
#pragma export off
#endif
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlugin
- *
+ *
* Purpose:
- *
+ *
* Interface exposed by a plugin DLL to allow inspection of objects
* supported by the plugin DLL.
- *
+ *
* IID_IRMAPlugin:
- *
+ *
* {00000C00-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPlugin, 0x00000C00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlugin, 0x00000C00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlugin
@@ -111,13 +111,13 @@ DECLARE_INTERFACE_(IRMAPlugin, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPlugin methods
@@ -145,55 +145,55 @@ DECLARE_INTERFACE_(IRMAPlugin, IUnknown)
* performance reasons).
*
* An example of a plugin, that must set this
- * flag to FALSE is a filesystem plugin that
+ * flag to FALSE is a filesystem plugin that
* uses a single TCP connection to communicate
* with a database.
- *
+ *
* pDescription which is used in about UIs (can be NULL)
* pCopyright which is used in about UIs (can be NULL)
* pMoreInfoURL which is used in about UIs (can be NULL)
* ulVersionNumber The version of this plugin.
*/
- STDMETHOD(GetPluginInfo)(THIS_
- REF(BOOL) /*OUT*/ bMultipleLoad,
- REF(const char*) /*OUT*/ pDescription,
- REF(const char*) /*OUT*/ pCopyright,
- REF(const char*) /*OUT*/ pMoreInfoURL,
- REF(ULONG32) /*OUT*/ ulVersionNumber) PURE;
+ STDMETHOD(GetPluginInfo) (THIS_
+ REF(BOOL) /*OUT*/ bMultipleLoad,
+ REF(const char*) /*OUT*/ pDescription,
+ REF(const char*) /*OUT*/ pCopyright,
+ REF(const char*) /*OUT*/ pMoreInfoURL,
+ REF(ULONG32) /*OUT*/ ulVersionNumber) PURE;
/************************************************************************
* Method:
* IRMAPlugin::InitPlugin
* Purpose:
* Initializes the plugin for use. This interface must always be
- * called before any other method is called. This is primarily needed
+ * called before any other method is called. This is primarily needed
* so that the plugin can have access to the context for creation of
* IRMABuffers and IMalloc.
*/
- STDMETHOD(InitPlugin)(THIS_
- IUnknown* /*IN*/ pContext) PURE;
+ STDMETHOD(InitPlugin) (THIS_
+ IUnknown* /*IN*/ pContext) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPluginEnumerator
- *
+ *
* Purpose:
- *
+ *
* provide methods to enumerate through all the plugins installed
- *
+ *
* IID_IRMAPluginEnumerator:
- *
+ *
* {00000C01-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPluginEnumerator, 0x00000C01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPluginEnumerator, 0x00000C01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPluginEnumerator
@@ -203,13 +203,13 @@ DECLARE_INTERFACE_(IRMAPluginEnumerator, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPluginEnumerator methods
@@ -219,11 +219,11 @@ DECLARE_INTERFACE_(IRMAPluginEnumerator, IUnknown)
* Method:
* IRMAPluginEnumerator::GetNumOfPlugins
*
- * Purpose:
+ * Purpose:
* return the number of plugins available
*
*/
- STDMETHOD_(ULONG32, GetNumOfPlugins)(THIS) PURE;
+ STDMETHOD_(ULONG32,GetNumOfPlugins) (THIS) PURE;
/************************************************************************
* Method:
@@ -232,31 +232,31 @@ DECLARE_INTERFACE_(IRMAPluginEnumerator, IUnknown)
* Return an instance (IUnknown) of the plugin
*
*/
- STDMETHOD(GetPlugin)(THIS_
- ULONG32 /*IN*/ ulIndex,
- REF(IUnknown*) /*OUT*/ pPlugin) PURE;
+ STDMETHOD(GetPlugin) (THIS_
+ ULONG32 /*IN*/ ulIndex,
+ REF(IUnknown*) /*OUT*/ pPlugin) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPluginGroupEnumerator
- *
+ *
* Purpose:
- *
+ *
* Provide a way to enumerate through all of the plugins which
* implement a specific interface.
- *
+ *
* IID_IRMAPluginGroupEnumerator:
- *
+ *
* {00000C02-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPluginGroupEnumerator, 0x00000C02, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPluginGroupEnumerator, 0x00000C02, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPluginGroupEnumerator
@@ -272,13 +272,13 @@ DECLARE_INTERFACE_(IRMAPluginGroupEnumerator, IUnknown)
/*
* IRMAPluginGroupEnumerator methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/******************************************************************
* Method:
@@ -290,8 +290,8 @@ DECLARE_INTERFACE_(IRMAPluginGroupEnumerator, IUnknown)
* be called.
*
*/
- STDMETHOD(Init)(THIS_
- REFIID iid) PURE;
+ STDMETHOD(Init) (THIS_
+ REFIID iid) PURE;
/******************************************************************
@@ -300,11 +300,11 @@ DECLARE_INTERFACE_(IRMAPluginGroupEnumerator, IUnknown)
*
* Purpose:
* return the number of plugins available that support a
- particular
+particular
* interface.
*
*/
- STDMETHOD_(ULONG32, GetNumOfPlugins)(THIS) PURE;
+ STDMETHOD_(ULONG32,GetNumOfPlugins) (THIS) PURE;
/******************************************************************
@@ -314,31 +314,31 @@ DECLARE_INTERFACE_(IRMAPluginGroupEnumerator, IUnknown)
* Return an instance (IUnknown) of the plugin
*
*/
- STDMETHOD(GetPlugin)(THIS_
- UINT32 /*IN*/ ulIndex,
- REF(IUnknown*) /*OUT*/ pPlugin) PURE;
+ STDMETHOD(GetPlugin) (THIS_
+ UINT32 /*IN*/ ulIndex,
+ REF(IUnknown*) /*OUT*/ pPlugin) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPluginReloader
- *
+ *
* Purpose:
- *
+ *
* Tells the client core to reload all plugins.
- *
+ *
* IID_IRMAPluginReloader:
- *
+ *
* {00000C03-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPluginReloader, 0x00000C03, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPluginReloader, 0x00000C03, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPluginReloader
@@ -348,13 +348,13 @@ DECLARE_INTERFACE_(IRMAPluginReloader, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPluginReloader methods
@@ -363,36 +363,36 @@ DECLARE_INTERFACE_(IRMAPluginReloader, IUnknown)
/************************************************************************
* Method:
* IRMAPluginReloader::ReloadPlugins
- * Purpose:
+ * Purpose:
* Causes the client core to reload all plugins.
*
*/
- STDMETHOD(ReloadPlugins)(THIS) PURE;
+ STDMETHOD(ReloadPlugins) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPluginFactory
- *
+ *
* Purpose:
- *
+ *
* This interface is implemented by a plugin in order to have more then
* one "RMA plugin" in a single DLL. I.e., a plugin author could
* use this interface to have 3 different file format plugins in
* a single DLL.
- *
+ *
* IID_IRMAPluginFactory:
- *
+ *
* {00000C04-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPluginFactory, 0x00000C04, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPluginFactory, 0x00000C04, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPluginFactory
@@ -402,18 +402,18 @@ DECLARE_INTERFACE_(IRMAPluginFactory, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
-
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
-
- STDMETHOD_(ULONG, Release)(THIS) PURE;
-
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
+
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+
/*
* IRMAPluginFactory methods
*/
-
+
/*****************************************************************
* Method:
* IRMAPluginFactory::GetNumPlugins
@@ -422,43 +422,43 @@ DECLARE_INTERFACE_(IRMAPluginFactory, IUnknown)
*
* Parameters:
*/
- STDMETHOD_(UINT16, GetNumPlugins)(THIS) PURE;
+ STDMETHOD_(UINT16, GetNumPlugins) (THIS) PURE;
/*****************************************************************
* Method:
* IRMAPluginFactory::GetPlugin
* Purpose:
- * Returns an IUnknown interface to the requested plugin.
- *
+ * Returns an IUnknown interface to the requested plugin.
+ *
* Parameters:
*/
- STDMETHOD(GetPlugin)(THIS_
- UINT16 uIndex,
- IUnknown** pPlugin) PURE;
+ STDMETHOD(GetPlugin) (THIS_
+ UINT16 uIndex,
+ IUnknown** pPlugin) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAGenericPlugin
- *
+ *
* Purpose:
- *
+ *
* Interface exposed by a plugin DLL to inform the client / server core
* that your plugin wishes to have InitPlugin called immediately.
*
* IID_IRMAGenericPlugin:
- *
+ *
* {00000C09-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAGenericPlugin, 0x00000C09, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAGenericPlugin, 0x00000C09, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAGenericPlugin
@@ -468,20 +468,20 @@ DECLARE_INTERFACE_(IRMAGenericPlugin, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAGenericPlugin methods
*/
- STDMETHOD(IsGeneric)(THIS_
- REF(BOOL) /*OUT*/ bIsGeneric) PURE;
+ STDMETHOD(IsGeneric) (THIS_
+ REF(BOOL) /*OUT*/ bIsGeneric) PURE;
};
@@ -497,190 +497,190 @@ DECLARE_INTERFACE_(IRMAPlugin2Handler, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPlugin2Handler Methods
*/
- /************************************************************************
- * Method:
- * IRMAPlugin2Handler::Init
- *
- * Purpose:
- * Specifies the context and sets the pluginhandler in motion.
- *
- */
- STDMETHOD(Init)(THIS_ IUnknown * pContext) PURE;
-
- /************************************************************************
- * Method:
- * IRMAPlugin2Handler::GetNumPlugins2
- *
- * Purpose:
- * Gets the info of a particular plugin.
- *
- */
- STDMETHOD_(ULONG32, GetNumOfPlugins2)(THIS) PURE;
-
+ /************************************************************************
+ * Method:
+ * IRMAPlugin2Handler::Init
+ *
+ * Purpose:
+ * Specifies the context and sets the pluginhandler in motion.
+ *
+ */
+ STDMETHOD(Init) (THIS_ IUnknown* pContext) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAPlugin2Handler::GetNumPlugins2
+ *
+ * Purpose:
+ * Gets the info of a particular plugin.
+ *
+ */
+ STDMETHOD_(ULONG32,GetNumOfPlugins2) (THIS) PURE;
+
/************************************************************************
* Method:
* IRMAPlugin2Handler::GetPluginInfo
*
- * Purpose:
+ * Purpose:
* Gets the info of a particular plugin.
*
*/
- STDMETHOD(GetPluginInfo)(THIS_
- UINT32 unIndex,
- REF(IRMAValues*) /*OUT*/ Values) PURE;
+ STDMETHOD(GetPluginInfo) (THIS_
+ UINT32 unIndex,
+ REF(IRMAValues*) /*OUT*/ Values) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::FlushCache()
*
- * Purpose:
- * Flushes the LRU cache -- Unloads all DLLs from memory
+ * Purpose:
+ * Flushes the LRU cache -- Unloads all DLLs from memory
* which currenltly have a refcount of 0.
*/
- STDMETHOD(FlushCache)(THIS) PURE;
+ STDMETHOD(FlushCache) (THIS) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::SetCacheSize
*
- * Purpose:
- * This function sets the size of the Cache. The cache is
+ * Purpose:
+ * This function sets the size of the Cache. The cache is
* initally set to 1000KB. To disable the cache simply set
- * the size to 0.If the cache is disabled a DLL will be
+ * the size to 0.If the cache is disabled a DLL will be
* unloaded whenever it's refcount becomes zero. Which MAY
* cause performance problems.
*/
- STDMETHOD(SetCacheSize)(THIS_ ULONG32 nSizeKB) PURE;
+ STDMETHOD(SetCacheSize) (THIS_ ULONG32 nSizeKB) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::GetInstance
*
- * Purpose:
- *
+ * Purpose:
+ *
* This function will return a plugin instance given a plugin index.
- *
+ *
*/
- STDMETHOD(GetInstance)(THIS_ UINT32 index, REF(IUnknown*) pUnknown) PURE;
+ STDMETHOD(GetInstance) (THIS_ UINT32 index, REF(IUnknown*) pUnknown) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::FindIndexUsingValues
*
- * Purpose:
+ * Purpose:
* Finds a plugin which matches the set of values given. An index
- * is returned which can be used to either get the values (using
- * GetPluginInfo) or an instance can be created using GetPluing().
- *
+ * is returned which can be used to either get the values (using
+ * GetPluginInfo) or an instance can be created using GetPluing().
+ *
*/
- STDMETHOD(FindIndexUsingValues)(THIS_ IRMAValues*,
- REF(UINT32) unIndex) PURE;
+ STDMETHOD(FindIndexUsingValues) (THIS_ IRMAValues*,
+ REF(UINT32) unIndex) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::FindPluginUsingValues
*
- * Purpose:
+ * Purpose:
* Finds a plugin which matches the set of values given. A Plugin
- * instance is returned.
- *
+ * instance is returned.
+ *
*/
- STDMETHOD(FindPluginUsingValues)(THIS_ IRMAValues*,
- REF(IUnknown*) pUnk) PURE;
-
+ STDMETHOD(FindPluginUsingValues) (THIS_ IRMAValues*,
+ REF(IUnknown*) pUnk) PURE;
+
/************************************************************************
* Method:
* IRMAPlugin2Handler::FindIndexUsingStrings
*
- * Purpose:
+ * Purpose:
* Finds a plugin which matches the set of values given. An index
- * is returned which can be used to either get the values (using
- * GetPluginInfo) or an instance can be created using GetPluing().
+ * is returned which can be used to either get the values (using
+ * GetPluginInfo) or an instance can be created using GetPluing().
* NOTE: that a max of two values may be given.
*/
- STDMETHOD(FindIndexUsingStrings)(THIS_ char * PropName1,
- char * PropVal1,
- char * PropName2,
- char * PropVal2,
- char * PropName3,
- char * PropVal3,
- REF(UINT32) unIndex) PURE;
+ STDMETHOD(FindIndexUsingStrings) (THIS_ char* PropName1,
+ char* PropVal1,
+ char* PropName2,
+ char* PropVal2,
+ char* PropName3,
+ char* PropVal3,
+ REF(UINT32) unIndex) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::FindPluginUsingStrings
*
- * Purpose:
+ * Purpose:
* Finds a plugin which matches the set of values given. A Plugin
- * instance is returned.
+ * instance is returned.
* NOTE: that a max of two values may be given.
*/
- STDMETHOD(FindPluginUsingStrings)(THIS_ char * PropName1,
- char * PropVal1,
- char * PropName2,
- char * PropVal2,
- char * PropName3,
- char * PropVal3,
- REF(IUnknown*) pUnk) PURE;
+ STDMETHOD(FindPluginUsingStrings) (THIS_ char* PropName1,
+ char* PropVal1,
+ char* PropName2,
+ char* PropVal2,
+ char* PropName3,
+ char* PropVal3,
+ REF(IUnknown*) pUnk) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::FindImplementationFromClassID
*
- * Purpose:
- * Finds a CommonClassFactory plugin which supports the
- * ClassID given. An instance of the Class is returned.
+ * Purpose:
+ * Finds a CommonClassFactory plugin which supports the
+ * ClassID given. An instance of the Class is returned.
*/
STDMETHOD(FindImplementationFromClassID)
(
- THIS_
- REFGUID GUIDClassID,
- REF(IUnknown*) pIUnknownInstance
+ THIS_
+ REFGUID GUIDClassID,
+ REF(IUnknown*) pIUnknownInstance
) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::Close
*
- * Purpose:
+ * Purpose:
* A function which performs all of the functions of delete.
- *
+ *
*
*/
-
- STDMETHOD(Close)(THIS) PURE;
+
+ STDMETHOD(Close) (THIS) PURE;
/************************************************************************
* Method:
* IRMAPlugin2Handler::SetRequiredPlugins
*
- * Purpose:
+ * Purpose:
* This function sets the required plugin list
- *
+ *
*
*/
- STDMETHOD(SetRequiredPlugins)(THIS_ const char** ppszRequiredPlugins) PURE;
+ STDMETHOD(SetRequiredPlugins) (THIS_ const char** ppszRequiredPlugins) PURE;
};
diff --git a/include/realmedia/rmappv.h b/include/realmedia/rmappv.h
index 4d1cee77b..28c5744c4 100644
--- a/include/realmedia/rmappv.h
+++ b/include/realmedia/rmappv.h
@@ -1,9 +1,9 @@
/****************************************************************************
- *
+ *
* $Id: rmappv.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
* This program contains proprietary information of RealNetworks, Inc.,
@@ -26,14 +26,12 @@
#define PPV_MAX_URL_LEN 2048
-typedef enum _PPVURLType
-{
+typedef enum _PPVURLType {
PPV_URL_TYPE_FILE = 0,
- PPV_URL_TYPE_DIRECTORY
+ PPV_URL_TYPE_DIRECTORY
} PPVURLType;
-typedef enum _PPVPermissionType
-{
+typedef enum _PPVPermissionType {
PPV_PERMISSION_GENERAL = 0,
PPV_PERMISSION_EXPIRES,
PPV_PERMISSION_DEBIT,
@@ -55,15 +53,13 @@ typedef struct _PPVPermission
* Structures and definitions for PPVAccessLog
*/
-typedef enum _PPVAccessPermissionOn
-{
+typedef enum _PPVAccessPermissionOn {
PPV_PERMISSION_ON_FILE = 0,
PPV_PERMISSION_ON_DIRECTORY,
PPV_PERMISSION_ON_NONE
} PPVAccessPermissionOn;
-typedef enum _PPVAccessDisconnectType
-{
+typedef enum _PPVAccessDisconnectType {
PPV_DISCONNECT_CLIENT = 0,
PPV_DISCONNECT_TIME_EXPIRED
} PPVAccessDisconnectType;
@@ -100,17 +96,17 @@ typedef enum _PPVRegStatus
typedef struct _PPVRegLog
{
- PPVRegStatus nStatus;
- char* pUserid;
- char* pGUID;
- char* pIPAddress;
- time_t tRequestTime;
- char* pURLRedirect;
+ PPVRegStatus nStatus;
+ char* pUserid;
+ char* pGUID;
+ char* pIPAddress;
+ time_t tRequestTime;
+ char* pURLRedirect;
} PPVRegLog;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPPVDatabase
@@ -124,8 +120,8 @@ typedef struct _PPVRegLog
* {00001d00-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPPVDatabase, 0x00001d00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPPVDatabase, 0x00001d00, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPPVDatabase
@@ -135,13 +131,13 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPPVDatabase methods
@@ -159,10 +155,10 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pUserID User ID to access database (if supported)
* pPassword Password to access database (if supported)
*/
- STDMETHOD(InitPPVDB)(THIS_
- const char * pDBName,
- const char * pUserID,
- const char * pPassword) PURE;
+ STDMETHOD(InitPPVDB) (THIS_
+ const char* pDBName,
+ const char* pUserID,
+ const char* pPassword) PURE;
/************************************************************************
* Method:
@@ -173,8 +169,8 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* It should be unique enough that no other plugin will ever have
* the same plugin name.
*/
- STDMETHOD(GetPPVDBInfo)(THIS_
- REF(const char*) /*OUT*/ pShortName) PURE;
+ STDMETHOD(GetPPVDBInfo) (THIS_
+ REF(const char*) /*OUT*/ pShortName) PURE;
/************************************************************************
* Method:
@@ -188,9 +184,9 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* The password being passed in is already
* encrypted.
*/
- STDMETHOD(InsertUser)(THIS_
- const char * pUserid,
- const char * pPasswordCipher) PURE;
+ STDMETHOD(InsertUser) (THIS_
+ const char* pUserid,
+ const char* pPasswordCipher) PURE;
/************************************************************************
* Method:
@@ -200,8 +196,8 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
*
* pUserid Userid key of the record
*/
- STDMETHOD(RemoveUser)(THIS_
- const char * pUserid) PURE;
+ STDMETHOD(RemoveUser) (THIS_
+ const char* pUserid) PURE;
/************************************************************************
* Method:
@@ -214,36 +210,36 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* bForce Forces registration of guid, even if
* the uuid_writeable flag is set to read only
*/
- STDMETHOD(RegisterGUID)(THIS_
- const char * pUserid,
- const char * pGUID,
- BOOL bForce) PURE;
+ STDMETHOD(RegisterGUID) (THIS_
+ const char* pUserid,
+ const char* pGUID,
+ BOOL bForce) PURE;
/************************************************************************
* Method:
* IRMAPPVDatabase::SetPassword
* Purpose:
- * Sets the password for the user associated with pUserid
+ * Sets the password for the user associated with pUserid
*
* pUserid Userid key of the record
* pCipherPassword User's Password
*/
- STDMETHOD(SetPassword)(THIS_
- const char * pUserid,
- const char * pCipherPassword) PURE;
+ STDMETHOD(SetPassword) (THIS_
+ const char* pUserid,
+ const char* pCipherPassword) PURE;
/************************************************************************
* Method:
* IRMAPPVDatabase::ValidateUser
* Purpose:
- * Sets the password for the user associated with pUserid
+ * Sets the password for the user associated with pUserid
*
* pUserid Userid key of the record
* pPPVPermission Permission structure with URL to validate on
*/
- STDMETHOD(ValidateUser)(THIS_
- const char * pUserid,
- PPVPermission * pPPVPermission) PURE;
+ STDMETHOD(ValidateUser) (THIS_
+ const char* pUserid,
+ PPVPermission* pPPVPermission) PURE;
/************************************************************************
* Method:
@@ -254,9 +250,9 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pUserid Userid key of the record
* pPPVPermission Permission structure with URL
*/
- STDMETHOD(GrantPermission)(THIS_
- const char * pUserid,
- const PPVPermission * pPPVPermission) PURE;
+ STDMETHOD(GrantPermission) (THIS_
+ const char* pUserid,
+ const PPVPermission* pPPVPermission) PURE;
/************************************************************************
* Method:
@@ -267,9 +263,9 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pUserid Userid key of the record
* pPPVPermission Permission structure with URL
*/
- STDMETHOD(RevokePermission)(THIS_
- const char * pUserid,
- const PPVPermission * pPPVPermission) PURE;
+ STDMETHOD(RevokePermission) (THIS_
+ const char* pUserid,
+ const PPVPermission* pPPVPermission) PURE;
/************************************************************************
* Method:
@@ -279,9 +275,9 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
*
* pUserid Userid key of the record
*/
- STDMETHOD(RevokeAllPermissions)(THIS_
- const char * pUserid) PURE;
-
+ STDMETHOD(RevokeAllPermissions) (THIS_
+ const char* pUserid) PURE;
+
/************************************************************************
* Method:
* IRMAPPVDatabase::GetRedirect
@@ -293,10 +289,10 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pURLRedirect Url to redirect to (Out)
* ulURLRedirectLen Maximum length of pURLRedirect (In)
*/
- STDMETHOD(GetRedirect)(THIS_
- const char * pURL,
- char * pURLRedirect,
- UINT32 ulURLRedirectLen) PURE;
+ STDMETHOD(GetRedirect) (THIS_
+ const char* pURL,
+ char* pURLRedirect,
+ UINT32 ulURLRedirectLen) PURE;
/************************************************************************
* Method:
@@ -304,14 +300,14 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* Purpose:
* Adds a redirection Url to the database to correspond with
* the Url key.
- *
+ *
*
* pURL Url key of redirect record (In)
* pURLRedirect Url to redirect to (In)
*/
- STDMETHOD(PutRedirect)(THIS_
- const char * pURL,
- const char * pURLRedirect) PURE;
+ STDMETHOD(PutRedirect) (THIS_
+ const char* pURL,
+ const char* pURLRedirect) PURE;
/************************************************************************
* Method:
@@ -323,10 +319,10 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pPPVPermission Permission structure with URL
* ulGrant Amount of time to grant
*/
- STDMETHOD(GrantTime)(THIS_
- const char * pUserid,
- const PPVPermission * pPPVPermission,
- UINT32 ulGrant) PURE;
+ STDMETHOD(GrantTime) (THIS_
+ const char* pUserid,
+ const PPVPermission* pPPVPermission,
+ UINT32 ulGrant) PURE;
/************************************************************************
* Method:
@@ -338,10 +334,10 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pPPVPermission Permission structure with URL
* ulDeduct Amount of time to deduct
*/
- STDMETHOD(DeductTime)(THIS_
- const char * pUserid,
- const PPVPermission * pPPVPermission,
- UINT32 ulDeduct) PURE;
+ STDMETHOD(DeductTime) (THIS_
+ const char* pUserid,
+ const PPVPermission* pPPVPermission,
+ UINT32 ulDeduct) PURE;
/************************************************************************
* Method:
@@ -353,10 +349,10 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pCipherPassword Password to get (Out)
* ulCipherPasswordLen Maximum length of pCipherPassword
*/
- STDMETHOD(GetPasswordFromUserid)(THIS_
- const char * pUserid,
- char * pCipherPassword,
- UINT32 ulCipherPasswordLen) PURE;
+ STDMETHOD(GetPasswordFromUserid) (THIS_
+ const char* pUserid,
+ char* pCipherPassword,
+ UINT32 ulCipherPasswordLen) PURE;
/************************************************************************
* Method:
@@ -368,10 +364,10 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* pUserid Userid key of the record (Out)
* ulUseridLen Maximum length of pUserid (In)
*/
- STDMETHOD(GetUseridFromGUID)(THIS_
- const char * pGUID,
- char * pUserid,
- UINT32 ulUseridLen) PURE;
+ STDMETHOD(GetUseridFromGUID) (THIS_
+ const char* pGUID,
+ char* pUserid,
+ UINT32 ulUseridLen) PURE;
/************************************************************************
* Method:
@@ -380,8 +376,8 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* This function inserts a new record into the data with the logging
* information contained in pPPVRegLog
*/
- STDMETHOD(LogReg)(THIS_
- PPVRegLog * pPPVRegLog) PURE;
+ STDMETHOD(LogReg) (THIS_
+ PPVRegLog* pPPVRegLog) PURE;
/************************************************************************
* Method:
@@ -390,8 +386,8 @@ DECLARE_INTERFACE_(IRMAPPVDatabase, IUnknown)
* This function inserts a new record into the data with the logging
* information contained in pPPVAccessLog
*/
- STDMETHOD(LogAccess)(THIS_
- PPVAccessLog * pPPVAccessLog) PURE;
+ STDMETHOD(LogAccess) (THIS_
+ PPVAccessLog* pPPVAccessLog) PURE;
};
diff --git a/include/realmedia/rmaprefs.h b/include/realmedia/rmaprefs.h
index 662718148..024e67049 100644
--- a/include/realmedia/rmaprefs.h
+++ b/include/realmedia/rmaprefs.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaprefs.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -26,7 +26,7 @@
* BroadcastPluginInfo {dllpath;description;copyright;moreinfo;loadmultiple;type}{ ... }
* ClientLicenseKey 7FF7FF00
* EndScan 10000
- * FactoryPluginInfo
+ * FactoryPluginInfo
* FileFormatPluginInfo {dllpath;description;copyright;moreinfo;loadmultiple;mimetype1|mimetype2;extension1|extension2}{ ... }
* FileSystemPluginInfo {dllpath;description;copyright;moreinfo;loadmultiple;protocol;shortname}{ ... }
* GeneralPluginInfo {dllpath;description;copyright;moreinfo;loadmultiple}{ ... }
@@ -38,12 +38,12 @@
* HTTPProxyPort 1092
* HurledURL 0
* InfoandVolume 1
- * LastURL
+ * LastURL
* MaxClipCount 4
* MetaFormatPluginInfo {dllpath;description;copyright;moreinfo;loadmultiple;mimetype1|mimetype2;extension1|extension2}{ ... }
* MiscPluginInfo {dllpath;description;copyright;moreinfo;loadmultiple}{ ... }
* MulticastTimeout 2000
- * NotProxy
+ * NotProxy
* OnTop 0
* PerfectPlayMode 0
* PerfectPlayTime 60
@@ -79,24 +79,24 @@
typedef _INTERFACE IRMABuffer IRMABuffer;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPreferences
- *
+ *
* Purpose:
- *
+ *
* This interface allows you to store persistant preferences in the
* server or player's config / registry.
- *
+ *
* IID_IRMAPreferences:
- *
+ *
* {00000500-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPreferences, 0x00000500, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPreferences, 0x00000500, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPreferences
@@ -106,13 +106,13 @@ DECLARE_INTERFACE_(IRMAPreferences, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPreferences methods
@@ -124,8 +124,8 @@ DECLARE_INTERFACE_(IRMAPreferences, IUnknown)
* Purpose:
* Read a preference from the registry or configuration.
*/
- STDMETHOD(ReadPref)(THIS_
- const char * pPrekKey, REF(IRMABuffer*) pBuffer) PURE;
+ STDMETHOD(ReadPref) (THIS_
+ const char* pPrekKey, REF(IRMABuffer*) pBuffer) PURE;
/************************************************************************
* Method:
@@ -133,30 +133,30 @@ DECLARE_INTERFACE_(IRMAPreferences, IUnknown)
* Purpose:
* TBD
*/
- STDMETHOD(WritePref)(THIS_
- const char * pPrekKey, IRMABuffer * pBuffer) PURE;
+ STDMETHOD(WritePref) (THIS_
+ const char* pPrekKey, IRMABuffer* pBuffer) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPreferenceEnumerator
- *
+ *
* Purpose:
- *
+ *
* Allows preference Enumeration
- *
- *
+ *
+ *
* IRMAPreferenceEnumerator:
- *
+ *
* {00000504-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPreferenceEnumerator, 0x00000504, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPreferenceEnumerator, 0x00000504, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPreferenceEnumerator
@@ -166,13 +166,13 @@ DECLARE_INTERFACE_(IRMAPreferenceEnumerator, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPreferenceEnumerator methods
@@ -185,7 +185,7 @@ DECLARE_INTERFACE_(IRMAPreferenceEnumerator, IUnknown)
* TBD
*/
- STDMETHOD(BeginSubPref)(THIS_ const char * szSubPref) PURE;
+ STDMETHOD(BeginSubPref) (THIS_ const char* szSubPref) PURE;
/************************************************************************
@@ -195,7 +195,7 @@ DECLARE_INTERFACE_(IRMAPreferenceEnumerator, IUnknown)
* TBD
*/
- STDMETHOD(EndSubPref)(THIS) PURE;
+ STDMETHOD(EndSubPref) (THIS) PURE;
/************************************************************************
* Method:
@@ -204,7 +204,7 @@ DECLARE_INTERFACE_(IRMAPreferenceEnumerator, IUnknown)
* TBD
*/
- STDMETHOD(GetPrefKey)(THIS_ UINT32 nIndex, REF(IRMABuffer*) pBuffer) PURE;
+ STDMETHOD(GetPrefKey) (THIS_ UINT32 nIndex, REF(IRMABuffer*) pBuffer) PURE;
/************************************************************************
* Method:
@@ -212,32 +212,32 @@ DECLARE_INTERFACE_(IRMAPreferenceEnumerator, IUnknown)
* Purpose:
* TBD
*/
- STDMETHOD(ReadPref)(THIS_
- const char * pPrefKey, IRMABuffer*& pBuffer) PURE;
+ STDMETHOD(ReadPref) (THIS_
+ const char* pPrefKey, IRMABuffer*& pBuffer) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPreferences2
- *
+ *
* Purpose:
- *
+ *
* New interface which gives sub-preference options abilities.
- *
- *
+ *
+ *
* IID_IRMAPreferences2:
- *
+ *
* {00000503-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPreferences2, 0x00000503, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPreferences2, 0x00000503, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPreferences2
@@ -247,13 +247,13 @@ DECLARE_INTERFACE_(IRMAPreferences2, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPreferences2 methods
@@ -275,8 +275,8 @@ DECLARE_INTERFACE_(IRMAPreferences2, IUnknown)
* Reset the root of the preferences
*/
- STDMETHOD(ResetRoot)(THIS_ const char * pCompanyName, const char * pProductName,
- int nProdMajorVer, int nProdMinorVer) PURE;
+ STDMETHOD(ResetRoot)(THIS_ const char* pCompanyName, const char* pProductName,
+ int nProdMajorVer, int nProdMinorVer) PURE;
};
diff --git a/include/realmedia/rmapsink.h b/include/realmedia/rmapsink.h
index c1b899564..d22ae0c40 100644
--- a/include/realmedia/rmapsink.h
+++ b/include/realmedia/rmapsink.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmapsink.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -27,22 +27,22 @@ typedef _INTERFACE IRMAPlayerSinkControl IRMAPlayerSinkControl;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlayerCreationSink
- *
+ *
* Purpose:
- *
+ *
* PlayerCreation Sink Interface
- *
+ *
* IID_IRMAPlayerCreationSink:
- *
+ *
* {00002100-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPlayerCreationSink, 0x00002100, 0x901, 0x11d1, 0x8b,
- 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerCreationSink, 0x00002100, 0x901, 0x11d1, 0x8b,
+ 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayerCreationSink
@@ -51,13 +51,13 @@ DECLARE_INTERFACE_(IRMAPlayerCreationSink, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPlayerCreationSink Methods
@@ -70,9 +70,9 @@ DECLARE_INTERFACE_(IRMAPlayerCreationSink, IUnknown)
* Notification when a new player is created
*
*/
- STDMETHOD(PlayerCreated)(THIS_
- IRMAPlayer * pPlayer) PURE;
-
+ STDMETHOD(PlayerCreated) (THIS_
+ IRMAPlayer* pPlayer) PURE;
+
/************************************************************************
* Method:
* IRMAPlayerCreationSink::PlayerClosed
@@ -80,29 +80,29 @@ DECLARE_INTERFACE_(IRMAPlayerCreationSink, IUnknown)
* Notification when an exisitng player is closed
*
*/
- STDMETHOD(PlayerClosed)(THIS_
- IRMAPlayer * pPlayer) PURE;
+ STDMETHOD(PlayerClosed) (THIS_
+ IRMAPlayer* pPlayer) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAPlayerSinkControl
- *
+ *
* Purpose:
- *
+ *
* Player SinkControl Interface
- *
+ *
* IID_IRMAPlayerSinkControl:
- *
+ *
* {00002101-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMAPlayerSinkControl, 0x00002101, 0x901, 0x11d1, 0x8b,
- 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPlayerSinkControl, 0x00002101, 0x901, 0x11d1, 0x8b,
+ 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPlayerSinkControl
@@ -111,18 +111,18 @@ DECLARE_INTERFACE_(IRMAPlayerSinkControl, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPlayerSinkControl Methods
*/
-
+
/************************************************************************
* Method:
* IRMAPlayerSinkControl::AddSink
@@ -130,9 +130,9 @@ DECLARE_INTERFACE_(IRMAPlayerSinkControl, IUnknown)
* Add a new sink
*
*/
- STDMETHOD(AddSink)(THIS_
- IRMAPlayerCreationSink * pSink) PURE;
-
+ STDMETHOD(AddSink) (THIS_
+ IRMAPlayerCreationSink* pSink) PURE;
+
/************************************************************************
* Method:
* IRMAPlayerSinkControl::RemoveSink
@@ -140,8 +140,8 @@ DECLARE_INTERFACE_(IRMAPlayerSinkControl, IUnknown)
* Remove an exisitng sink
*
*/
- STDMETHOD(RemoveSink)(THIS_
- IRMAPlayerCreationSink * pSink) PURE;
+ STDMETHOD(RemoveSink) (THIS_
+ IRMAPlayerCreationSink* pSink) PURE;
};
#endif /* _RMAPSINK_H_ */
diff --git a/include/realmedia/rmarendr.h b/include/realmedia/rmarendr.h
index da5b1234a..17784cd1b 100644
--- a/include/realmedia/rmarendr.h
+++ b/include/realmedia/rmarendr.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmarendr.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -29,7 +29,7 @@ typedef _INTERFACE IRMAClientEngine IRMAClientEngine;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMARenderer
@@ -37,7 +37,7 @@ typedef _INTERFACE IRMAClientEngine IRMAClientEngine;
* Purpose:
*
* Interface implemented by all renderers. Parts of this interface are
- * called by the client engine to provide data packets to the
+ * called by the client engine to provide data packets to the
* individual renderers.
*
* IID_IRMARenderer:
@@ -45,8 +45,8 @@ typedef _INTERFACE IRMAClientEngine IRMAClientEngine;
* {00000300-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMARenderer, 0x00000300, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARenderer, 0x00000300, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARenderer
@@ -65,13 +65,13 @@ DECLARE_INTERFACE_(IRMARenderer, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMARenderer methods
@@ -81,13 +81,13 @@ DECLARE_INTERFACE_(IRMARenderer, IUnknown)
* Method:
* IRMARenderer::GetRendererInfo
* Purpose:
- * Returns information vital to the instantiation of rendering
+ * Returns information vital to the instantiation of rendering
* plugins.
*/
- STDMETHOD(GetRendererInfo)(THIS_
- REF(const char**)/*OUT*/ pStreamMimeTypes,
- REF(UINT32) /*OUT*/ unInitialGranularity
- ) PURE;
+ STDMETHOD(GetRendererInfo) (THIS_
+ REF(const char**)/*OUT*/ pStreamMimeTypes,
+ REF(UINT32) /*OUT*/ unInitialGranularity
+ ) PURE;
/************************************************************************
* Method:
@@ -95,13 +95,13 @@ DECLARE_INTERFACE_(IRMARenderer, IUnknown)
* Purpose:
* Called by client engine to inform the renderer of the stream it
* will be rendering. The stream interface can provide access to
- * its source or player. This method also provides access to the
+ * its source or player. This method also provides access to the
* primary client controller interface.
*
*/
- STDMETHOD(StartStream)(THIS_
- IRMAStream * pStream,
- IRMAPlayer * pPlayer) PURE;
+ STDMETHOD(StartStream) (THIS_
+ IRMAStream* pStream,
+ IRMAPlayer* pPlayer) PURE;
/************************************************************************
* Method:
@@ -111,95 +111,95 @@ DECLARE_INTERFACE_(IRMARenderer, IUnknown)
* is was rendering is closed.
*
*/
- STDMETHOD(EndStream)(THIS) PURE;
+ STDMETHOD(EndStream) (THIS) PURE;
/************************************************************************
* Method:
* IRMARenderer::OnHeader
* Purpose:
- * Called by client engine when a header for this renderer is
+ * Called by client engine when a header for this renderer is
* available. The header will arrive before any packets.
*
*/
- STDMETHOD(OnHeader)(THIS_
- IRMAValues * pHeader) PURE;
+ STDMETHOD(OnHeader) (THIS_
+ IRMAValues* pHeader) PURE;
/************************************************************************
* Method:
* IRMARenderer::OnPacket
* Purpose:
- * Called by client engine when a packet for this renderer is
+ * Called by client engine when a packet for this renderer is
* due.
*
*/
- STDMETHOD(OnPacket)(THIS_
- IRMAPacket * pPacket,
- LONG32 lTimeOffset) PURE;
+ STDMETHOD(OnPacket) (THIS_
+ IRMAPacket* pPacket,
+ LONG32 lTimeOffset) PURE;
/************************************************************************
* Method:
* IRMARenderer::OnTimeSync
* Purpose:
* Called by client engine to inform the renderer of the current
- * time relative to the streams synchronized time-line. The
+ * time relative to the streams synchronized time-line. The
* renderer should use this time value to update its display or
* render it's stream data accordingly.
*
*/
- STDMETHOD(OnTimeSync)(THIS_
- ULONG32 ulTime) PURE;
+ STDMETHOD(OnTimeSync) (THIS_
+ ULONG32 ulTime) PURE;
/************************************************************************
* Method:
* IRMARenderer::OnPreSeek
* Purpose:
* Called by client engine to inform the renderer that a seek is
- * about to occur. The render is informed the last time for the
+ * about to occur. The render is informed the last time for the
* stream's time line before the seek, as well as the first new
* time for the stream's time line after the seek will be completed.
*
*/
- STDMETHOD(OnPreSeek)(THIS_
- ULONG32 ulOldTime,
- ULONG32 ulNewTime) PURE;
+ STDMETHOD(OnPreSeek) (THIS_
+ ULONG32 ulOldTime,
+ ULONG32 ulNewTime) PURE;
/************************************************************************
* Method:
* IRMARenderer::OnPostSeek
* Purpose:
* Called by client engine to inform the renderer that a seek has
- * just occurred. The render is informed the last time for the
+ * just occurred. The render is informed the last time for the
* stream's time line before the seek, as well as the first new
* time for the stream's time line after the seek.
*
*/
- STDMETHOD(OnPostSeek)(THIS_
- ULONG32 ulOldTime,
- ULONG32 ulNewTime) PURE;
+ STDMETHOD(OnPostSeek) (THIS_
+ ULONG32 ulOldTime,
+ ULONG32 ulNewTime) PURE;
/************************************************************************
* Method:
* IRMARenderer::OnPause
* Purpose:
* Called by client engine to inform the renderer that a pause has
- * just occurred. The render is informed the last time for the
+ * just occurred. The render is informed the last time for the
* stream's time line before the pause.
*
*/
- STDMETHOD(OnPause)(THIS_
- ULONG32 ulTime) PURE;
+ STDMETHOD(OnPause) (THIS_
+ ULONG32 ulTime) PURE;
/************************************************************************
* Method:
* IRMARenderer::OnBegin
* Purpose:
* Called by client engine to inform the renderer that a begin or
- * resume has just occurred. The render is informed the first time
+ * resume has just occurred. The render is informed the first time
* for the stream's time line after the resume.
*
*/
- STDMETHOD(OnBegin)(THIS_
- ULONG32 ulTime) PURE;
+ STDMETHOD(OnBegin) (THIS_
+ ULONG32 ulTime) PURE;
/************************************************************************
* Method:
@@ -208,29 +208,29 @@ DECLARE_INTERFACE_(IRMARenderer, IUnknown)
* Called by client engine to inform the renderer that buffering
* of data is occuring. The render is informed of the reason for
* the buffering (start-up of stream, seek has occurred, network
- * congestion, etc.), as well as percentage complete of the
+ * congestion, etc.), as well as percentage complete of the
* buffering process.
*
*/
- STDMETHOD(OnBuffering)(THIS_
- ULONG32 ulFlags,
- UINT16 unPercentComplete) PURE;
+ STDMETHOD(OnBuffering) (THIS_
+ ULONG32 ulFlags,
+ UINT16 unPercentComplete) PURE;
/************************************************************************
* Method:
* IRMARenderer::GetDisplayType
* Purpose:
* Called by client engine to ask the renderer for it's preferred
- * display type. When layout information is not present, the
+ * display type. When layout information is not present, the
* renderer will be asked for it's prefered display type. Depending
- * on the display type a buffer of additional information may be
+ * on the display type a buffer of additional information may be
* needed. This buffer could contain information about preferred
* window size.
*
*/
- STDMETHOD(GetDisplayType)(THIS_
- REF(RMA_DISPLAY_TYPE) ulFlags,
- REF(IRMABuffer*) pBuffer) PURE;
+ STDMETHOD(GetDisplayType) (THIS_
+ REF(RMA_DISPLAY_TYPE) ulFlags,
+ REF(IRMABuffer*) pBuffer) PURE;
/************************************************************************
* Method:
@@ -241,7 +241,7 @@ DECLARE_INTERFACE_(IRMARenderer, IUnknown)
* EndStream() is called, renderer may start getting packets again
* and the client engine will eventually call this function again.
*/
- STDMETHOD(OnEndofPackets)(THIS) PURE;
+ STDMETHOD(OnEndofPackets) (THIS) PURE;
};
#endif /* _RMARENDR_H_ */
diff --git a/include/realmedia/rmasite2.h b/include/realmedia/rmasite2.h
index 81721664b..00161108a 100644
--- a/include/realmedia/rmasite2.h
+++ b/include/realmedia/rmasite2.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmasite2.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -27,7 +27,7 @@ typedef _INTERFACE IRMAVideoSurface IRMAVideoSurface;
typedef _INTERFACE IRMAPassiveSiteWatcher IRMAPassiveSiteWatcher;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASite2
@@ -41,8 +41,8 @@ typedef _INTERFACE IRMAPassiveSiteWatcher IRMAPassiveSiteWatcher;
* {0x00000D0A-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASite2, 0x00000D0A, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASite2, 0x00000D0A, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASite
@@ -52,88 +52,88 @@ DECLARE_INTERFACE_(IRMASite2, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
- * IRMASite2 method usually called by the "context"
+ * IRMASite2 method usually called by the "context"
* when window attributes (like the window handle) have changed.
*/
- STDMETHOD(UpdateSiteWindow)(THIS_
- PNxWindow* /*IN*/ pWindow) PURE;
+ STDMETHOD(UpdateSiteWindow) (THIS_
+ PNxWindow* /*IN*/ pWindow) PURE;
/*
* IRMASite2 method usually called by the "context" to
* to hide/show a site.
*/
- STDMETHOD(ShowSite)(THIS_
- BOOL bShow) PURE;
-
- STDMETHOD_(BOOL, IsSiteVisible)(THIS) PURE;
+ STDMETHOD(ShowSite) (THIS_
+ BOOL bShow) PURE;
+
+ STDMETHOD_(BOOL, IsSiteVisible) (THIS) PURE;
/*
* IRMASite2 method usually called by the "context" to
* set the site's Z-order
*/
- STDMETHOD(SetZOrder)(THIS_
- INT32 lZOrder
- ) PURE;
+ STDMETHOD(SetZOrder) (THIS_
+ INT32 lZOrder
+ ) PURE;
/*
* IRMASite2 method called to get the site's Z-order
*/
- STDMETHOD(GetZOrder)(THIS_
- REF(INT32) lZOrder
- ) PURE;
+ STDMETHOD(GetZOrder) (THIS_
+ REF(INT32) lZOrder
+ ) PURE;
/*
* IRMASite2 method called to set the site at the top
* of the Z-order
*/
- STDMETHOD(MoveSiteToTop)(THIS) PURE;
+ STDMETHOD(MoveSiteToTop) (THIS) PURE;
/*
* IRMASite2 method called to get the site's video surface
*/
- STDMETHOD(GetVideoSurface)(THIS_
- REF(IRMAVideoSurface*) pSurface
- ) PURE;
+ STDMETHOD(GetVideoSurface) (THIS_
+ REF(IRMAVideoSurface*) pSurface
+ ) PURE;
/*
* IRMASite2 method called to get the number of child sites.
*/
- STDMETHOD_(UINT32, GetNumberOfChildSites)(THIS) PURE;
+ STDMETHOD_(UINT32,GetNumberOfChildSites) (THIS) PURE;
/*
* IRMASite2 method to add a watcher that does not affect the site
*/
- STDMETHOD(AddPassiveSiteWatcher)(THIS_
- IRMAPassiveSiteWatcher * pWatcher
- ) PURE;
+ STDMETHOD(AddPassiveSiteWatcher) (THIS_
+ IRMAPassiveSiteWatcher* pWatcher
+ ) PURE;
/*
* IRMASite2 method to remove a watcher that does not affect the site
*/
- STDMETHOD(RemovePassiveSiteWatcher)(THIS_
- IRMAPassiveSiteWatcher * pWatcher
- ) PURE;
+ STDMETHOD(RemovePassiveSiteWatcher) (THIS_
+ IRMAPassiveSiteWatcher* pWatcher
+ ) PURE;
/*
* IRMASite2 method used to do cursor management
*/
- STDMETHOD(SetCursor)(THIS_
- PNxCursor ulCursor,
- REF(PNxCursor) ulOldCursor
- ) PURE;
+ STDMETHOD(SetCursor) (THIS_
+ PNxCursor ulCursor,
+ REF(PNxCursor) ulOldCursor
+ ) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAPassiveSiteWatcher
@@ -147,8 +147,8 @@ DECLARE_INTERFACE_(IRMASite2, IUnknown)
* {0x00000D0F-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAPassiveSiteWatcher, 0x00000D0F, 0x901, 0x11d1, 0x8b, 0x6,
- 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAPassiveSiteWatcher, 0x00000D0F, 0x901, 0x11d1, 0x8b, 0x6,
+ 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAPassiveSiteWatcher
@@ -158,27 +158,27 @@ DECLARE_INTERFACE_(IRMAPassiveSiteWatcher, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAPassiveSiteWatcher method used to notify
* about position updates
*/
- STDMETHOD(PositionChanged)(THIS_
- PNxPoint* /*IN*/ pPoint) PURE;
+ STDMETHOD(PositionChanged) (THIS_
+ PNxPoint* /*IN*/ pPoint) PURE;
/*
* IRMAPassiveSiteWatcher method used to notify
* about size updates
*/
- STDMETHOD(SizeChanged)(THIS_
- PNxSize* /*IN*/ pSize) PURE;
+ STDMETHOD(SizeChanged) (THIS_
+ PNxSize* /*IN*/ pSize) PURE;
};
diff --git a/include/realmedia/rmaslta.h b/include/realmedia/rmaslta.h
index f05297f21..ab412f37b 100644
--- a/include/realmedia/rmaslta.h
+++ b/include/realmedia/rmaslta.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaslta.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary nformation of RealNetworks, Inc,
+ * This program contains proprietary nformation of RealNetworks, Inc,
* and is licensed subject to restrictions on use and distribution.
*
*
@@ -18,35 +18,35 @@
#define _RMASLTA_H
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMASLTA
- *
+ *
* Purpose:
- *
+ *
* Slta that works with RMA. Simulates a live stream from a file.
- *
+ *
* IID_IRMASLTA
- *
+ *
* {00000D00-b4c8-11d0-9995-00a0248da5f0}
- *
+ *
*/
-DEFINE_GUID(IID_IRMASLTA, 0x00000D00, 0xb4c8, 0x11d0, 0x99,
- 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
+DEFINE_GUID(IID_IRMASLTA, 0x00000D00, 0xb4c8, 0x11d0, 0x99,
+ 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
DECLARE_INTERFACE_(IRMASLTA, IUnknown)
{
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMASLTA methods
@@ -58,13 +58,13 @@ DECLARE_INTERFACE_(IRMASLTA, IUnknown)
* Purpose:
* Connects the slta to a server.
*/
- STDMETHOD(Connect)(THIS_
- const char * host,
- UINT16 uPort,
- const char * username,
- const char * passwd,
- const char * livefile
- ) PURE;
+ STDMETHOD(Connect) (THIS_
+ const char* host,
+ UINT16 uPort,
+ const char* username,
+ const char* passwd,
+ const char* livefile
+ ) PURE;
/************************************************************************
* Method:
@@ -73,10 +73,10 @@ DECLARE_INTERFACE_(IRMASLTA, IUnknown)
* Set the TAC info for the stream. This method MUST be called
* before Encode to have any effect.
*/
- STDMETHOD(SetTAC)(THIS_
- const char * Title,
- const char * Author,
- const char * Copyright) PURE;
+ STDMETHOD(SetTAC) (THIS_
+ const char* Title,
+ const char* Author,
+ const char* Copyright) PURE;
/************************************************************************
* Method:
@@ -84,10 +84,10 @@ DECLARE_INTERFACE_(IRMASLTA, IUnknown)
* Purpose:
* Start encoding the file to the server.
*/
- STDMETHOD(Encode)
- (THIS_
- const char * filename
- ) PURE;
+ STDMETHOD(Encode)
+ (THIS_
+ const char* filename
+ ) PURE;
/************************************************************************
* Method:
@@ -95,7 +95,7 @@ DECLARE_INTERFACE_(IRMASLTA, IUnknown)
* Purpose:
* Disconnect the slta from the server.
*/
- STDMETHOD(Disconnect)(THIS) PURE;
+ STDMETHOD(Disconnect) (THIS) PURE;
/************************************************************************
@@ -104,32 +104,32 @@ DECLARE_INTERFACE_(IRMASLTA, IUnknown)
* Purpose:
* Sets the target bw for rule subscription.
*/
- STDMETHOD(SetTargetBandwidth)(THIS_
- UINT32 ulTargetBW) PURE;
+ STDMETHOD(SetTargetBandwidth) (THIS_
+ UINT32 ulTargetBW) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMASltaEvent
- *
+ *
* Purpose:
- *
+ *
* Allows events to be sent through an SLTA stream
- *
+ *
* IID_IRMASltaEvent
- *
+ *
* {00000D01-b4c8-11d0-9995-00a0248da5f0}
- *
+ *
*/
-DEFINE_GUID(IID_IRMASltaEvent, 0x00000D01, 0xb4c8, 0x11d0, 0x99,
- 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
+DEFINE_GUID(IID_IRMASltaEvent, 0x00000D01, 0xb4c8, 0x11d0, 0x99,
+ 0x95, 0x0, 0xa0, 0x24, 0x8d, 0xa5, 0xf0);
-/*
+/*
* Valid RMA event IDs.
*/
@@ -151,41 +151,41 @@ DECLARE_INTERFACE_(IRMASltaEvent, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMASltaEvent methods
*/
- /************************************************************************
- * Method:
- * IRMASltaEvent::SetEvent
- * Purpose:
- * Sends an event to the slta stream.
- * nEventID must be one of the valid event IDs defined above.
- */
- STDMETHOD(SetEvent)(THIS_
- UINT16 nEventID,
- const char * szEventText) PURE;
+ /************************************************************************
+ * Method:
+ * IRMASltaEvent::SetEvent
+ * Purpose:
+ * Sends an event to the slta stream.
+ * nEventID must be one of the valid event IDs defined above.
+ */
+ STDMETHOD(SetEvent) (THIS_
+ UINT16 nEventID,
+ const char* szEventText) PURE;
- /************************************************************************
- * Method:
- * IRMASltaEvent::SetRepeatedEvent
- * Purpose:
- * Sets an event to be repeated every ulFrequency milliseconds.
- * nEventID must be one of the valid event IDs defined above.
- */
+ /************************************************************************
+ * Method:
+ * IRMASltaEvent::SetRepeatedEvent
+ * Purpose:
+ * Sets an event to be repeated every ulFrequency milliseconds.
+ * nEventID must be one of the valid event IDs defined above.
+ */
- STDMETHOD(SetRepeatedEvent)(THIS_
- UINT16 nEventID,
- const char * szEventText,
- UINT32 ulFrequency) PURE;
+ STDMETHOD(SetRepeatedEvent) (THIS_
+ UINT16 nEventID,
+ const char* szEventText,
+ UINT32 ulFrequency) PURE;
};
#endif
diff --git a/include/realmedia/rmasrc.h b/include/realmedia/rmasrc.h
index 579fd3567..27256af94 100644
--- a/include/realmedia/rmasrc.h
+++ b/include/realmedia/rmasrc.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmasrc.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary information of RealNetworks, Inc,
+ * This program contains proprietary information of RealNetworks, Inc,
* and is licensed subject to restrictions on use and distribution.
*
*
@@ -27,42 +27,42 @@ typedef _INTERFACE IRMASourceFinderResponse IRMASourceFinderResponse;
typedef _INTERFACE IRMARequest IRMARequest;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMARawSourceObject
- *
+ *
* Purpose:
- *
+ *
* Object that serves packets to sinks
- *
+ *
* IID_IRMARawSourceObject:
- *
+ *
* {00001000-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMARawSourceObject, 0x00001000, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARawSourceObject, 0x00001000, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARawSourceObject
DECLARE_INTERFACE_(IRMARawSourceObject, IUnknown)
{
- /*
- * IUnknown methods
- */
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ /*
+ * IUnknown methods
+ */
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
- /*
- * IRMARawSourceObject methods
- */
+ /*
+ * IRMARawSourceObject methods
+ */
/************************************************************************
* Method:
@@ -70,60 +70,60 @@ DECLARE_INTERFACE_(IRMARawSourceObject, IUnknown)
* Purpose:
* Initializes the connection between the source and the sink
*/
- STDMETHOD(Init)(THIS_
- IUnknown * pUnknown) PURE;
+ STDMETHOD(Init) (THIS_
+ IUnknown* pUnknown) PURE;
- STDMETHOD(Done)(THIS) PURE;
+ STDMETHOD(Done) (THIS) PURE;
- STDMETHOD(GetFileHeader)(THIS) PURE;
+ STDMETHOD(GetFileHeader) (THIS) PURE;
- STDMETHOD(GetStreamHeader)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(GetStreamHeader) (THIS_
+ UINT16 unStreamNumber) PURE;
- STDMETHOD(StartPackets)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(StartPackets) (THIS_
+ UINT16 unStreamNumber) PURE;
- STDMETHOD(StopPackets)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(StopPackets) (THIS_
+ UINT16 unStreamNumber) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMARawSinkObject
- *
+ *
* Purpose:
- *
+ *
* Object that receives raw packets from a source
- *
+ *
* IID_IRMARawSinkObject:
- *
+ *
* {00001001-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMARawSinkObject, 0x00001001, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMARawSinkObject, 0x00001001, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMARawSinkObject
DECLARE_INTERFACE_(IRMARawSinkObject, IUnknown)
{
- /*
- * IUnknown methods
- */
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ /*
+ * IUnknown methods
+ */
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
- /*
- * IRMARawSinkObject methods
- */
+ /*
+ * IRMARawSinkObject methods
+ */
/************************************************************************
* Method:
@@ -131,43 +131,43 @@ DECLARE_INTERFACE_(IRMARawSinkObject, IUnknown)
* Purpose:
* Callback after source object has initialized the connection
*/
- STDMETHOD(InitDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(InitDone) (THIS_
+ PN_RESULT status) PURE;
- STDMETHOD(FileHeaderReady)(THIS_
- PN_RESULT status,
- IRMAValues * pHeader) PURE;
+ STDMETHOD(FileHeaderReady) (THIS_
+ PN_RESULT status,
+ IRMAValues* pHeader) PURE;
- STDMETHOD(StreamHeaderReady)(THIS_
- PN_RESULT status,
- IRMAValues * pHeader) PURE;
+ STDMETHOD(StreamHeaderReady) (THIS_
+ PN_RESULT status,
+ IRMAValues* pHeader) PURE;
- STDMETHOD(PacketReady)(THIS_
- PN_RESULT status,
- IRMAPacket * pPacket) PURE;
+ STDMETHOD(PacketReady) (THIS_
+ PN_RESULT status,
+ IRMAPacket* pPacket) PURE;
- STDMETHOD(StreamDone)(THIS_
- UINT16 unStreamNumber) PURE;
+ STDMETHOD(StreamDone) (THIS_
+ UINT16 unStreamNumber) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMASourceFinderObject
- *
+ *
* Purpose:
- *
+ *
* Object that allows a sink to search for a raw packet source
- *
+ *
* IID_IRMASourceFinderObject:
- *
+ *
* {00001002-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
-DEFINE_GUID(IID_IRMASourceFinderObject, 0x00001002, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASourceFinderObject, 0x00001002, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMASourceFinderObject IID_IRMASourceFinderObject
@@ -178,45 +178,45 @@ DEFINE_GUID(IID_IRMASourceFinderObject, 0x00001002, 0x901, 0x11d1, 0x8b, 0x6, 0x
DECLARE_INTERFACE_(IRMASourceFinderObject, IUnknown)
{
- /*
- * IUnknown methods
- */
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ /*
+ * IUnknown methods
+ */
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
- /*
- * IRMASourceFinderObject methods
- */
+ /*
+ * IRMASourceFinderObject methods
+ */
- STDMETHOD(Init)(THIS_
- IUnknown * pUnknown) PURE;
+ STDMETHOD(Init) (THIS_
+ IUnknown* pUnknown) PURE;
- STDMETHOD(Find)(THIS_
- IRMARequest * pRequest) PURE;
+ STDMETHOD(Find) (THIS_
+ IRMARequest* pRequest) PURE;
- STDMETHOD(Done)(THIS) PURE;
+ STDMETHOD(Done) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMASourceFinderResponse
- *
+ *
* Purpose:
- *
+ *
* Object that returns a raw packet source to a sink
- *
+ *
* IID_IRMASourceFinderResponse:
- *
+ *
* {00001003-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMASourceFinderResponse, 0x00001003, 0x901, 0x11d1,
0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
@@ -227,27 +227,27 @@ DEFINE_GUID(IID_IRMASourceFinderResponse, 0x00001003, 0x901, 0x11d1,
DECLARE_INTERFACE_(IRMASourceFinderResponse, IUnknown)
{
- /*
- * IUnknown methods
- */
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ /*
+ * IUnknown methods
+ */
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
- /*
- * IRMASourceFinderResponse methods
- */
+ /*
+ * IRMASourceFinderResponse methods
+ */
- STDMETHOD(InitDone)(THIS_
- PN_RESULT status) PURE;
+ STDMETHOD(InitDone) (THIS_
+ PN_RESULT status) PURE;
- STDMETHOD(FindDone)(THIS_
- PN_RESULT status,
- IUnknown * pUnknown) PURE;
+ STDMETHOD(FindDone) (THIS_
+ PN_RESULT status,
+ IUnknown* pUnknown) PURE;
};
diff --git a/include/realmedia/rmaupgrd.h b/include/realmedia/rmaupgrd.h
index 0e8e9253a..8240112a5 100644
--- a/include/realmedia/rmaupgrd.h
+++ b/include/realmedia/rmaupgrd.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaupgrd.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -31,15 +31,15 @@ typedef enum _RMAUpgradeType
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAUpgradeCollection
*
* Purpose:
*
- * Interface provided by the Context. This interface allows collection
- * of upgrade components by the client core and it's delegates
+ * Interface provided by the Context. This interface allows collection
+ * of upgrade components by the client core and it's delegates
* (i.e. renderer plugins etc.)
*
* IID_IRMAUpgradeCollection
@@ -47,9 +47,9 @@ typedef enum _RMAUpgradeType
* {00002500-0901-11d1-8B06-00A024406D59}
*
*/
-
-DEFINE_GUID(IID_IRMAUpgradeCollection,
- 0x00002500, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+
+DEFINE_GUID(IID_IRMAUpgradeCollection,
+ 0x00002500, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAUpgradeCollection
@@ -67,11 +67,11 @@ DECLARE_INTERFACE_(IRMAUpgradeCollection, IUnknown)
* Adds the specified upgrade information to the collection
*
*/
- STDMETHOD_(UINT32, Add)(THIS_
- RMAUpgradeType upgradeType,
- IRMABuffer * pPluginId,
- UINT32 majorVersion,
- UINT32 minorVersion) PURE;
+ STDMETHOD_(UINT32, Add) (THIS_
+ RMAUpgradeType upgradeType,
+ IRMABuffer* pPluginId,
+ UINT32 majorVersion,
+ UINT32 minorVersion) PURE;
/************************************************************************
* Method:
@@ -80,8 +80,8 @@ DECLARE_INTERFACE_(IRMAUpgradeCollection, IUnknown)
* Remove the specified item from the collection
*
*/
- STDMETHOD(Remove)(THIS_
- UINT32 index) PURE;
+ STDMETHOD(Remove) (THIS_
+ UINT32 index) PURE;
/************************************************************************
* Method:
@@ -90,7 +90,7 @@ DECLARE_INTERFACE_(IRMAUpgradeCollection, IUnknown)
* Remove all items from the collection
*
*/
- STDMETHOD(RemoveAll)(THIS) PURE;
+ STDMETHOD(RemoveAll) (THIS) PURE;
/************************************************************************
* Method:
@@ -108,17 +108,17 @@ DECLARE_INTERFACE_(IRMAUpgradeCollection, IUnknown)
* get the specified items upgrade information
*
*/
- STDMETHOD(GetAt)(THIS_
- UINT32 index,
- REF(RMAUpgradeType) upgradeType,
- IRMABuffer * pPluginId,
- REF(UINT32) majorVersion,
- REF(UINT32) minorVersion) PURE;
+ STDMETHOD(GetAt) (THIS_
+ UINT32 index,
+ REF(RMAUpgradeType) upgradeType,
+ IRMABuffer* pPluginId,
+ REF(UINT32) majorVersion,
+ REF(UINT32) minorVersion) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAUpgradeHandler
@@ -133,9 +133,9 @@ DECLARE_INTERFACE_(IRMAUpgradeCollection, IUnknown)
* {00002501-0901-11d1-8B06-00A024406D59}
*
*/
-
-DEFINE_GUID(IID_IRMAUpgradeHandler,
- 0x00002501, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+
+DEFINE_GUID(IID_IRMAUpgradeHandler,
+ 0x00002501, 0x901, 0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAUpgradeHandler
@@ -153,8 +153,8 @@ DECLARE_INTERFACE_(IRMAUpgradeHandler, IUnknown)
* Ask if user wants to do an upgrade and start an upgrade
*
*/
- STDMETHOD(RequestUpgrade)(THIS_ IRMAUpgradeCollection * pComponents,
- BOOL bBlocking) PURE;
+ STDMETHOD(RequestUpgrade) (THIS_ IRMAUpgradeCollection* pComponents,
+ BOOL bBlocking) PURE;
/************************************************************************
* Method:
@@ -165,14 +165,14 @@ DECLARE_INTERFACE_(IRMAUpgradeHandler, IUnknown)
* PNR_OK - components are here, no upgrade required;
* all components are removed from pComponents.
* PNR_FAIL - some components are missing;
- * pComponents contains only those components
+ * pComponents contains only those components
* that need upgrade.
*
- */
- STDMETHOD(HasComponents)(THIS_ IRMAUpgradeCollection * pComponents) PURE;
+ */
+ STDMETHOD(HasComponents) (THIS_ IRMAUpgradeCollection* pComponents) PURE;
};
#endif /* _RMAUPGRD_H */
-
+
diff --git a/include/realmedia/rmavalue.h b/include/realmedia/rmavalue.h
index d8b694a14..764e133cc 100644
--- a/include/realmedia/rmavalue.h
+++ b/include/realmedia/rmavalue.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmavalue.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -32,7 +32,7 @@ typedef _INTERFACE IRMAOptions IRMAOptions;
/* Note : GUIDS 3101 - 3107 are deprecated. */
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAKeyValueList
@@ -41,15 +41,15 @@ typedef _INTERFACE IRMAOptions IRMAOptions;
*
* Stores a list of strings, where strings are keyed by not necessarily
* unique keys.
- *
+ *
*
* IRMAKeyValueList:
*
* {0x00003108-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAKeyValueList, 0x00003108, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAKeyValueList, 0x00003108, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAKeyValueList IID_IRMAKeyValueList
#undef INTERFACE
@@ -60,94 +60,94 @@ DECLARE_INTERFACE_(IRMAKeyValueList, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* Regular methods
*/
- /************************************************************************
- * Method:
- * IRMAKeyValueList::AddKeyValue
- * Purpose:
- * Add a new key/value tuple to our list of strings. You can have
- * multiple strings for the same key.
- */
- STDMETHOD(AddKeyValue)(THIS_
- const char * pKey,
- IRMABuffer * pStr) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValueList::GetIter
- * Purpose:
- * Return an iterator that allows you to iterate through all the
- * key/value tuples in our list of strings.
- */
- STDMETHOD(GetIter)(THIS_
- REF(IRMAKeyValueListIter*) pIter) PURE;
-
-
- /************************************************************************
- * Method:
- * IRMAKeyValueList::GetIterOneKey
- * Purpose:
- * Return an iterator that allows you to iterate through all the
- * strings for a particular key.
- */
- STDMETHOD(GetIterOneKey)(THIS_
- const char * pKey,
- REF(IRMAKeyValueListIterOneKey*) pIter) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValueList::AppendAllListItems
- * Purpose:
- * Append all the key/string tuples from another list to this list.
- * (You can have duplicate keys.)
- */
- STDMETHOD(AppendAllListItems)(THIS_
- IRMAKeyValueList * pList) PURE;
- /************************************************************************
- * Method:
- * IRMAKeyValueList::KeyExists
- * Purpose:
- * See whether any strings exist for a particular key.
- */
- STDMETHOD_(BOOL, KeyExists)(THIS_
- const char * pKey) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValueList::CreateObject
- * Purpose:
- * Create an empty object that is the same class as the current object.
- */
- STDMETHOD(CreateObject)(THIS_
- REF(IRMAKeyValueList*) pNewList) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValueList::ImportValues.
- * Purpose:
- * Import all the strings from an IRMAValues object into this object.
- * If this object also supports IRMAValues, it should also import the
- * ULONGs and Buffers. You can have duplicate keys, and old data is
- * left untouched.
- */
- STDMETHOD(ImportValues)(THIS_
- IRMAValues * pValues) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueList::AddKeyValue
+ * Purpose:
+ * Add a new key/value tuple to our list of strings. You can have
+ * multiple strings for the same key.
+ */
+ STDMETHOD(AddKeyValue) (THIS_
+ const char* pKey,
+ IRMABuffer* pStr) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueList::GetIter
+ * Purpose:
+ * Return an iterator that allows you to iterate through all the
+ * key/value tuples in our list of strings.
+ */
+ STDMETHOD(GetIter) (THIS_
+ REF(IRMAKeyValueListIter*) pIter) PURE;
+
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueList::GetIterOneKey
+ * Purpose:
+ * Return an iterator that allows you to iterate through all the
+ * strings for a particular key.
+ */
+ STDMETHOD(GetIterOneKey) (THIS_
+ const char* pKey,
+ REF(IRMAKeyValueListIterOneKey*) pIter) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueList::AppendAllListItems
+ * Purpose:
+ * Append all the key/string tuples from another list to this list.
+ * (You can have duplicate keys.)
+ */
+ STDMETHOD(AppendAllListItems) (THIS_
+ IRMAKeyValueList* pList) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueList::KeyExists
+ * Purpose:
+ * See whether any strings exist for a particular key.
+ */
+ STDMETHOD_(BOOL,KeyExists) (THIS_
+ const char* pKey) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueList::CreateObject
+ * Purpose:
+ * Create an empty object that is the same class as the current object.
+ */
+ STDMETHOD(CreateObject) (THIS_
+ REF(IRMAKeyValueList*) pNewList) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueList::ImportValues.
+ * Purpose:
+ * Import all the strings from an IRMAValues object into this object.
+ * If this object also supports IRMAValues, it should also import the
+ * ULONGs and Buffers. You can have duplicate keys, and old data is
+ * left untouched.
+ */
+ STDMETHOD(ImportValues) (THIS_
+ IRMAValues* pValues) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAKeyValueListIter
@@ -156,15 +156,15 @@ DECLARE_INTERFACE_(IRMAKeyValueList, IUnknown)
*
* Iterate over all the items in a CKeyValueList.
* Call IRMAKeyValueList::GetIter to create an iterator.
- *
+ *
*
* IRMAKeyValueListIter:
*
* {0x00003109-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAKeyValueListIter, 0x00003109, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAKeyValueListIter, 0x00003109, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAKeyValueListIter IID_IRMAKeyValueListIter
@@ -176,45 +176,45 @@ DECLARE_INTERFACE_(IRMAKeyValueListIter, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* Regular methods
*/
- /************************************************************************
- * Method:
- * IRMAKeyValueListIter::GetNextPair
- * Purpose:
- * Each call to this method returns one key/value tuple from your
- * list of strings. Strings are returned in same order that they
- * were inserted.
- */
- STDMETHOD(GetNextPair)(THIS_
- REF(const char*) pKey,
- REF(IRMABuffer*) pStr) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValueListIter::ReplaceCurr
- * Purpose:
- * Replaces the value in the key/value tuple that was returned
- * in the last call to GetNextPair with a new string.
- */
- STDMETHOD(ReplaceCurr)(THIS_
- IRMABuffer * pStr) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueListIter::GetNextPair
+ * Purpose:
+ * Each call to this method returns one key/value tuple from your
+ * list of strings. Strings are returned in same order that they
+ * were inserted.
+ */
+ STDMETHOD(GetNextPair) (THIS_
+ REF(const char*) pKey,
+ REF(IRMABuffer*) pStr) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueListIter::ReplaceCurr
+ * Purpose:
+ * Replaces the value in the key/value tuple that was returned
+ * in the last call to GetNextPair with a new string.
+ */
+ STDMETHOD(ReplaceCurr) (THIS_
+ IRMABuffer* pStr) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAKeyValueListIterOneKey
@@ -223,15 +223,15 @@ DECLARE_INTERFACE_(IRMAKeyValueListIter, IUnknown)
*
* Iterate over all the items in a CKeyValueList that match a particular key.
* Call IRMAKeyValueList::GetIterOneKey to create an iterator.
- *
+ *
*
* IRMAKeyValueListIterOneKey:
*
* {0x00003110-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAKeyValueListIterOneKey, 0x00003110, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAKeyValueListIterOneKey, 0x00003110, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAKeyValueListIterOneKey IID_IRMAKeyValueListIterOneKey
@@ -243,46 +243,46 @@ DECLARE_INTERFACE_(IRMAKeyValueListIterOneKey, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* Regular methods
*/
- /************************************************************************
- * Method:
- * IRMAKeyValueListIterOneKey::GetNextString
- * Purpose:
- * Each call to this method returns one string that matches the
- * key for this iterator. Strings are returned in same order that they
- * were inserted.
- *
- */
- STDMETHOD(GetNextString)(THIS_
- REF(IRMABuffer*) pStr) PURE;
-
- /************************************************************************
- * Method:
- * IRMAKeyValueListIterOneKey::ReplaceCurr
- * Purpose:
- * Replaces the value in the key/value tuple that was referenced
- * in the last call to GetNextString with a new string.
- *
- */
- STDMETHOD(ReplaceCurr)(THIS_
- IRMABuffer * pStr) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueListIterOneKey::GetNextString
+ * Purpose:
+ * Each call to this method returns one string that matches the
+ * key for this iterator. Strings are returned in same order that they
+ * were inserted.
+ *
+ */
+ STDMETHOD(GetNextString) (THIS_
+ REF(IRMABuffer*) pStr) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAKeyValueListIterOneKey::ReplaceCurr
+ * Purpose:
+ * Replaces the value in the key/value tuple that was referenced
+ * in the last call to GetNextString with a new string.
+ *
+ */
+ STDMETHOD(ReplaceCurr) (THIS_
+ IRMABuffer* pStr) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAOptions
@@ -292,15 +292,15 @@ DECLARE_INTERFACE_(IRMAKeyValueListIterOneKey, IUnknown)
* This is a generic options interface, implemented by any object to
* allow its options to be read and set by another component of the
* system.
- *
+ *
*
* IRMAOptions:
*
* {0x00003111-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAOptions, 0x00003111, 0x901, 0x11d1,
- 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMAOptions, 0x00003111, 0x901, 0x11d1,
+ 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAOptions IID_IRMAOptions
@@ -312,69 +312,69 @@ DECLARE_INTERFACE_(IRMAOptions, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* Regular methods
*/
- /************************************************************************
- * Method:
- * IRMAOptions::GetOptions
- * Purpose:
- * This method returns a list of the options supported by this
- * particular object, along with the value currently set for each
- * option. Enumerate the members of the returned IRMAValues object
- * to discover what options a component supports and the type of
- * each of those options. The value for each name-value pair is
- * the current setting for that option.
- *
- */
- STDMETHOD(GetOptions)(THIS_
- REF(IRMAValues*) pOptions) PURE;
-
- /************************************************************************
- * Method:
- * IRMAOptions::SetOptionULONG32
- * Purpose:
- * Sets the value of a ULONG32 option. The return value indicates
- * whether or not the SetOptionULONG32 call succeeded.
- *
- */
- STDMETHOD(SetOptionULONG32)(THIS_
- const char * pName,
- ULONG32 ulValue) PURE;
-
- /************************************************************************
- * Method:
- * IRMAOptions::SetOptionCString
- * Purpose:
- * Sets the value of a CString option. The return value indicates
- * whether or not the SetOptionCString call succeeded.
- *
- */
- STDMETHOD(SetOptionCString)(THIS_
- const char * pName,
- IRMABuffer * pValue) PURE;
-
- /************************************************************************
- * Method:
- * IRMAOptions::SetOptionBuffer
- * Purpose:
- * Sets the value of a Buffer option. The return value indicates
- * whether or not the SetOptionBuffer call succeeded.
- *
- */
- STDMETHOD(SetOptionBuffer)(THIS_
- const char * pName,
- IRMABuffer * pValue) PURE;
+ /************************************************************************
+ * Method:
+ * IRMAOptions::GetOptions
+ * Purpose:
+ * This method returns a list of the options supported by this
+ * particular object, along with the value currently set for each
+ * option. Enumerate the members of the returned IRMAValues object
+ * to discover what options a component supports and the type of
+ * each of those options. The value for each name-value pair is
+ * the current setting for that option.
+ *
+ */
+ STDMETHOD(GetOptions) (THIS_
+ REF(IRMAValues*) pOptions) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAOptions::SetOptionULONG32
+ * Purpose:
+ * Sets the value of a ULONG32 option. The return value indicates
+ * whether or not the SetOptionULONG32 call succeeded.
+ *
+ */
+ STDMETHOD(SetOptionULONG32) (THIS_
+ const char* pName,
+ ULONG32 ulValue) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAOptions::SetOptionCString
+ * Purpose:
+ * Sets the value of a CString option. The return value indicates
+ * whether or not the SetOptionCString call succeeded.
+ *
+ */
+ STDMETHOD(SetOptionCString) (THIS_
+ const char* pName,
+ IRMABuffer* pValue) PURE;
+
+ /************************************************************************
+ * Method:
+ * IRMAOptions::SetOptionBuffer
+ * Purpose:
+ * Sets the value of a Buffer option. The return value indicates
+ * whether or not the SetOptionBuffer call succeeded.
+ *
+ */
+ STDMETHOD(SetOptionBuffer) (THIS_
+ const char* pName,
+ IRMABuffer* pValue) PURE;
};
diff --git a/include/realmedia/rmavsrc.h b/include/realmedia/rmavsrc.h
index b6cb382a0..b96ab6486 100644
--- a/include/realmedia/rmavsrc.h
+++ b/include/realmedia/rmavsrc.h
@@ -1,14 +1,14 @@
#ifndef _RMAVSRC_H
#define _RMAVSRC_H
/****************************************************************************
- *
+ *
* $Id: rmavsrc.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1999 RealNetworks, Inc. All rights reserved..
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of RealNetworks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -30,15 +30,15 @@ typedef _INTERFACE IRMAViewSourceURLResponse IRMAViewSourceURLResponse;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileViewSource
- *
+ *
* IID_IRMAFileViewSource:
- *
+ *
* {00003500-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
enum SOURCE_TYPE
@@ -48,7 +48,7 @@ enum SOURCE_TYPE
};
DEFINE_GUID(IID_IRMAFileViewSource, 0x00003500, 0x901, 0x11d1, 0x8b, 0x6,
- 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileViewSource
@@ -58,36 +58,36 @@ DECLARE_INTERFACE_(IRMAFileViewSource, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAFileViewSource
*/
- STDMETHOD(InitViewSource)(THIS_
- IRMAFileObject* /*IN*/ pFileObject,
- IRMAFileViewSourceResponse* /*IN*/ pResp,
- SOURCE_TYPE /*IN*/ sourceType,
- IRMAValues* /*IN*/ pOptions) PURE;
- STDMETHOD(GetSource)(THIS) PURE;
- STDMETHOD(Close)(THIS) PURE;
+ STDMETHOD(InitViewSource) (THIS_
+ IRMAFileObject* /*IN*/ pFileObject,
+ IRMAFileViewSourceResponse* /*IN*/ pResp,
+ SOURCE_TYPE /*IN*/ sourceType,
+ IRMAValues* /*IN*/ pOptions) PURE;
+ STDMETHOD(GetSource) (THIS) PURE;
+ STDMETHOD(Close) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAFileViewSourceResponse
- *
+ *
* IID_IRMAFileViewSourceResponse:
- *
+ *
* {00003501-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAFileViewSourceResponse, 0x00003501, 0x901, 0x11d1, 0x8b,
- 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAFileViewSourceResponse
@@ -97,32 +97,32 @@ DECLARE_INTERFACE_(IRMAFileViewSourceResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAFileViewSourceResoponse
*/
- STDMETHOD(InitDone)(THIS_ PN_RESULT status) PURE;
- STDMETHOD(SourceReady)(THIS_ PN_RESULT status,
- IRMABuffer * pSource) PURE;
- STDMETHOD(CloseDone)(THIS_ PN_RESULT) PURE;
+ STDMETHOD(InitDone) (THIS_ PN_RESULT status ) PURE;
+ STDMETHOD(SourceReady) (THIS_ PN_RESULT status,
+ IRMABuffer* pSource ) PURE;
+ STDMETHOD(CloseDone) (THIS_ PN_RESULT) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAViewSourceCommand
- *
+ *
* IID_IRMAViewSourceCommand:
- *
+ *
* {00003504-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAViewSourceCommand, 0x00003504, 0x901, 0x11d1, 0x8b, 0x6,
- 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAViewSourceCommand
@@ -132,35 +132,35 @@ DECLARE_INTERFACE_(IRMAViewSourceCommand, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAViewSourceCommand
*/
- STDMETHOD_(BOOL, CanViewSource)(THIS_
- IRMAStreamSource * pStream) PURE;
- STDMETHOD(DoViewSource)(THIS_
- IRMAStreamSource * pStream) PURE;
- STDMETHOD(GetViewSourceURL)(THIS_
- IRMAStreamSource * pSource,
- IRMAViewSourceURLResponse * pResp) PURE;
+ STDMETHOD_(BOOL, CanViewSource) (THIS_
+ IRMAStreamSource* pStream) PURE;
+ STDMETHOD(DoViewSource) (THIS_
+ IRMAStreamSource* pStream) PURE;
+ STDMETHOD(GetViewSourceURL) (THIS_
+ IRMAStreamSource* pSource,
+ IRMAViewSourceURLResponse* pResp) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAViewSourceURLResponse
- *
+ *
* IID_IRMAViewSourceURLResponse:
- *
+ *
* {00003505-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAViewSourceURLResponse, 0x00003505, 0x901, 0x11d1, 0x8b, 0x6,
- 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAViewSourceURLResponse
@@ -170,15 +170,15 @@ DECLARE_INTERFACE_(IRMAViewSourceURLResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, void** ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAViewSourceURLResponse
*/
- STDMETHOD(ViewSourceURLReady)(THIS_
- const char* /*out*/ pUrl) PURE;
+ STDMETHOD(ViewSourceURLReady) (THIS_
+ const char* /*out*/ pUrl) PURE;
};
diff --git a/include/realmedia/rmavsurf.h b/include/realmedia/rmavsurf.h
index a5b75b97a..e3460126a 100644
--- a/include/realmedia/rmavsurf.h
+++ b/include/realmedia/rmavsurf.h
@@ -133,7 +133,7 @@ typedef UINT32 RMA_COMPRESSION_TYPE;
*/
DEFINE_GUID(IID_IRMAVideoSurface, 0x00002200, 0x901, 0x11d1, 0x8b,
- 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAVideoSurface
@@ -143,23 +143,23 @@ DECLARE_INTERFACE_(IRMAVideoSurface, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAVideoSurface methods usually called by renderers to
* Draw on the surface
*/
- STDMETHOD(Blt)(THIS_
- UCHAR* /*IN*/ pImageBits,
- RMABitmapInfoHeader* /*IN*/ pBitmapInfo,
- REF(PNxRect) /*IN*/ rDestRect,
- REF(PNxRect) /*IN*/ rSrcRect) PURE;
+ STDMETHOD(Blt) (THIS_
+ UCHAR* /*IN*/ pImageBits,
+ RMABitmapInfoHeader* /*IN*/ pBitmapInfo,
+ REF(PNxRect) /*IN*/ rDestRect,
+ REF(PNxRect) /*IN*/ rSrcRect) PURE;
/************************************************************************
* Method:
@@ -169,7 +169,7 @@ DECLARE_INTERFACE_(IRMAVideoSurface, IUnknown)
* OptimizedBlt calls.
*/
STDMETHOD(BeginOptimizedBlt)(THIS_
- RMABitmapInfoHeader* /*IN*/ pBitmapInfo) PURE;
+ RMABitmapInfoHeader* /*IN*/ pBitmapInfo) PURE;
/************************************************************************
* Method:
@@ -178,10 +178,10 @@ DECLARE_INTERFACE_(IRMAVideoSurface, IUnknown)
* Called by renderer to draw to the video surface, in the format
* previously specified by calling BeginOptimizedBlt.
*/
- STDMETHOD(OptimizedBlt)(THIS_
- UCHAR* /*IN*/ pImageBits,
- REF(PNxRect) /*IN*/ rDestRect,
- REF(PNxRect) /*IN*/ rSrcRect) PURE;
+ STDMETHOD(OptimizedBlt) (THIS_
+ UCHAR* /*IN*/ pImageBits,
+ REF(PNxRect) /*IN*/ rDestRect,
+ REF(PNxRect) /*IN*/ rSrcRect) PURE;
/************************************************************************
* Method:
@@ -190,7 +190,7 @@ DECLARE_INTERFACE_(IRMAVideoSurface, IUnknown)
* Called by renderer allow the video surface to cleanup after all
* OptimizedBlt calls have been made.
*/
- STDMETHOD(EndOptimizedBlt)(THIS) PURE;
+ STDMETHOD(EndOptimizedBlt) (THIS) PURE;
/************************************************************************
* Method:
@@ -200,7 +200,7 @@ DECLARE_INTERFACE_(IRMAVideoSurface, IUnknown)
* renderer committed to when it called BeginOptimizedBlt.
*/
STDMETHOD(GetOptimizedFormat)(THIS_
- REF(RMA_COMPRESSION_TYPE) /*OUT*/ ulType) PURE;
+ REF(RMA_COMPRESSION_TYPE) /*OUT*/ ulType) PURE;
/************************************************************************
* Method:
@@ -210,7 +210,7 @@ DECLARE_INTERFACE_(IRMAVideoSurface, IUnknown)
* surface would prefer to be given in BeginOptimizedBlt.
*/
STDMETHOD(GetPreferredFormat)(THIS_
- REF(RMA_COMPRESSION_TYPE) /*OUT*/ ulType) PURE;
+ REF(RMA_COMPRESSION_TYPE) /*OUT*/ ulType) PURE;
};
#endif /* _RMAVSURF_H_ */
diff --git a/include/realmedia/rmawin.h b/include/realmedia/rmawin.h
index 43c35bc69..6bbcfb940 100644
--- a/include/realmedia/rmawin.h
+++ b/include/realmedia/rmawin.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmawin.h 7 2003-05-30 02:18:02Z gabest $
- *
+ *
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
*
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -40,7 +40,7 @@ typedef void* PNxRegion;
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASiteWindowed
@@ -55,8 +55,8 @@ typedef void* PNxRegion;
* {00000D01-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteWindowed, 0x00000D01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASiteWindowed, 0x00000D01, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMASiteWindowed IID_IRMASiteWindowed
@@ -69,59 +69,59 @@ DECLARE_INTERFACE_(IRMASiteWindowed, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
- * IRMASiteWindowed methods called by site suppliers
+ * IRMASiteWindowed methods called by site suppliers
* when they want the site associated with a
* previously created (and externally managed) window.
* This method will "sub-class" that window (Win32).
- * On Unix, the site supplier must pass events from
+ * On Unix, the site supplier must pass events from
* the externally managed window to the core via
* IRMAClientEngine::EventOccurred(). Please note that
* The PNxWindow ptr must remain in scope for the life
* of Site.
- *
+ *
*/
- STDMETHOD(AttachWindow)(THIS_
- PNxWindow* /*IN*/ pWindow) PURE;
+ STDMETHOD(AttachWindow) (THIS_
+ PNxWindow* /*IN*/ pWindow) PURE;
- STDMETHOD(DetachWindow)(THIS) PURE;
+ STDMETHOD(DetachWindow) (THIS) PURE;
/*
* IRMASiteWindowed methods called by Owners of the site
* in the event that want a default top level window created
* for the site.
*/
- STDMETHOD(Create)(THIS_
- void * ParentWindow,
- UINT32 style) PURE;
+ STDMETHOD(Create) (THIS_
+ void* ParentWindow,
+ UINT32 style) PURE;
- STDMETHOD(Destroy)(THIS) PURE;
+ STDMETHOD(Destroy) (THIS) PURE;
/*
* IRMASiteWindowed method. Returns actual window of the site.
*/
- STDMETHOD_(PNxWindow*, GetWindow)(THIS) PURE;
+ STDMETHOD_(PNxWindow*,GetWindow)(THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASiteWindowless
*
* Purpose:
*
- * Interface for IRMASite objects which are "windowless" or not
+ * Interface for IRMASite objects which are "windowless" or not
* associated with platform specific window objects.
*
* IID_IRMASiteWindowless:
@@ -129,8 +129,8 @@ DECLARE_INTERFACE_(IRMASiteWindowed, IUnknown)
* {00000D02-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteWindowless, 0x00000D02, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASiteWindowless, 0x00000D02, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASiteWindowless
@@ -142,31 +142,31 @@ DECLARE_INTERFACE_(IRMASiteWindowless, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMASiteWindowless methods called by owners of the site.
*/
- STDMETHOD(EventOccurred)(THIS_
- PNxEvent* /*IN*/ pEvent) PURE;
+ STDMETHOD(EventOccurred) (THIS_
+ PNxEvent* /*IN*/ pEvent) PURE;
/*
* IRMASiteWindowless method. Returns some parent window that
* owns the windowless site. Useful for right-click menus and
* dialog box calls.
*/
- STDMETHOD_(PNxWindow*, GetParentWindow)(THIS) PURE;
+ STDMETHOD_(PNxWindow*,GetParentWindow)(THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASite
@@ -180,8 +180,8 @@ DECLARE_INTERFACE_(IRMASiteWindowless, IUnknown)
* {00000D03-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASite, 0x00000D03, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASite, 0x00000D03, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASite
@@ -191,72 +191,72 @@ DECLARE_INTERFACE_(IRMASite, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
- * IRMASite methods usually called by the "context" to
+ * IRMASite methods usually called by the "context" to
* associate users with the site, and to create child sites
* as appropriate.
*/
- STDMETHOD(AttachUser)(THIS_
- IRMASiteUser* /*IN*/ pUser) PURE;
+ STDMETHOD(AttachUser) (THIS_
+ IRMASiteUser* /*IN*/ pUser) PURE;
- STDMETHOD(DetachUser)(THIS) PURE;
+ STDMETHOD(DetachUser) (THIS) PURE;
- STDMETHOD(GetUser)(THIS_
- REF(IRMASiteUser*) /*OUT*/ pUser) PURE;
+ STDMETHOD(GetUser) (THIS_
+ REF(IRMASiteUser*) /*OUT*/ pUser) PURE;
- STDMETHOD(CreateChild)(THIS_
- REF(IRMASite*) /*OUT*/ pChildSite) PURE;
+ STDMETHOD(CreateChild) (THIS_
+ REF(IRMASite*) /*OUT*/ pChildSite) PURE;
- STDMETHOD(DestroyChild)(THIS_
- IRMASite* /*IN*/ pChildSite) PURE;
+ STDMETHOD(DestroyChild) (THIS_
+ IRMASite* /*IN*/ pChildSite) PURE;
/*
* IRMASite methods called by the the "context" in which the site
* is displayed in order to manage its position. Site users should
* not generally call these methods.
*/
- STDMETHOD(AttachWatcher)(THIS_
- IRMASiteWatcher* /*IN*/ pWatcher) PURE;
+ STDMETHOD(AttachWatcher) (THIS_
+ IRMASiteWatcher* /*IN*/ pWatcher) PURE;
- STDMETHOD(DetachWatcher)(THIS) PURE;
+ STDMETHOD(DetachWatcher) (THIS) PURE;
- STDMETHOD(SetPosition)(THIS_
- PNxPoint position) PURE;
+ STDMETHOD(SetPosition) (THIS_
+ PNxPoint position) PURE;
- STDMETHOD(GetPosition)(THIS_
- REF(PNxPoint) position) PURE;
+ STDMETHOD(GetPosition) (THIS_
+ REF(PNxPoint) position) PURE;
/*
* IRMASite methods called by the user of the site to get
* information about the site, and to manipulate the site.
*/
- STDMETHOD(SetSize)(THIS_
- PNxSize size) PURE;
+ STDMETHOD(SetSize) (THIS_
+ PNxSize size) PURE;
- STDMETHOD(GetSize)(THIS_
- REF(PNxSize) size) PURE;
+ STDMETHOD(GetSize) (THIS_
+ REF(PNxSize) size) PURE;
- STDMETHOD(DamageRect)(THIS_
- PNxRect rect) PURE;
+ STDMETHOD(DamageRect) (THIS_
+ PNxRect rect) PURE;
- STDMETHOD(DamageRegion)(THIS_
- PNxRegion region) PURE;
+ STDMETHOD(DamageRegion) (THIS_
+ PNxRegion region) PURE;
- STDMETHOD(ForceRedraw)(THIS) PURE;
+ STDMETHOD(ForceRedraw) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASiteUser
@@ -270,8 +270,8 @@ DECLARE_INTERFACE_(IRMASite, IUnknown)
* {00000D04-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteUser, 0x00000D04, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASiteUser, 0x00000D04, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASiteUser
@@ -281,34 +281,34 @@ DECLARE_INTERFACE_(IRMASiteUser, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
- * IRMASiteUser methods usually called by the "context" to
+ * IRMASiteUser methods usually called by the "context" to
* associate users with the site.
*/
- STDMETHOD(AttachSite)(THIS_
- IRMASite* /*IN*/ pSite) PURE;
+ STDMETHOD(AttachSite) (THIS_
+ IRMASite* /*IN*/ pSite) PURE;
- STDMETHOD(DetachSite)(THIS) PURE;
+ STDMETHOD(DetachSite) (THIS) PURE;
/*
* IRMASiteUser methods called to inform user of an event.
*/
- STDMETHOD(HandleEvent)(THIS_
- PNxEvent* /*IN*/ pEvent) PURE;
+ STDMETHOD(HandleEvent) (THIS_
+ PNxEvent* /*IN*/ pEvent) PURE;
- STDMETHOD_(BOOL, NeedsWindowedSites)(THIS) PURE;
+ STDMETHOD_(BOOL,NeedsWindowedSites) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASiteWatcher
@@ -322,8 +322,8 @@ DECLARE_INTERFACE_(IRMASiteUser, IUnknown)
* {00000D05-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteWatcher, 0x00000D05, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASiteWatcher, 0x00000D05, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASiteWatcher
@@ -333,22 +333,22 @@ DECLARE_INTERFACE_(IRMASiteWatcher, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
- * IRMASiteWatcher methods called by the site when a watcher
+ * IRMASiteWatcher methods called by the site when a watcher
* is attached to or detached from it.
*/
- STDMETHOD(AttachSite)(THIS_
- IRMASite* /*IN*/ pSite) PURE;
+ STDMETHOD(AttachSite) (THIS_
+ IRMASite* /*IN*/ pSite) PURE;
- STDMETHOD(DetachSite)(THIS) PURE;
+ STDMETHOD(DetachSite) (THIS) PURE;
/*
* IRMASiteWatcher methods called by the site an attempt is
@@ -358,17 +358,17 @@ DECLARE_INTERFACE_(IRMASiteWatcher, IUnknown)
* will not change. The site watcher can also modify the new
* size of position.
*/
- STDMETHOD(ChangingPosition)(THIS_
- PNxPoint posOld,
- REF(PNxPoint)/*IN-OUT*/ posNew) PURE;
+ STDMETHOD(ChangingPosition) (THIS_
+ PNxPoint posOld,
+ REF(PNxPoint)/*IN-OUT*/ posNew) PURE;
- STDMETHOD(ChangingSize)(THIS_
- PNxSize sizeOld,
- REF(PNxSize) /*IN-OUT*/ sizeNew) PURE;
+ STDMETHOD(ChangingSize) (THIS_
+ PNxSize sizeOld,
+ REF(PNxSize) /*IN-OUT*/ sizeNew) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASiteUserSupplier
@@ -376,7 +376,7 @@ DECLARE_INTERFACE_(IRMASiteWatcher, IUnknown)
* Purpose:
*
* Interface implemented by renderers and objects with provide layouts to
- * the client core. This interface is called by the core when it needs a
+ * the client core. This interface is called by the core when it needs a
* new IRMASiteUser, or when it is done using an IRMASiteUser.
*
* IID_IRMASiteUserSupplier:
@@ -384,8 +384,8 @@ DECLARE_INTERFACE_(IRMASiteWatcher, IUnknown)
* {00000D06-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteUserSupplier, 0x00000D06, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASiteUserSupplier, 0x00000D06, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASiteUserSupplier
@@ -395,31 +395,31 @@ DECLARE_INTERFACE_(IRMASiteUserSupplier, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
- * IRMASiteUserSupplier methods usually called by the
+ * IRMASiteUserSupplier methods usually called by the
* "context" to ask for additional or to release previously
* created site users.
*/
- STDMETHOD(CreateSiteUser)(THIS_
- REF(IRMASiteUser*)/*OUT*/ pSiteUser) PURE;
+ STDMETHOD(CreateSiteUser) (THIS_
+ REF(IRMASiteUser*)/*OUT*/ pSiteUser) PURE;
- STDMETHOD(DestroySiteUser)(THIS_
- IRMASiteUser* /*IN*/ pSiteUser) PURE;
+ STDMETHOD(DestroySiteUser) (THIS_
+ IRMASiteUser* /*IN*/ pSiteUser) PURE;
- STDMETHOD_(BOOL, NeedsWindowedSites)(THIS) PURE;
+ STDMETHOD_(BOOL,NeedsWindowedSites) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASiteSupplier
@@ -435,8 +435,8 @@ DECLARE_INTERFACE_(IRMASiteUserSupplier, IUnknown)
* {00000D07-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteSupplier, 0x00000D07, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASiteSupplier, 0x00000D07, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASiteSupplier
@@ -446,13 +446,13 @@ DECLARE_INTERFACE_(IRMASiteSupplier, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMASiteSupplier methods
@@ -463,29 +463,29 @@ DECLARE_INTERFACE_(IRMASiteSupplier, IUnknown)
* IRMASiteSupplier::SitesNeeded
* Purpose:
* Called to inform the site supplier that a site with a particular
- * set of characteristics is needed. If the site supplier can
+ * set of characteristics is needed. If the site supplier can
* fulfill the request it should call the site manager and add one
* or more new sites.
* Note that the request for sites is associated with a Request ID
* the client core will inform the site supplier when this requested
* site is no longer needed.
*/
- STDMETHOD(SitesNeeded)(THIS_
- UINT32 uReqestID,
- IRMAValues * pSiteProps) PURE;
+ STDMETHOD(SitesNeeded) (THIS_
+ UINT32 uReqestID,
+ IRMAValues* pSiteProps) PURE;
/************************************************************************
* Method:
* IRMASiteSupplier::SitesNotNeeded
* Purpose:
* Called to inform the site supplier that all sites from a previos
- * site request are no longer needed. If the site supplier had
+ * site request are no longer needed. If the site supplier had
* previously created non-persistant sites (like popup windows)
- * to fulfill a request for sites it should call the site manager
+ * to fulfill a request for sites it should call the site manager
* and remove those sites.
*/
- STDMETHOD(SitesNotNeeded)(THIS_
- UINT32 uReqestID) PURE;
+ STDMETHOD(SitesNotNeeded) (THIS_
+ UINT32 uReqestID) PURE;
/************************************************************************
@@ -496,7 +496,7 @@ DECLARE_INTERFACE_(IRMASiteSupplier, IUnknown)
* it can expect to recieve SitesNeeded() and SitesNotNeeded() calls
* while a layout change is in progress,
*/
- STDMETHOD(BeginChangeLayout)(THIS) PURE;
+ STDMETHOD(BeginChangeLayout) (THIS) PURE;
/************************************************************************
* Method:
@@ -505,13 +505,13 @@ DECLARE_INTERFACE_(IRMASiteSupplier, IUnknown)
* Called to inform the site supplier the layout change has been
* completed.
*/
- STDMETHOD(DoneChangeLayout)(THIS) PURE;
+ STDMETHOD(DoneChangeLayout) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMASiteManager
@@ -527,8 +527,8 @@ DECLARE_INTERFACE_(IRMASiteSupplier, IUnknown)
* {00000D08-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteManager, 0x00000D08, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+DEFINE_GUID(IID_IRMASiteManager, 0x00000D08, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMASiteManager
@@ -538,13 +538,13 @@ DECLARE_INTERFACE_(IRMASiteManager, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMASiteManager methods
@@ -556,23 +556,23 @@ DECLARE_INTERFACE_(IRMASiteManager, IUnknown)
* Purpose:
* Called to inform the site manager of the existance of a site.
*/
- STDMETHOD(AddSite)(THIS_
- IRMASite * pSite) PURE;
+ STDMETHOD(AddSite) (THIS_
+ IRMASite* pSite) PURE;
/************************************************************************
* Method:
* IRMASiteManager::RemoveSite
* Purpose:
- * Called to inform the site manager that a site is no longer
+ * Called to inform the site manager that a site is no longer
* available.
*/
- STDMETHOD(RemoveSite)(THIS_
- IRMASite * pSite) PURE;
+ STDMETHOD(RemoveSite) (THIS_
+ IRMASite* pSite) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
*
* IRMAMultiInstanceSiteUserSupplier
@@ -580,12 +580,12 @@ DECLARE_INTERFACE_(IRMASiteManager, IUnknown)
* Purpose:
*
* This is the interface for a special default object which is available
- * from the common class factory. This object will act as a site user
+ * from the common class factory. This object will act as a site user
* supplier for any renderer (or other site user object) that wants
* default support for multiple instances. The site user must work as
- * a windowless site for this default implementation to work. The
+ * a windowless site for this default implementation to work. The
* default object also implements the IRMASite interfave to allow
- * the site user object to control all the sites through a single
+ * the site user object to control all the sites through a single
* interface instance.
*
* IID_IRMAMultiInstanceSiteUserSupplier:
@@ -593,7 +593,7 @@ DECLARE_INTERFACE_(IRMASiteManager, IUnknown)
* {00000D09-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAMultiInstanceSiteUserSupplier, 0x00000D09, 0x901,
+DEFINE_GUID(IID_IRMAMultiInstanceSiteUserSupplier, 0x00000D09, 0x901,
0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#define CLSID_IRMAMultiInstanceSiteUserSupplier \
@@ -607,26 +607,26 @@ DECLARE_INTERFACE_(IRMAMultiInstanceSiteUserSupplier, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAMultiInstanceSiteUserSupplier methods called by site users.
*/
- STDMETHOD(SetSingleSiteUser)(THIS_
- IUnknown * pUnknown) PURE;
+ STDMETHOD(SetSingleSiteUser) (THIS_
+ IUnknown* pUnknown) PURE;
- STDMETHOD(ReleaseSingleSiteUser)(THIS) PURE;
+ STDMETHOD(ReleaseSingleSiteUser) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
* IRMASiteFullScreen
*
@@ -639,7 +639,7 @@ DECLARE_INTERFACE_(IRMAMultiInstanceSiteUserSupplier, IUnknown)
* {00000D0B-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMASiteFullScreen, 0x00000D0B, 0x901,
+DEFINE_GUID(IID_IRMASiteFullScreen, 0x00000D0B, 0x901,
0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
@@ -650,32 +650,32 @@ DECLARE_INTERFACE_(IRMASiteFullScreen, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMASiteFullScreen methods
*/
- STDMETHOD(EnterFullScreen)(THIS) PURE;
+ STDMETHOD(EnterFullScreen) (THIS) PURE;
- STDMETHOD(ExitFullScreen)(THIS) PURE;
+ STDMETHOD(ExitFullScreen) (THIS) PURE;
- STDMETHOD(TestFullScreen)(THIS_
- void * hTestBitmap, const char * pszStatusText) PURE;
+ STDMETHOD(TestFullScreen) (THIS_
+ void* hTestBitmap,const char* pszStatusText) PURE;
- STDMETHOD_(BOOL, IsFullScreen)(THIS) PURE;
+ STDMETHOD_(BOOL, IsFullScreen) (THIS) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
* IRMAEventHookMgr
*
@@ -688,7 +688,7 @@ DECLARE_INTERFACE_(IRMASiteFullScreen, IUnknown)
* {00000D0D-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAEventHookMgr, 0x00000D0D, 0x901,
+DEFINE_GUID(IID_IRMAEventHookMgr, 0x00000D0D, 0x901,
0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
@@ -699,30 +699,30 @@ DECLARE_INTERFACE_(IRMAEventHookMgr, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAEventHookMgr methods
*/
- STDMETHOD(AddHook)(THIS_
- IRMAEventHook * pHook,
- const char * pRegionName,
- UINT16 uLayer) PURE;
+ STDMETHOD(AddHook) (THIS_
+ IRMAEventHook* pHook,
+ const char* pRegionName,
+ UINT16 uLayer) PURE;
- STDMETHOD(RemoveHook)(THIS_
- IRMAEventHook * pHook,
- const char * pRegionName,
- UINT16 uLayer) PURE;
+ STDMETHOD(RemoveHook) (THIS_
+ IRMAEventHook* pHook,
+ const char* pRegionName,
+ UINT16 uLayer) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
* IRMAEventHook
*
@@ -735,7 +735,7 @@ DECLARE_INTERFACE_(IRMAEventHookMgr, IUnknown)
* {00000D0E-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAEventHook, 0x00000D0E, 0x901,
+DEFINE_GUID(IID_IRMAEventHook, 0x00000D0E, 0x901,
0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
@@ -746,42 +746,42 @@ DECLARE_INTERFACE_(IRMAEventHook, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAEventHook methods
*/
- STDMETHOD(SiteAdded)(THIS_
- IRMASite * pSite) PURE;
- STDMETHOD(HandleEvent)(THIS_
- IRMASite * pSite,
- PNxEvent * pEvent) PURE;
- STDMETHOD(SiteRemoved)(THIS_
- IRMASite * pSite) PURE;
+ STDMETHOD(SiteAdded) (THIS_
+ IRMASite* pSite) PURE;
+ STDMETHOD(HandleEvent) (THIS_
+ IRMASite* pSite,
+ PNxEvent* pEvent) PURE;
+ STDMETHOD(SiteRemoved) (THIS_
+ IRMASite* pSite) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
* IRMAStatusMessage
*
* Purpose:
*
- * This is the interface for setting the status text.
+ * This is the interface for setting the status text.
*
* IID_IRMAStatusMessage:
*
* {00000D10-0901-11d1-8B06-00A024406D59}
*
*/
-DEFINE_GUID(IID_IRMAStatusMessage, 0x00000D10, 0x901,
+DEFINE_GUID(IID_IRMAStatusMessage, 0x00000D10, 0x901,
0x11d1, 0x8b, 0x6, 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
@@ -792,19 +792,19 @@ DECLARE_INTERFACE_(IRMAStatusMessage, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/*
* IRMAStatusMessage methods
*/
- STDMETHOD(SetStatus)(THIS_ const char * pText) PURE;
+ STDMETHOD(SetStatus) (THIS_ const char* pText) PURE;
};
diff --git a/include/realmedia/rmaxmltg.h b/include/realmedia/rmaxmltg.h
index bbf302190..00579c548 100644
--- a/include/realmedia/rmaxmltg.h
+++ b/include/realmedia/rmaxmltg.h
@@ -1,12 +1,12 @@
/****************************************************************************
- *
+ *
* $Id: rmaxmltg.h 7 2003-05-30 02:18:02Z gabest $
*
* Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved..
- *
+ *
* http://www.real.com/devzone
*
- * This program contains proprietary
+ * This program contains proprietary
* information of Progressive Networks, Inc, and is licensed
* subject to restrictions on use and distribution.
*
@@ -24,18 +24,18 @@ typedef _INTERFACE IRMAXMLTagObject IRMAXMLTagObject;
typedef _INTERFACE IRMAXMLTagObjectResponse IRMAXMLTagObjectResponse;
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAXMLTagObjectResponse
- *
+ *
* IID_IRMAXMLTagObjectResponse:
- *
+ *
* {00002C02-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAXMLTagObjectResponse, 0x00002C02, 0x901, 0x11d1, 0x8b, 0x6,
- 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0x0, 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAXMLTagObjectResponse
@@ -45,34 +45,34 @@ DECLARE_INTERFACE_(IRMAXMLTagObjectResponse, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAXMLTagObjectResponse
*/
- STDMETHOD(OnTagDone)(THIS_ UINT32 ulInstance, IRMABuffer * pTag) PURE;
+ STDMETHOD(OnTagDone) (THIS_ UINT32 ulInstance, IRMABuffer* pTag) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAXMLTagHandler
- *
+ *
* IID_IRMAXMLTagHandler:
- *
+ *
* {00002C00-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAXMLTagHandler, 0x00002C03, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAXMLTagHandler
@@ -82,39 +82,39 @@ DECLARE_INTERFACE_(IRMAXMLTagHandler, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAXMLTagHandler
*/
- STDMETHOD(InitTagHandler)(THIS_ IRMAValues * pOptions) PURE;
- STDMETHOD(CreateTagObject)(THIS_ IRMAXMLTagObject** ppObj) PURE;
- STDMETHOD(GetTagHandlerInfo)(THIS_
- REF(const char*) /*OUT*/ pShortName,
- REF(const char**) /*OUT*/ pTag,
- REF(BOOL) /*OUT*/ bCanHandleAsync) PURE;
+ STDMETHOD(InitTagHandler) (THIS_ IRMAValues* pOptions) PURE;
+ STDMETHOD(CreateTagObject) (THIS_ IRMAXMLTagObject** ppObj) PURE;
+ STDMETHOD(GetTagHandlerInfo) (THIS_
+ REF(const char*) /*OUT*/ pShortName,
+ REF(const char**) /*OUT*/ pTag,
+ REF(BOOL) /*OUT*/ bCanHandleAsync) PURE;
};
/****************************************************************************
- *
+ *
* Interface:
- *
+ *
* IRMAXMLTagObject
- *
+ *
* IID_IRMAXMLTagObject:
- *
+ *
* {00002C01-0901-11d1-8B06-00A024406D59}
- *
+ *
*/
DEFINE_GUID(IID_IRMAXMLTagObject, 0x00002C04, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
+ 0xa0, 0x24, 0x40, 0x6d, 0x59);
#undef INTERFACE
#define INTERFACE IRMAXMLTagObject
@@ -124,20 +124,20 @@ DECLARE_INTERFACE_(IRMAXMLTagObject, IUnknown)
/*
* IUnknown methods
*/
- STDMETHOD(QueryInterface)(THIS_
- REFIID riid,
- void** ppvObj) PURE;
+ STDMETHOD(QueryInterface) (THIS_
+ REFIID riid,
+ void** ppvObj) PURE;
- STDMETHOD_(ULONG, AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG, Release)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
/************************************************************************
* IRMAXMLTagObject
*/
- STDMETHOD(InitTagObject)(IRMAXMLTagObjectResponse * pResp) PURE;
- STDMETHOD(OnTag)(THIS_ UINT32 ulInstance, IRMABuffer * pTag) PURE;
- STDMETHOD(Close)(THIS) PURE;
+ STDMETHOD(InitTagObject) (IRMAXMLTagObjectResponse* pResp) PURE;
+ STDMETHOD(OnTag) (THIS_ UINT32 ulInstance, IRMABuffer* pTag) PURE;
+ STDMETHOD(Close) (THIS) PURE;
};