2005-03-02 17:47:31 +01:00
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
|
|
|
|
|
|
/* File created by MIDL compiler version 5.01.0164 */
|
2005-08-21 19:40:32 +02:00
|
|
|
/* at Sun Aug 21 17:16:22 2005
|
2005-03-02 17:47:31 +01:00
|
|
|
*/
|
|
|
|
/* Compiler settings for axvlc.idl:
|
|
|
|
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
|
|
|
|
error checks: allocation ref bounds_check enum stub_data
|
|
|
|
*/
|
|
|
|
//@@MIDL_FILE_HEADING( )
|
|
|
|
|
|
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 440
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "rpc.h"
|
|
|
|
#include "rpcndr.h"
|
|
|
|
|
|
|
|
#ifndef __axvlc_idl_h__
|
|
|
|
#define __axvlc_idl_h__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Forward Declarations */
|
|
|
|
|
|
|
|
#ifndef __IVLCControl_FWD_DEFINED__
|
|
|
|
#define __IVLCControl_FWD_DEFINED__
|
|
|
|
typedef interface IVLCControl IVLCControl;
|
|
|
|
#endif /* __IVLCControl_FWD_DEFINED__ */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __DVLCEvents_FWD_DEFINED__
|
|
|
|
#define __DVLCEvents_FWD_DEFINED__
|
|
|
|
typedef interface DVLCEvents DVLCEvents;
|
|
|
|
#endif /* __DVLCEvents_FWD_DEFINED__ */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __VLCPlugin_FWD_DEFINED__
|
|
|
|
#define __VLCPlugin_FWD_DEFINED__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
typedef class VLCPlugin VLCPlugin;
|
|
|
|
#else
|
|
|
|
typedef struct VLCPlugin VLCPlugin;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* __VLCPlugin_FWD_DEFINED__ */
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
|
|
|
|
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __AXVLC_LIBRARY_DEFINED__
|
|
|
|
#define __AXVLC_LIBRARY_DEFINED__
|
|
|
|
|
|
|
|
/* library AXVLC */
|
|
|
|
/* [helpstring][version][uuid] */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum VLCPlaylistMode
|
|
|
|
{ VLCPlayListInsert = 1,
|
2005-08-21 19:40:32 +02:00
|
|
|
VLCPlayListInsertAndGo = 9,
|
2005-03-02 17:47:31 +01:00
|
|
|
VLCPlayListReplace = 2,
|
2005-08-21 19:40:32 +02:00
|
|
|
VLCPlayListReplaceAndGo = 10,
|
2005-03-02 17:47:31 +01:00
|
|
|
VLCPlayListAppend = 4,
|
2005-08-21 19:40:32 +02:00
|
|
|
VLCPlayListAppendAndGo = 12,
|
2005-03-02 17:47:31 +01:00
|
|
|
VLCPlayListCheckInsert = 16
|
|
|
|
};
|
|
|
|
#define VLCPlayListEnd ( -666 )
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_Visible ( 100 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_Playing ( 101 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_Position ( 102 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_Time ( 103 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_Length ( 104 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_Volume ( 105 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_MRL ( 106 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_AutoPlay ( 107 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define DISPID_AutoLoop ( 108 )
|
|
|
|
|
|
|
|
#define DISPID_PlayEvent ( 100 )
|
|
|
|
|
|
|
|
#define DISPID_PauseEvent ( 101 )
|
|
|
|
|
|
|
|
#define DISPID_StopEvent ( 102 )
|
2005-03-02 17:47:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
EXTERN_C const IID LIBID_AXVLC;
|
|
|
|
|
|
|
|
#ifndef __IVLCControl_INTERFACE_DEFINED__
|
|
|
|
#define __IVLCControl_INTERFACE_DEFINED__
|
|
|
|
|
|
|
|
/* interface IVLCControl */
|
|
|
|
/* [object][oleautomation][hidden][dual][helpstring][uuid] */
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN_C const IID IID_IVLCControl;
|
|
|
|
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
|
|
|
|
MIDL_INTERFACE("C2FA41D0-B113-476e-AC8C-9BD14999C1C1")
|
|
|
|
IVLCControl : public IDispatch
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual /* [helpstring][bindable][propget][id] */ HRESULT STDMETHODCALLTYPE get_Visible(
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *visible) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][bindable][propput][id] */ HRESULT STDMETHODCALLTYPE put_Visible(
|
|
|
|
/* [in] */ VARIANT_BOOL visible) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE play( void) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE pause( void) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE stop( void) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][propget][hidden][id] */ HRESULT STDMETHODCALLTYPE get_Playing(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *isPlaying) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Position(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [retval][out] */ float __RPC_FAR *position) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Position(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [in] */ float position) = 0;
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Time(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [retval][out] */ int __RPC_FAR *seconds) = 0;
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Time(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [in] */ int seconds) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE shuttle(
|
|
|
|
/* [in] */ int seconds) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE fullscreen( void) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][hidden][propget][id] */ HRESULT STDMETHODCALLTYPE get_Length(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [retval][out] */ int __RPC_FAR *seconds) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE playFaster( void) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE playSlower( void) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Volume(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [retval][out] */ int __RPC_FAR *volume) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Volume(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [in] */ int volume) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE toggleMute( void) = 0;
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE setVariable(
|
|
|
|
/* [in] */ BSTR name,
|
|
|
|
/* [in] */ VARIANT value) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE getVariable(
|
|
|
|
/* [in] */ BSTR name,
|
|
|
|
/* [retval][out] */ VARIANT __RPC_FAR *value) = 0;
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE addTarget(
|
|
|
|
/* [in] */ BSTR uri,
|
|
|
|
/* [in] */ VARIANT options,
|
|
|
|
/* [in] */ enum VLCPlaylistMode mode,
|
|
|
|
/* [in] */ int position) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PlaylistIndex(
|
|
|
|
/* [retval][out] */ int __RPC_FAR *index) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PlaylistCount(
|
|
|
|
/* [retval][out] */ int __RPC_FAR *index) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE playlistNext( void) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE playlistPrev( void) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE playlistClear( void) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE get_VersionInfo(
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [retval][out] */ BSTR __RPC_FAR *version) = 0;
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MRL(
|
|
|
|
/* [retval][out] */ BSTR __RPC_FAR *mrl) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MRL(
|
|
|
|
/* [in] */ BSTR mrl) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AutoPlay(
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *autoplay) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_AutoPlay(
|
|
|
|
/* [in] */ VARIANT_BOOL autoplay) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AutoLoop(
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *autoloop) = 0;
|
|
|
|
|
|
|
|
virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_AutoLoop(
|
|
|
|
/* [in] */ VARIANT_BOOL autoloop) = 0;
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
|
|
|
|
typedef struct IVLCControlVtbl
|
|
|
|
{
|
|
|
|
BEGIN_INTERFACE
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ REFIID riid,
|
|
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [out] */ UINT __RPC_FAR *pctinfo);
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ UINT iTInfo,
|
|
|
|
/* [in] */ LCID lcid,
|
|
|
|
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ REFIID riid,
|
|
|
|
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
|
|
|
|
/* [in] */ UINT cNames,
|
|
|
|
/* [in] */ LCID lcid,
|
|
|
|
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
|
|
|
|
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ DISPID dispIdMember,
|
|
|
|
/* [in] */ REFIID riid,
|
|
|
|
/* [in] */ LCID lcid,
|
|
|
|
/* [in] */ WORD wFlags,
|
|
|
|
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
|
|
|
|
/* [out] */ VARIANT __RPC_FAR *pVarResult,
|
|
|
|
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
|
|
|
|
/* [out] */ UINT __RPC_FAR *puArgErr);
|
|
|
|
|
|
|
|
/* [helpstring][bindable][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Visible )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *visible);
|
|
|
|
|
|
|
|
/* [helpstring][bindable][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Visible )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ VARIANT_BOOL visible);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *play )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *pause )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *stop )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][hidden][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Playing )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *isPlaying);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Position )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ float __RPC_FAR *position);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Position )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ float position);
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Time )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *seconds);
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Time )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ int seconds);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *shuttle )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ int seconds);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *fullscreen )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][hidden][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Length )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *seconds);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *playFaster )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *playSlower )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Volume )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *volume);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Volume )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ int volume);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *toggleMute )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setVariable )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR name,
|
|
|
|
/* [in] */ VARIANT value);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getVariable )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR name,
|
|
|
|
/* [retval][out] */ VARIANT __RPC_FAR *value);
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *addTarget )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR uri,
|
|
|
|
/* [in] */ VARIANT options,
|
|
|
|
/* [in] */ enum VLCPlaylistMode mode,
|
|
|
|
/* [in] */ int position);
|
|
|
|
|
|
|
|
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PlaylistIndex )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *index);
|
|
|
|
|
|
|
|
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PlaylistCount )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *index);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *playlistNext )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *playlistPrev )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *playlistClear )(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][hidden][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_VersionInfo )(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ BSTR __RPC_FAR *version);
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MRL )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ BSTR __RPC_FAR *mrl);
|
|
|
|
|
|
|
|
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MRL )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR mrl);
|
|
|
|
|
|
|
|
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AutoPlay )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *autoplay);
|
|
|
|
|
|
|
|
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AutoPlay )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ VARIANT_BOOL autoplay);
|
|
|
|
|
|
|
|
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AutoLoop )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *autoloop);
|
|
|
|
|
|
|
|
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AutoLoop )(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ VARIANT_BOOL autoloop);
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
END_INTERFACE
|
|
|
|
} IVLCControlVtbl;
|
|
|
|
|
|
|
|
interface IVLCControl
|
|
|
|
{
|
|
|
|
CONST_VTBL struct IVLCControlVtbl __RPC_FAR *lpVtbl;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
|
|
|
|
|
|
#define IVLCControl_QueryInterface(This,riid,ppvObject) \
|
|
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
|
|
|
|
#define IVLCControl_AddRef(This) \
|
|
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
|
|
|
|
#define IVLCControl_Release(This) \
|
|
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
|
|
|
|
|
|
#define IVLCControl_GetTypeInfoCount(This,pctinfo) \
|
|
|
|
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
|
|
|
|
|
|
|
|
#define IVLCControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
|
|
|
|
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
|
|
|
|
|
|
|
#define IVLCControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
|
|
|
|
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
|
|
|
|
|
|
|
#define IVLCControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
|
|
|
|
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
|
|
|
|
|
|
|
|
|
|
|
#define IVLCControl_get_Visible(This,visible) \
|
|
|
|
(This)->lpVtbl -> get_Visible(This,visible)
|
|
|
|
|
|
|
|
#define IVLCControl_put_Visible(This,visible) \
|
|
|
|
(This)->lpVtbl -> put_Visible(This,visible)
|
|
|
|
|
|
|
|
#define IVLCControl_play(This) \
|
|
|
|
(This)->lpVtbl -> play(This)
|
|
|
|
|
|
|
|
#define IVLCControl_pause(This) \
|
|
|
|
(This)->lpVtbl -> pause(This)
|
|
|
|
|
|
|
|
#define IVLCControl_stop(This) \
|
|
|
|
(This)->lpVtbl -> stop(This)
|
|
|
|
|
|
|
|
#define IVLCControl_get_Playing(This,isPlaying) \
|
|
|
|
(This)->lpVtbl -> get_Playing(This,isPlaying)
|
|
|
|
|
|
|
|
#define IVLCControl_get_Position(This,position) \
|
|
|
|
(This)->lpVtbl -> get_Position(This,position)
|
|
|
|
|
|
|
|
#define IVLCControl_put_Position(This,position) \
|
|
|
|
(This)->lpVtbl -> put_Position(This,position)
|
|
|
|
|
|
|
|
#define IVLCControl_get_Time(This,seconds) \
|
|
|
|
(This)->lpVtbl -> get_Time(This,seconds)
|
|
|
|
|
|
|
|
#define IVLCControl_put_Time(This,seconds) \
|
|
|
|
(This)->lpVtbl -> put_Time(This,seconds)
|
|
|
|
|
|
|
|
#define IVLCControl_shuttle(This,seconds) \
|
|
|
|
(This)->lpVtbl -> shuttle(This,seconds)
|
|
|
|
|
|
|
|
#define IVLCControl_fullscreen(This) \
|
|
|
|
(This)->lpVtbl -> fullscreen(This)
|
|
|
|
|
|
|
|
#define IVLCControl_get_Length(This,seconds) \
|
|
|
|
(This)->lpVtbl -> get_Length(This,seconds)
|
|
|
|
|
|
|
|
#define IVLCControl_playFaster(This) \
|
|
|
|
(This)->lpVtbl -> playFaster(This)
|
|
|
|
|
|
|
|
#define IVLCControl_playSlower(This) \
|
|
|
|
(This)->lpVtbl -> playSlower(This)
|
|
|
|
|
|
|
|
#define IVLCControl_get_Volume(This,volume) \
|
|
|
|
(This)->lpVtbl -> get_Volume(This,volume)
|
|
|
|
|
|
|
|
#define IVLCControl_put_Volume(This,volume) \
|
|
|
|
(This)->lpVtbl -> put_Volume(This,volume)
|
|
|
|
|
|
|
|
#define IVLCControl_toggleMute(This) \
|
|
|
|
(This)->lpVtbl -> toggleMute(This)
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
#define IVLCControl_setVariable(This,name,value) \
|
|
|
|
(This)->lpVtbl -> setVariable(This,name,value)
|
|
|
|
|
|
|
|
#define IVLCControl_getVariable(This,name,value) \
|
|
|
|
(This)->lpVtbl -> getVariable(This,name,value)
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
#define IVLCControl_addTarget(This,uri,options,mode,position) \
|
|
|
|
(This)->lpVtbl -> addTarget(This,uri,options,mode,position)
|
|
|
|
|
|
|
|
#define IVLCControl_get_PlaylistIndex(This,index) \
|
|
|
|
(This)->lpVtbl -> get_PlaylistIndex(This,index)
|
|
|
|
|
|
|
|
#define IVLCControl_get_PlaylistCount(This,index) \
|
|
|
|
(This)->lpVtbl -> get_PlaylistCount(This,index)
|
|
|
|
|
|
|
|
#define IVLCControl_playlistNext(This) \
|
|
|
|
(This)->lpVtbl -> playlistNext(This)
|
|
|
|
|
|
|
|
#define IVLCControl_playlistPrev(This) \
|
|
|
|
(This)->lpVtbl -> playlistPrev(This)
|
|
|
|
|
|
|
|
#define IVLCControl_playlistClear(This) \
|
|
|
|
(This)->lpVtbl -> playlistClear(This)
|
|
|
|
|
|
|
|
#define IVLCControl_get_VersionInfo(This,version) \
|
|
|
|
(This)->lpVtbl -> get_VersionInfo(This,version)
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
#define IVLCControl_get_MRL(This,mrl) \
|
|
|
|
(This)->lpVtbl -> get_MRL(This,mrl)
|
|
|
|
|
|
|
|
#define IVLCControl_put_MRL(This,mrl) \
|
|
|
|
(This)->lpVtbl -> put_MRL(This,mrl)
|
|
|
|
|
|
|
|
#define IVLCControl_get_AutoPlay(This,autoplay) \
|
|
|
|
(This)->lpVtbl -> get_AutoPlay(This,autoplay)
|
|
|
|
|
|
|
|
#define IVLCControl_put_AutoPlay(This,autoplay) \
|
|
|
|
(This)->lpVtbl -> put_AutoPlay(This,autoplay)
|
|
|
|
|
|
|
|
#define IVLCControl_get_AutoLoop(This,autoloop) \
|
|
|
|
(This)->lpVtbl -> get_AutoLoop(This,autoloop)
|
|
|
|
|
|
|
|
#define IVLCControl_put_AutoLoop(This,autoloop) \
|
|
|
|
(This)->lpVtbl -> put_AutoLoop(This,autoloop)
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][bindable][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_Visible_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *visible);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_Visible_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][bindable][propput][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_put_Visible_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ VARIANT_BOOL visible);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_put_Visible_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_play_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_play_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_pause_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_pause_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_stop_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_stop_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][hidden][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_Playing_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *isPlaying);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_Playing_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_Position_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ float __RPC_FAR *position);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_Position_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_put_Position_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ float position);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_put_Position_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_Time_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *seconds);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_Time_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
/* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_put_Time_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ int seconds);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_put_Time_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_shuttle_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ int seconds);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_shuttle_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_fullscreen_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_fullscreen_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][hidden][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_Length_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *seconds);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_Length_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_playFaster_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_playFaster_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_playSlower_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_playSlower_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_Volume_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *volume);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_Volume_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_put_Volume_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ int volume);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_put_Volume_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_toggleMute_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_toggleMute_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
src/libvlc.c,include/vlc/vlc.h, include/variables.h: added a new a API to libvlc called VLC_VariableType, this API allows to retrieve the type of a VLC variable. this API is very useful for binding with highlevel languages, such as javascript, VBScript, etc... which allow for weakly typed variables such as Javascript. in order to support the VLC_VariableType API, i've had to move the variable type definitions from variables.h to vlc/vlc.h
vlccontrol.cpp, axvlc.idl, axvlc.tlb, axvlc_idl.h: added a getVariable and setVariable to provide support for VLC_GetVariable and VLC_SetVariable respectively,and requires the new VLC_VariableType API.
main.cpp, viewobject.h, viewobject.cpp: support for advise on viewobject
2005-05-11 18:56:46 +02:00
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_setVariable_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR name,
|
|
|
|
/* [in] */ VARIANT value);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_setVariable_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_getVariable_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR name,
|
|
|
|
/* [retval][out] */ VARIANT __RPC_FAR *value);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_getVariable_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_addTarget_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR uri,
|
|
|
|
/* [in] */ VARIANT options,
|
|
|
|
/* [in] */ enum VLCPlaylistMode mode,
|
|
|
|
/* [in] */ int position);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_addTarget_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_PlaylistIndex_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *index);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_PlaylistIndex_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_PlaylistCount_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ int __RPC_FAR *index);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_PlaylistCount_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_playlistNext_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_playlistNext_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_playlistPrev_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_playlistPrev_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring] */ HRESULT STDMETHODCALLTYPE IVLCControl_playlistClear_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_playlistClear_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][hidden][propget] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_VersionInfo_Proxy(
|
2005-03-02 17:47:31 +01:00
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ BSTR __RPC_FAR *version);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_VersionInfo_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-08-21 19:40:32 +02:00
|
|
|
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_MRL_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ BSTR __RPC_FAR *mrl);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_MRL_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_put_MRL_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ BSTR mrl);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_put_MRL_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_AutoPlay_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *autoplay);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_AutoPlay_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_put_AutoPlay_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ VARIANT_BOOL autoplay);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_put_AutoPlay_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_get_AutoLoop_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *autoloop);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_get_AutoLoop_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
|
|
|
/* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IVLCControl_put_AutoLoop_Proxy(
|
|
|
|
IVLCControl __RPC_FAR * This,
|
|
|
|
/* [in] */ VARIANT_BOOL autoloop);
|
|
|
|
|
|
|
|
|
|
|
|
void __RPC_STUB IVLCControl_put_AutoLoop_Stub(
|
|
|
|
IRpcStubBuffer *This,
|
|
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
|
2005-03-02 17:47:31 +01:00
|
|
|
|
|
|
|
#endif /* __IVLCControl_INTERFACE_DEFINED__ */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __DVLCEvents_DISPINTERFACE_DEFINED__
|
|
|
|
#define __DVLCEvents_DISPINTERFACE_DEFINED__
|
|
|
|
|
|
|
|
/* dispinterface DVLCEvents */
|
|
|
|
/* [hidden][helpstring][uuid] */
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN_C const IID DIID_DVLCEvents;
|
|
|
|
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
|
|
|
|
MIDL_INTERFACE("DF48072F-5EF8-434e-9B40-E2F3AE759B5F")
|
|
|
|
DVLCEvents : public IDispatch
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
#else /* C style interface */
|
|
|
|
|
|
|
|
typedef struct DVLCEventsVtbl
|
|
|
|
{
|
|
|
|
BEGIN_INTERFACE
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
|
|
|
DVLCEvents __RPC_FAR * This,
|
|
|
|
/* [in] */ REFIID riid,
|
|
|
|
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
|
|
|
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
|
|
|
DVLCEvents __RPC_FAR * This);
|
|
|
|
|
|
|
|
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
|
|
|
DVLCEvents __RPC_FAR * This);
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
|
|
|
|
DVLCEvents __RPC_FAR * This,
|
|
|
|
/* [out] */ UINT __RPC_FAR *pctinfo);
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
|
|
|
|
DVLCEvents __RPC_FAR * This,
|
|
|
|
/* [in] */ UINT iTInfo,
|
|
|
|
/* [in] */ LCID lcid,
|
|
|
|
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
|
|
|
|
|
|
|
|
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
|
|
|
|
DVLCEvents __RPC_FAR * This,
|
|
|
|
/* [in] */ REFIID riid,
|
|
|
|
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
|
|
|
|
/* [in] */ UINT cNames,
|
|
|
|
/* [in] */ LCID lcid,
|
|
|
|
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
|
|
|
|
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
|
|
|
|
DVLCEvents __RPC_FAR * This,
|
|
|
|
/* [in] */ DISPID dispIdMember,
|
|
|
|
/* [in] */ REFIID riid,
|
|
|
|
/* [in] */ LCID lcid,
|
|
|
|
/* [in] */ WORD wFlags,
|
|
|
|
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
|
|
|
|
/* [out] */ VARIANT __RPC_FAR *pVarResult,
|
|
|
|
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
|
|
|
|
/* [out] */ UINT __RPC_FAR *puArgErr);
|
|
|
|
|
|
|
|
END_INTERFACE
|
|
|
|
} DVLCEventsVtbl;
|
|
|
|
|
|
|
|
interface DVLCEvents
|
|
|
|
{
|
|
|
|
CONST_VTBL struct DVLCEventsVtbl __RPC_FAR *lpVtbl;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
|
|
|
|
|
|
#define DVLCEvents_QueryInterface(This,riid,ppvObject) \
|
|
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
|
|
|
|
|
|
|
#define DVLCEvents_AddRef(This) \
|
|
|
|
(This)->lpVtbl -> AddRef(This)
|
|
|
|
|
|
|
|
#define DVLCEvents_Release(This) \
|
|
|
|
(This)->lpVtbl -> Release(This)
|
|
|
|
|
|
|
|
|
|
|
|
#define DVLCEvents_GetTypeInfoCount(This,pctinfo) \
|
|
|
|
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
|
|
|
|
|
|
|
|
#define DVLCEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
|
|
|
|
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
|
|
|
|
|
|
|
#define DVLCEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
|
|
|
|
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
|
|
|
|
|
|
|
#define DVLCEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
|
|
|
|
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
|
|
|
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __DVLCEvents_DISPINTERFACE_DEFINED__ */
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN_C const CLSID CLSID_VLCPlugin;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
|
|
|
class DECLSPEC_UUID("E23FE9C6-778E-49D4-B537-38FCDE4887D8")
|
|
|
|
VLCPlugin;
|
|
|
|
#endif
|
|
|
|
#endif /* __AXVLC_LIBRARY_DEFINED__ */
|
|
|
|
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|