This source file includes following definitions.
- MIDL_INTERFACE
- MIDL_INTERFACE
#pragma warning( disable: 4049 )
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __GPAX_h__
#define __GPAX_h__
#ifndef __IGPAX_FWD_DEFINED__
#define __IGPAX_FWD_DEFINED__
typedef interface IGPAX IGPAX;
#endif
#ifndef __IGPAXEvents_FWD_DEFINED__
#define __IGPAXEvents_FWD_DEFINED__
typedef interface IGPAXEvents IGPAXEvents;
#endif
#ifndef __GPAX_FWD_DEFINED__
#define __GPAX_FWD_DEFINED__
#ifdef __cplusplus
typedef class GPAX GPAX;
#else
typedef struct GPAX GPAX;
#endif
#endif
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C" {
#endif
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __GPAXLib_LIBRARY_DEFINED__
#define __GPAXLib_LIBRARY_DEFINED__
#define DISPID_SRC ( 100 )
#define DISPID_AutoStart ( 101 )
#define DISPID_DownloadProgress ( 102 )
#define DISPID_PlayEvent ( 100 )
#define DISPID_PauseEvent ( 101 )
#define DISPID_StopEvent ( 102 )
EXTERN_C const IID LIBID_GPAXLib;
#ifndef __IGPAX_INTERFACE_DEFINED__
#define __IGPAX_INTERFACE_DEFINED__
EXTERN_C const IID IID_IGPAX;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E2A9A937-BB35-47E0-8942-964806299AB4")
IGPAX :
public IDispatch
{
public:
virtual HRESULT STDMETHODCALLTYPE Play( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Update(
BSTR mtype,
BSTR updates) = 0;
virtual HRESULT STDMETHODCALLTYPE QualitySwitch(
INT switchUp) = 0;
virtual HRESULT STDMETHODCALLTYPE SetURL(
BSTR url) = 0;
virtual HRESULT STDMETHODCALLTYPE get_src(
BSTR __RPC_FAR *url) = 0;
virtual HRESULT STDMETHODCALLTYPE put_src(
BSTR url) = 0;
virtual HRESULT STDMETHODCALLTYPE get_AutoStart(
VARIANT_BOOL __RPC_FAR *autoplay) = 0;
virtual HRESULT STDMETHODCALLTYPE put_AutoStart(
VARIANT_BOOL autoplay) = 0;
virtual HRESULT STDMETHODCALLTYPE get_DownloadProgress(
INT __RPC_FAR *downloadProgress) = 0;
virtual HRESULT STDMETHODCALLTYPE put_DownloadProgress(
INT downloadProgress) = 0;
};
#else
typedef struct IGPAXVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IGPAX __RPC_FAR * This,
REFIID riid,
void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IGPAX __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IGPAX __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IGPAX __RPC_FAR * This,
UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IGPAX __RPC_FAR * This,
UINT iTInfo,
LCID lcid,
ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IGPAX __RPC_FAR * This,
REFIID riid,
LPOLESTR __RPC_FAR *rgszNames,
UINT cNames,
LCID lcid,
DISPID __RPC_FAR *rgDispId);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IGPAX __RPC_FAR * This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS __RPC_FAR *pDispParams,
VARIANT __RPC_FAR *pVarResult,
EXCEPINFO __RPC_FAR *pExcepInfo,
UINT __RPC_FAR *puArgErr);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Play )(
IGPAX __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Pause )(
IGPAX __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Stop )(
IGPAX __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Update )(
IGPAX __RPC_FAR * This,
BSTR mtype,
BSTR updates);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QualitySwitch )(
IGPAX __RPC_FAR * This,
INT switchUp);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetURL )(
IGPAX __RPC_FAR * This,
BSTR url);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_src )(
IGPAX __RPC_FAR * This,
BSTR __RPC_FAR *url);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_src )(
IGPAX __RPC_FAR * This,
BSTR url);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AutoStart )(
IGPAX __RPC_FAR * This,
VARIANT_BOOL __RPC_FAR *autoplay);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AutoStart )(
IGPAX __RPC_FAR * This,
VARIANT_BOOL autoplay);
END_INTERFACE
} IGPAXVtbl;
interface IGPAX
{
CONST_VTBL struct IGPAXVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IGPAX_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IGPAX_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IGPAX_Release(This) \
(This)->lpVtbl -> Release(This)
#define IGPAX_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IGPAX_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IGPAX_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IGPAX_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IGPAX_Play(This) \
(This)->lpVtbl -> Play(This)
#define IGPAX_Pause(This) \
(This)->lpVtbl -> Pause(This)
#define IGPAX_Stop(This) \
(This)->lpVtbl -> Stop(This)
#define IGPAX_Update(This,mtype,updates) \
(This)->lpVtbl -> Update(This,mtype,updates)
#define IGPAX_QualitySwitch(This,switchUp) \
(This)->lpVtbl -> QualitySwitch(This,switchUp)
#define IGPAX_SetURL(This,url) \
(This)->lpVtbl -> SetURL(This,url)
#define IGPAX_get_src(This,url) \
(This)->lpVtbl -> get_src(This,url)
#define IGPAX_put_src(This,url) \
(This)->lpVtbl -> put_src(This,url)
#define IGPAX_get_AutoStart(This,autoplay) \
(This)->lpVtbl -> get_AutoStart(This,autoplay)
#define IGPAX_put_AutoStart(This,autoplay) \
(This)->lpVtbl -> put_AutoStart(This,autoplay)
#endif
#endif
HRESULT STDMETHODCALLTYPE IGPAX_Play_Proxy(
IGPAX __RPC_FAR * This);
void __RPC_STUB IGPAX_Play_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_Pause_Proxy(
IGPAX __RPC_FAR * This);
void __RPC_STUB IGPAX_Pause_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_Stop_Proxy(
IGPAX __RPC_FAR * This);
void __RPC_STUB IGPAX_Stop_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_Update_Proxy(
IGPAX __RPC_FAR * This,
BSTR mtype,
BSTR updates);
void __RPC_STUB IGPAX_Update_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_QualitySwitch_Proxy(
IGPAX __RPC_FAR * This,
INT switchUp);
void __RPC_STUB IGPAX_QualitySwitch_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_SetURL_Proxy(
IGPAX __RPC_FAR * This,
BSTR url);
void __RPC_STUB IGPAX_SetURL_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_get_src_Proxy(
IGPAX __RPC_FAR * This,
BSTR __RPC_FAR *url);
void __RPC_STUB IGPAX_get_src_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_put_src_Proxy(
IGPAX __RPC_FAR * This,
BSTR url);
void __RPC_STUB IGPAX_put_src_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_get_AutoStart_Proxy(
IGPAX __RPC_FAR * This,
VARIANT_BOOL __RPC_FAR *autoplay);
void __RPC_STUB IGPAX_get_AutoStart_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_put_AutoStart_Proxy(
IGPAX __RPC_FAR * This,
VARIANT_BOOL autoplay);
void __RPC_STUB IGPAX_put_AutoStart_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_get_DownloadProgress_Proxy(
IGPAX __RPC_FAR * This,
INT __RPC_FAR *autoplay);
void __RPC_STUB IGPAX_get_DownloadProgress_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IGPAX_put_DownloadProgress_Proxy(
IGPAX __RPC_FAR * This,
INT autoplay);
void __RPC_STUB IGPAX_put_DownloadProgress_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif
#ifndef __IGPAXEvents_DISPINTERFACE_DEFINED__
#define __IGPAXEvents_DISPINTERFACE_DEFINED__
EXTERN_C const IID DIID_IGPAXEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1FDA32FC-4C9A-461F-B33B-0715B0343006")
IGPAXEvents :
public IDispatch
{
};
#else
typedef struct IGPAXEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IGPAXEvents __RPC_FAR * This,
REFIID riid,
void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IGPAXEvents __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IGPAXEvents __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IGPAXEvents __RPC_FAR * This,
UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IGPAXEvents __RPC_FAR * This,
UINT iTInfo,
LCID lcid,
ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IGPAXEvents __RPC_FAR * This,
REFIID riid,
LPOLESTR __RPC_FAR *rgszNames,
UINT cNames,
LCID lcid,
DISPID __RPC_FAR *rgDispId);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IGPAXEvents __RPC_FAR * This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS __RPC_FAR *pDispParams,
VARIANT __RPC_FAR *pVarResult,
EXCEPINFO __RPC_FAR *pExcepInfo,
UINT __RPC_FAR *puArgErr);
END_INTERFACE
} IGPAXEventsVtbl;
interface IGPAXEvents
{
CONST_VTBL struct IGPAXEventsVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IGPAXEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IGPAXEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IGPAXEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define IGPAXEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IGPAXEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IGPAXEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IGPAXEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#endif
#endif
#endif
EXTERN_C const CLSID CLSID_GPAX;
#ifdef __cplusplus
class DECLSPEC_UUID("181D18E6-4DC1-4B55-B72E-BE2A10064995")
GPAX;
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif