blob: 2eb7a53fc778fef7f1033a7c38f39caf4ff05c65 [file] [log] [blame]
/*** Autogenerated by WIDL 6.4 from include/wmp.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __wmp_h__
#define __wmp_h__
/* Forward declarations */
#ifndef __IWMPPlaylist_FWD_DEFINED__
#define __IWMPPlaylist_FWD_DEFINED__
typedef interface IWMPPlaylist IWMPPlaylist;
#ifdef __cplusplus
interface IWMPPlaylist;
#endif /* __cplusplus */
#endif
#ifndef __IWMPMedia_FWD_DEFINED__
#define __IWMPMedia_FWD_DEFINED__
typedef interface IWMPMedia IWMPMedia;
#ifdef __cplusplus
interface IWMPMedia;
#endif /* __cplusplus */
#endif
#ifndef __IWMPControls_FWD_DEFINED__
#define __IWMPControls_FWD_DEFINED__
typedef interface IWMPControls IWMPControls;
#ifdef __cplusplus
interface IWMPControls;
#endif /* __cplusplus */
#endif
#ifndef __IWMPControls2_FWD_DEFINED__
#define __IWMPControls2_FWD_DEFINED__
typedef interface IWMPControls2 IWMPControls2;
#ifdef __cplusplus
interface IWMPControls2;
#endif /* __cplusplus */
#endif
#ifndef __IWMPRemoteMediaServices_FWD_DEFINED__
#define __IWMPRemoteMediaServices_FWD_DEFINED__
typedef interface IWMPRemoteMediaServices IWMPRemoteMediaServices;
#ifdef __cplusplus
interface IWMPRemoteMediaServices;
#endif /* __cplusplus */
#endif
#ifndef __IWMPSettings_FWD_DEFINED__
#define __IWMPSettings_FWD_DEFINED__
typedef interface IWMPSettings IWMPSettings;
#ifdef __cplusplus
interface IWMPSettings;
#endif /* __cplusplus */
#endif
#ifndef __IWMPStringCollection_FWD_DEFINED__
#define __IWMPStringCollection_FWD_DEFINED__
typedef interface IWMPStringCollection IWMPStringCollection;
#ifdef __cplusplus
interface IWMPStringCollection;
#endif /* __cplusplus */
#endif
#ifndef __IWMPMediaCollection_FWD_DEFINED__
#define __IWMPMediaCollection_FWD_DEFINED__
typedef interface IWMPMediaCollection IWMPMediaCollection;
#ifdef __cplusplus
interface IWMPMediaCollection;
#endif /* __cplusplus */
#endif
#ifndef __IWMPPlaylistArray_FWD_DEFINED__
#define __IWMPPlaylistArray_FWD_DEFINED__
typedef interface IWMPPlaylistArray IWMPPlaylistArray;
#ifdef __cplusplus
interface IWMPPlaylistArray;
#endif /* __cplusplus */
#endif
#ifndef __IWMPPlaylistCollection_FWD_DEFINED__
#define __IWMPPlaylistCollection_FWD_DEFINED__
typedef interface IWMPPlaylistCollection IWMPPlaylistCollection;
#ifdef __cplusplus
interface IWMPPlaylistCollection;
#endif /* __cplusplus */
#endif
#ifndef __IWMPNetwork_FWD_DEFINED__
#define __IWMPNetwork_FWD_DEFINED__
typedef interface IWMPNetwork IWMPNetwork;
#ifdef __cplusplus
interface IWMPNetwork;
#endif /* __cplusplus */
#endif
#ifndef __IWMPCdrom_FWD_DEFINED__
#define __IWMPCdrom_FWD_DEFINED__
typedef interface IWMPCdrom IWMPCdrom;
#ifdef __cplusplus
interface IWMPCdrom;
#endif /* __cplusplus */
#endif
#ifndef __IWMPCdromCollection_FWD_DEFINED__
#define __IWMPCdromCollection_FWD_DEFINED__
typedef interface IWMPCdromCollection IWMPCdromCollection;
#ifdef __cplusplus
interface IWMPCdromCollection;
#endif /* __cplusplus */
#endif
#ifndef __IWMPDVD_FWD_DEFINED__
#define __IWMPDVD_FWD_DEFINED__
typedef interface IWMPDVD IWMPDVD;
#ifdef __cplusplus
interface IWMPDVD;
#endif /* __cplusplus */
#endif
#ifndef __IWMPClosedCaption_FWD_DEFINED__
#define __IWMPClosedCaption_FWD_DEFINED__
typedef interface IWMPClosedCaption IWMPClosedCaption;
#ifdef __cplusplus
interface IWMPClosedCaption;
#endif /* __cplusplus */
#endif
#ifndef __IWMPErrorItem_FWD_DEFINED__
#define __IWMPErrorItem_FWD_DEFINED__
typedef interface IWMPErrorItem IWMPErrorItem;
#ifdef __cplusplus
interface IWMPErrorItem;
#endif /* __cplusplus */
#endif
#ifndef __IWMPMedia2_FWD_DEFINED__
#define __IWMPMedia2_FWD_DEFINED__
typedef interface IWMPMedia2 IWMPMedia2;
#ifdef __cplusplus
interface IWMPMedia2;
#endif /* __cplusplus */
#endif
#ifndef __IWMPMedia3_FWD_DEFINED__
#define __IWMPMedia3_FWD_DEFINED__
typedef interface IWMPMedia3 IWMPMedia3;
#ifdef __cplusplus
interface IWMPMedia3;
#endif /* __cplusplus */
#endif
#ifndef __IWMPError_FWD_DEFINED__
#define __IWMPError_FWD_DEFINED__
typedef interface IWMPError IWMPError;
#ifdef __cplusplus
interface IWMPError;
#endif /* __cplusplus */
#endif
#ifndef __IWMPPlayerApplication_FWD_DEFINED__
#define __IWMPPlayerApplication_FWD_DEFINED__
typedef interface IWMPPlayerApplication IWMPPlayerApplication;
#ifdef __cplusplus
interface IWMPPlayerApplication;
#endif /* __cplusplus */
#endif
#ifndef __IWMPCore_FWD_DEFINED__
#define __IWMPCore_FWD_DEFINED__
typedef interface IWMPCore IWMPCore;
#ifdef __cplusplus
interface IWMPCore;
#endif /* __cplusplus */
#endif
#ifndef __IWMPCore2_FWD_DEFINED__
#define __IWMPCore2_FWD_DEFINED__
typedef interface IWMPCore2 IWMPCore2;
#ifdef __cplusplus
interface IWMPCore2;
#endif /* __cplusplus */
#endif
#ifndef __IWMPCore3_FWD_DEFINED__
#define __IWMPCore3_FWD_DEFINED__
typedef interface IWMPCore3 IWMPCore3;
#ifdef __cplusplus
interface IWMPCore3;
#endif /* __cplusplus */
#endif
#ifndef __IWMPPlayer4_FWD_DEFINED__
#define __IWMPPlayer4_FWD_DEFINED__
typedef interface IWMPPlayer4 IWMPPlayer4;
#ifdef __cplusplus
interface IWMPPlayer4;
#endif /* __cplusplus */
#endif
#ifndef __IWMPPlayer_FWD_DEFINED__
#define __IWMPPlayer_FWD_DEFINED__
typedef interface IWMPPlayer IWMPPlayer;
#ifdef __cplusplus
interface IWMPPlayer;
#endif /* __cplusplus */
#endif
#ifndef __IWMPSyncDevice_FWD_DEFINED__
#define __IWMPSyncDevice_FWD_DEFINED__
typedef interface IWMPSyncDevice IWMPSyncDevice;
#ifdef __cplusplus
interface IWMPSyncDevice;
#endif /* __cplusplus */
#endif
#ifndef __IWMPSyncDevice2_FWD_DEFINED__
#define __IWMPSyncDevice2_FWD_DEFINED__
typedef interface IWMPSyncDevice2 IWMPSyncDevice2;
#ifdef __cplusplus
interface IWMPSyncDevice2;
#endif /* __cplusplus */
#endif
#ifndef __IWMPCdromRip_FWD_DEFINED__
#define __IWMPCdromRip_FWD_DEFINED__
typedef interface IWMPCdromRip IWMPCdromRip;
#ifdef __cplusplus
interface IWMPCdromRip;
#endif /* __cplusplus */
#endif
#ifndef __IWMPCdromBurn_FWD_DEFINED__
#define __IWMPCdromBurn_FWD_DEFINED__
typedef interface IWMPCdromBurn IWMPCdromBurn;
#ifdef __cplusplus
interface IWMPCdromBurn;
#endif /* __cplusplus */
#endif
#ifndef __IWMPLibrary_FWD_DEFINED__
#define __IWMPLibrary_FWD_DEFINED__
typedef interface IWMPLibrary IWMPLibrary;
#ifdef __cplusplus
interface IWMPLibrary;
#endif /* __cplusplus */
#endif
#ifndef __IWMPEvents_FWD_DEFINED__
#define __IWMPEvents_FWD_DEFINED__
typedef interface IWMPEvents IWMPEvents;
#ifdef __cplusplus
interface IWMPEvents;
#endif /* __cplusplus */
#endif
#ifndef __IWMPEvents2_FWD_DEFINED__
#define __IWMPEvents2_FWD_DEFINED__
typedef interface IWMPEvents2 IWMPEvents2;
#ifdef __cplusplus
interface IWMPEvents2;
#endif /* __cplusplus */
#endif
#ifndef __IWMPEvents3_FWD_DEFINED__
#define __IWMPEvents3_FWD_DEFINED__
typedef interface IWMPEvents3 IWMPEvents3;
#ifdef __cplusplus
interface IWMPEvents3;
#endif /* __cplusplus */
#endif
#ifndef __IWMPEvents4_FWD_DEFINED__
#define __IWMPEvents4_FWD_DEFINED__
typedef interface IWMPEvents4 IWMPEvents4;
#ifdef __cplusplus
interface IWMPEvents4;
#endif /* __cplusplus */
#endif
#ifndef ___WMPOCXEvents_FWD_DEFINED__
#define ___WMPOCXEvents_FWD_DEFINED__
typedef interface _WMPOCXEvents _WMPOCXEvents;
#ifdef __cplusplus
interface _WMPOCXEvents;
#endif /* __cplusplus */
#endif
#ifndef __WindowsMediaPlayer_FWD_DEFINED__
#define __WindowsMediaPlayer_FWD_DEFINED__
#ifdef __cplusplus
typedef class WindowsMediaPlayer WindowsMediaPlayer;
#else
typedef struct WindowsMediaPlayer WindowsMediaPlayer;
#endif /* defined __cplusplus */
#endif /* defined __WindowsMediaPlayer_FWD_DEFINED__ */
/* Headers for imported files */
#include <oaidl.h>
#include <ocidl.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __WMPLib_LIBRARY_DEFINED__
#define __WMPLib_LIBRARY_DEFINED__
DEFINE_GUID(LIBID_WMPLib, 0x6bf52a50, 0x394a, 0x11d3, 0xb1,0x53, 0x00,0xc0,0x4f,0x79,0xfa,0xa6);
typedef enum __WIDL_wmp_generated_name_00000020 {
wmposUndefined = 0,
wmposPlaylistChanging = 1,
wmposPlaylistLocating = 2,
wmposPlaylistConnecting = 3,
wmposPlaylistLoading = 4,
wmposPlaylistOpening = 5,
wmposPlaylistOpenNoMedia = 6,
wmposPlaylistChanged = 7,
wmposMediaChanging = 8,
wmposMediaLocating = 9,
wmposMediaConnecting = 10,
wmposMediaLoading = 11,
wmposMediaOpening = 12,
wmposMediaOpen = 13,
wmposBeginCodecAcquisition = 14,
wmposEndCodecAcquisition = 15,
wmposBeginLicenseAcquisition = 16,
wmposEndLicenseAcquisition = 17,
wmposBeginIndividualization = 18,
wmposEndIndividualization = 19,
wmposMediaWaiting = 20,
wmposOpeningUnknownURL = 21
} WMPOpenState;
typedef enum __WIDL_wmp_generated_name_00000021 {
wmppsUndefined = 0,
wmppsStopped = 1,
wmppsPaused = 2,
wmppsPlaying = 3,
wmppsScanForward = 4,
wmppsScanReverse = 5,
wmppsBuffering = 6,
wmppsWaiting = 7,
wmppsMediaEnded = 8,
wmppsTransitioning = 9,
wmppsReady = 10,
wmppsReconnecting = 11,
wmppsLast = 12
} WMPPlayState;
typedef enum __WIDL_wmp_generated_name_00000022 {
wmplcUnknown = 0,
wmplcClear = 1,
wmplcInfoChange = 2,
wmplcMove = 3,
wmplcDelete = 4,
wmplcInsert = 5,
wmplcAppend = 6,
wmplcPrivate = 7,
wmplcNameChange = 8,
wmplcMorph = 9,
wmplcSort = 10,
wmplcLast = 11
} WMPPlaylistChangeEventType;
typedef enum __WIDL_wmp_generated_name_00000023 {
wmpdsUnknown = 0,
wmpdsPartnershipExists = 1,
wmpdsPartnershipDeclined = 2,
wmpdsPartnershipAnother = 3,
wmpdsManualDevice = 4,
wmpdsNewDevice = 5,
wmpdsLast = 6
} WMPDeviceStatus;
typedef enum __WIDL_wmp_generated_name_00000024 {
wmpssUnknown = 0,
wmpssSynchronizing = 1,
wmpssStopped = 2,
wmpssEstimating = 3,
wmpssLast = 4
} WMPSyncState;
typedef enum __WIDL_wmp_generated_name_00000025 {
wmprsUnknown = 0,
wmprsRipping = 1,
wmprsStopped = 2
} WMPRipState;
typedef enum __WIDL_wmp_generated_name_00000026 {
wmpbfAudioCD = 0,
wmpbfDataCD = 1
} WMPBurnFormat;
typedef enum __WIDL_wmp_generated_name_00000027 {
wmpbsUnknown = 0,
wmpbsBusy = 1,
wmpbsReady = 2,
wmpbsWaitingForDisc = 3,
wmpbsRefreshStatusPending = 4,
wmpbsPreparingToBurn = 5,
wmpbsBurning = 6,
wmpbsStopped = 7,
wmpbsErasing = 8,
wmpbsDownloading = 9
} WMPBurnState;
typedef enum __WIDL_wmp_generated_name_00000028 {
wmpltUnknown = 0,
wmpltAll = 1,
wmpltLocal = 2,
wmpltRemote = 3,
wmpltDisc = 4,
wmpltPortableDevice = 5
} WMPLibraryType;
typedef enum __WIDL_wmp_generated_name_00000029 {
wmpfssUnknown = 0,
wmpfssScanning = 1,
wmpfssUpdating = 2,
wmpfssStopped = 3
} WMPFolderScanState;
typedef enum __WIDL_wmp_generated_name_0000002A {
wmpsccetUnknown = 0,
wmpsccetInsert = 1,
wmpsccetChange = 2,
wmpsccetDelete = 3,
wmpsccetClear = 4,
wmpsccetBeginUpdates = 5,
wmpsccetEndUpdates = 6
} WMPStringCollectionChangeEventType;
#ifndef __IWMPMedia_FWD_DEFINED__
#define __IWMPMedia_FWD_DEFINED__
typedef interface IWMPMedia IWMPMedia;
#ifdef __cplusplus
interface IWMPMedia;
#endif /* __cplusplus */
#endif
/*****************************************************************************
* IWMPPlaylist interface
*/
#ifndef __IWMPPlaylist_INTERFACE_DEFINED__
#define __IWMPPlaylist_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPPlaylist, 0xd5f0f4f1, 0x130c, 0x11d3, 0xb1,0x4e, 0x00,0xc0,0x4f,0x79,0xfa,0xa6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("d5f0f4f1-130c-11d3-b14e-00c04f79faa6")
IWMPPlaylist : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_count(
LONG *plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE get_name(
BSTR *pbstrName) = 0;
virtual HRESULT STDMETHODCALLTYPE put_name(
BSTR pbstrName) = 0;
virtual HRESULT STDMETHODCALLTYPE get_attributeCount(
LONG *plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE get_attributeName(
LONG lIndex,
BSTR *pbstrAttributeName) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Item(
LONG lIndex,
IWMPMedia **ppIWMPMedia) = 0;
virtual HRESULT STDMETHODCALLTYPE getItemInfo(
BSTR bstrName,
BSTR *pbstrVal) = 0;
virtual HRESULT STDMETHODCALLTYPE setItemInfo(
BSTR bstrName,
BSTR bstrValue) = 0;
virtual HRESULT STDMETHODCALLTYPE get_isIdentical(
IWMPPlaylist *pIWMPPlaylist,
VARIANT_BOOL *pvbool) = 0;
virtual HRESULT STDMETHODCALLTYPE clear(
) = 0;
virtual HRESULT STDMETHODCALLTYPE insertItem(
LONG lIndex,
IWMPMedia *pIWMPMedia) = 0;
virtual HRESULT STDMETHODCALLTYPE appendItem(
IWMPMedia *pIWMPMedia) = 0;
virtual HRESULT STDMETHODCALLTYPE removeItem(
IWMPMedia *pIWMPMedia) = 0;
virtual HRESULT STDMETHODCALLTYPE moveItem(
LONG lIndexOld,
LONG lIndexNew) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPPlaylist, 0xd5f0f4f1, 0x130c, 0x11d3, 0xb1,0x4e, 0x00,0xc0,0x4f,0x79,0xfa,0xa6)
#endif
#else
typedef struct IWMPPlaylistVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPPlaylist *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPPlaylist *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPPlaylist *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWMPPlaylist *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWMPPlaylist *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWMPPlaylist *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWMPPlaylist *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWMPPlaylist methods ***/
HRESULT (STDMETHODCALLTYPE *get_count)(
IWMPPlaylist *This,
LONG *plCount);
HRESULT (STDMETHODCALLTYPE *get_name)(
IWMPPlaylist *This,
BSTR *pbstrName);
HRESULT (STDMETHODCALLTYPE *put_name)(
IWMPPlaylist *This,
BSTR pbstrName);
HRESULT (STDMETHODCALLTYPE *get_attributeCount)(
IWMPPlaylist *This,
LONG *plCount);
HRESULT (STDMETHODCALLTYPE *get_attributeName)(
IWMPPlaylist *This,
LONG lIndex,
BSTR *pbstrAttributeName);
HRESULT (STDMETHODCALLTYPE *get_Item)(
IWMPPlaylist *This,
LONG lIndex,
IWMPMedia **ppIWMPMedia);
HRESULT (STDMETHODCALLTYPE *getItemInfo)(
IWMPPlaylist *This,
BSTR bstrName,
BSTR *pbstrVal);
HRESULT (STDMETHODCALLTYPE *setItemInfo)(
IWMPPlaylist *This,
BSTR bstrName,
BSTR bstrValue);
HRESULT (STDMETHODCALLTYPE *get_isIdentical)(
IWMPPlaylist *This,
IWMPPlaylist *pIWMPPlaylist,
VARIANT_BOOL *pvbool);
HRESULT (STDMETHODCALLTYPE *clear)(
IWMPPlaylist *This);
HRESULT (STDMETHODCALLTYPE *insertItem)(
IWMPPlaylist *This,
LONG lIndex,
IWMPMedia *pIWMPMedia);
HRESULT (STDMETHODCALLTYPE *appendItem)(
IWMPPlaylist *This,
IWMPMedia *pIWMPMedia);
HRESULT (STDMETHODCALLTYPE *removeItem)(
IWMPPlaylist *This,
IWMPMedia *pIWMPMedia);
HRESULT (STDMETHODCALLTYPE *moveItem)(
IWMPPlaylist *This,
LONG lIndexOld,
LONG lIndexNew);
END_INTERFACE
} IWMPPlaylistVtbl;
interface IWMPPlaylist {
CONST_VTBL IWMPPlaylistVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPPlaylist_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPPlaylist_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPPlaylist_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWMPPlaylist_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWMPPlaylist_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWMPPlaylist_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWMPPlaylist_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWMPPlaylist methods ***/
#define IWMPPlaylist_get_count(This,plCount) (This)->lpVtbl->get_count(This,plCount)
#define IWMPPlaylist_get_name(This,pbstrName) (This)->lpVtbl->get_name(This,pbstrName)
#define IWMPPlaylist_put_name(This,pbstrName) (This)->lpVtbl->put_name(This,pbstrName)
#define IWMPPlaylist_get_attributeCount(This,plCount) (This)->lpVtbl->get_attributeCount(This,plCount)
#define IWMPPlaylist_get_attributeName(This,lIndex,pbstrAttributeName) (This)->lpVtbl->get_attributeName(This,lIndex,pbstrAttributeName)
#define IWMPPlaylist_get_Item(This,lIndex,ppIWMPMedia) (This)->lpVtbl->get_Item(This,lIndex,ppIWMPMedia)
#define IWMPPlaylist_getItemInfo(This,bstrName,pbstrVal) (This)->lpVtbl->getItemInfo(This,bstrName,pbstrVal)
#define IWMPPlaylist_setItemInfo(This,bstrName,bstrValue) (This)->lpVtbl->setItemInfo(This,bstrName,bstrValue)
#define IWMPPlaylist_get_isIdentical(This,pIWMPPlaylist,pvbool) (This)->lpVtbl->get_isIdentical(This,pIWMPPlaylist,pvbool)
#define IWMPPlaylist_clear(This) (This)->lpVtbl->clear(This)
#define IWMPPlaylist_insertItem(This,lIndex,pIWMPMedia) (This)->lpVtbl->insertItem(This,lIndex,pIWMPMedia)
#define IWMPPlaylist_appendItem(This,pIWMPMedia) (This)->lpVtbl->appendItem(This,pIWMPMedia)
#define IWMPPlaylist_removeItem(This,pIWMPMedia) (This)->lpVtbl->removeItem(This,pIWMPMedia)
#define IWMPPlaylist_moveItem(This,lIndexOld,lIndexNew) (This)->lpVtbl->moveItem(This,lIndexOld,lIndexNew)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPPlaylist_QueryInterface(IWMPPlaylist* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPPlaylist_AddRef(IWMPPlaylist* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPPlaylist_Release(IWMPPlaylist* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWMPPlaylist_GetTypeInfoCount(IWMPPlaylist* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWMPPlaylist_GetTypeInfo(IWMPPlaylist* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWMPPlaylist_GetIDsOfNames(IWMPPlaylist* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWMPPlaylist_Invoke(IWMPPlaylist* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWMPPlaylist methods ***/
static FORCEINLINE HRESULT IWMPPlaylist_get_count(IWMPPlaylist* This,LONG *plCount) {
return This->lpVtbl->get_count(This,plCount);
}
static FORCEINLINE HRESULT IWMPPlaylist_get_name(IWMPPlaylist* This,BSTR *pbstrName) {
return This->lpVtbl->get_name(This,pbstrName);
}
static FORCEINLINE HRESULT IWMPPlaylist_put_name(IWMPPlaylist* This,BSTR pbstrName) {
return This->lpVtbl->put_name(This,pbstrName);
}
static FORCEINLINE HRESULT IWMPPlaylist_get_attributeCount(IWMPPlaylist* This,LONG *plCount) {
return This->lpVtbl->get_attributeCount(This,plCount);
}
static FORCEINLINE HRESULT IWMPPlaylist_get_attributeName(IWMPPlaylist* This,LONG lIndex,BSTR *pbstrAttributeName) {
return This->lpVtbl->get_attributeName(This,lIndex,pbstrAttributeName);
}
static FORCEINLINE HRESULT IWMPPlaylist_get_Item(IWMPPlaylist* This,LONG lIndex,IWMPMedia **ppIWMPMedia) {
return This->lpVtbl->get_Item(This,lIndex,ppIWMPMedia);
}
static FORCEINLINE HRESULT IWMPPlaylist_getItemInfo(IWMPPlaylist* This,BSTR bstrName,BSTR *pbstrVal) {
return This->lpVtbl->getItemInfo(This,bstrName,pbstrVal);
}
static FORCEINLINE HRESULT IWMPPlaylist_setItemInfo(IWMPPlaylist* This,BSTR bstrName,BSTR bstrValue) {
return This->lpVtbl->setItemInfo(This,bstrName,bstrValue);
}
static FORCEINLINE HRESULT IWMPPlaylist_get_isIdentical(IWMPPlaylist* This,IWMPPlaylist *pIWMPPlaylist,VARIANT_BOOL *pvbool) {
return This->lpVtbl->get_isIdentical(This,pIWMPPlaylist,pvbool);
}
static FORCEINLINE HRESULT IWMPPlaylist_clear(IWMPPlaylist* This) {
return This->lpVtbl->clear(This);
}
static FORCEINLINE HRESULT IWMPPlaylist_insertItem(IWMPPlaylist* This,LONG lIndex,IWMPMedia *pIWMPMedia) {
return This->lpVtbl->insertItem(This,lIndex,pIWMPMedia);
}
static FORCEINLINE HRESULT IWMPPlaylist_appendItem(IWMPPlaylist* This,IWMPMedia *pIWMPMedia) {
return This->lpVtbl->appendItem(This,pIWMPMedia);
}
static FORCEINLINE HRESULT IWMPPlaylist_removeItem(IWMPPlaylist* This,IWMPMedia *pIWMPMedia) {
return This->lpVtbl->removeItem(This,pIWMPMedia);
}
static FORCEINLINE HRESULT IWMPPlaylist_moveItem(IWMPPlaylist* This,LONG lIndexOld,LONG lIndexNew) {
return This->lpVtbl->moveItem(This,lIndexOld,lIndexNew);
}
#endif
#endif
#endif
#endif /* __IWMPPlaylist_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPMedia interface
*/
#ifndef __IWMPMedia_INTERFACE_DEFINED__
#define __IWMPMedia_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPMedia, 0x94d55e95, 0x3fac, 0x11d3, 0xb1,0x55, 0x00,0xc0,0x4f,0x79,0xfa,0xa6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("94d55e95-3fac-11d3-b155-00c04f79faa6")
IWMPMedia : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_isIdentical(
IWMPMedia *pIWMPMedia,
VARIANT_BOOL *pvbool) = 0;
virtual HRESULT STDMETHODCALLTYPE get_sourceURL(
BSTR *pbstrSourceURL) = 0;
virtual HRESULT STDMETHODCALLTYPE get_name(
BSTR *pbstrName) = 0;
virtual HRESULT STDMETHODCALLTYPE put_name(
BSTR pbstrName) = 0;
virtual HRESULT STDMETHODCALLTYPE get_imageSourceWidth(
LONG *pWidth) = 0;
virtual HRESULT STDMETHODCALLTYPE get_imageSourceHeight(
LONG *pHeight) = 0;
virtual HRESULT STDMETHODCALLTYPE get_markerCount(
LONG *pMarkerCount) = 0;
virtual HRESULT STDMETHODCALLTYPE getMarkerTime(
LONG MarkerNum,
double *pMarkerTime) = 0;
virtual HRESULT STDMETHODCALLTYPE getMarkerName(
LONG MarkerNum,
BSTR *pbstrMarkerName) = 0;
virtual HRESULT STDMETHODCALLTYPE get_duration(
double *pDuration) = 0;
virtual HRESULT STDMETHODCALLTYPE get_durationString(
BSTR *pbstrDuration) = 0;
virtual HRESULT STDMETHODCALLTYPE get_attributeCount(
LONG *plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE getAttributeName(
LONG lIndex,
BSTR *pbstrItemName) = 0;
virtual HRESULT STDMETHODCALLTYPE getItemInfo(
BSTR bstrItemName,
BSTR *pbstrVal) = 0;
virtual HRESULT STDMETHODCALLTYPE setItemInfo(
BSTR bstrItemName,
BSTR bstrVal) = 0;
virtual HRESULT STDMETHODCALLTYPE getItemInfoByAtom(
LONG lAtom,
BSTR *pbstrVal) = 0;
virtual HRESULT STDMETHODCALLTYPE isMemberOf(
IWMPPlaylist *pPlaylist,
VARIANT_BOOL *pvarfIsMemberOf) = 0;
virtual HRESULT STDMETHODCALLTYPE isReadOnlyItem(
BSTR bstrItemName,
VARIANT_BOOL *pvarfIsReadOnly) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPMedia, 0x94d55e95, 0x3fac, 0x11d3, 0xb1,0x55, 0x00,0xc0,0x4f,0x79,0xfa,0xa6)
#endif
#else
typedef struct IWMPMediaVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPMedia *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPMedia *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPMedia *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWMPMedia *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWMPMedia *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWMPMedia *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWMPMedia *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWMPMedia methods ***/
HRESULT (STDMETHODCALLTYPE *get_isIdentical)(
IWMPMedia *This,
IWMPMedia *pIWMPMedia,
VARIANT_BOOL *pvbool);
HRESULT (STDMETHODCALLTYPE *get_sourceURL)(
IWMPMedia *This,
BSTR *pbstrSourceURL);
HRESULT (STDMETHODCALLTYPE *get_name)(
IWMPMedia *This,
BSTR *pbstrName);
HRESULT (STDMETHODCALLTYPE *put_name)(
IWMPMedia *This,
BSTR pbstrName);
HRESULT (STDMETHODCALLTYPE *get_imageSourceWidth)(
IWMPMedia *This,
LONG *pWidth);
HRESULT (STDMETHODCALLTYPE *get_imageSourceHeight)(
IWMPMedia *This,
LONG *pHeight);
HRESULT (STDMETHODCALLTYPE *get_markerCount)(
IWMPMedia *This,
LONG *pMarkerCount);
HRESULT (STDMETHODCALLTYPE *getMarkerTime)(
IWMPMedia *This,
LONG MarkerNum,
double *pMarkerTime);
HRESULT (STDMETHODCALLTYPE *getMarkerName)(
IWMPMedia *This,
LONG MarkerNum,
BSTR *pbstrMarkerName);
HRESULT (STDMETHODCALLTYPE *get_duration)(
IWMPMedia *This,
double *pDuration);
HRESULT (STDMETHODCALLTYPE *get_durationString)(
IWMPMedia *This,
BSTR *pbstrDuration);
HRESULT (STDMETHODCALLTYPE *get_attributeCount)(
IWMPMedia *This,
LONG *plCount);
HRESULT (STDMETHODCALLTYPE *getAttributeName)(
IWMPMedia *This,
LONG lIndex,
BSTR *pbstrItemName);
HRESULT (STDMETHODCALLTYPE *getItemInfo)(
IWMPMedia *This,
BSTR bstrItemName,
BSTR *pbstrVal);
HRESULT (STDMETHODCALLTYPE *setItemInfo)(
IWMPMedia *This,
BSTR bstrItemName,
BSTR bstrVal);
HRESULT (STDMETHODCALLTYPE *getItemInfoByAtom)(
IWMPMedia *This,
LONG lAtom,
BSTR *pbstrVal);
HRESULT (STDMETHODCALLTYPE *isMemberOf)(
IWMPMedia *This,
IWMPPlaylist *pPlaylist,
VARIANT_BOOL *pvarfIsMemberOf);
HRESULT (STDMETHODCALLTYPE *isReadOnlyItem)(
IWMPMedia *This,
BSTR bstrItemName,
VARIANT_BOOL *pvarfIsReadOnly);
END_INTERFACE
} IWMPMediaVtbl;
interface IWMPMedia {
CONST_VTBL IWMPMediaVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPMedia_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPMedia_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPMedia_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWMPMedia_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWMPMedia_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWMPMedia_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWMPMedia_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWMPMedia methods ***/
#define IWMPMedia_get_isIdentical(This,pIWMPMedia,pvbool) (This)->lpVtbl->get_isIdentical(This,pIWMPMedia,pvbool)
#define IWMPMedia_get_sourceURL(This,pbstrSourceURL) (This)->lpVtbl->get_sourceURL(This,pbstrSourceURL)
#define IWMPMedia_get_name(This,pbstrName) (This)->lpVtbl->get_name(This,pbstrName)
#define IWMPMedia_put_name(This,pbstrName) (This)->lpVtbl->put_name(This,pbstrName)
#define IWMPMedia_get_imageSourceWidth(This,pWidth) (This)->lpVtbl->get_imageSourceWidth(This,pWidth)
#define IWMPMedia_get_imageSourceHeight(This,pHeight) (This)->lpVtbl->get_imageSourceHeight(This,pHeight)
#define IWMPMedia_get_markerCount(This,pMarkerCount) (This)->lpVtbl->get_markerCount(This,pMarkerCount)
#define IWMPMedia_getMarkerTime(This,MarkerNum,pMarkerTime) (This)->lpVtbl->getMarkerTime(This,MarkerNum,pMarkerTime)
#define IWMPMedia_getMarkerName(This,MarkerNum,pbstrMarkerName) (This)->lpVtbl->getMarkerName(This,MarkerNum,pbstrMarkerName)
#define IWMPMedia_get_duration(This,pDuration) (This)->lpVtbl->get_duration(This,pDuration)
#define IWMPMedia_get_durationString(This,pbstrDuration) (This)->lpVtbl->get_durationString(This,pbstrDuration)
#define IWMPMedia_get_attributeCount(This,plCount) (This)->lpVtbl->get_attributeCount(This,plCount)
#define IWMPMedia_getAttributeName(This,lIndex,pbstrItemName) (This)->lpVtbl->getAttributeName(This,lIndex,pbstrItemName)
#define IWMPMedia_getItemInfo(This,bstrItemName,pbstrVal) (This)->lpVtbl->getItemInfo(This,bstrItemName,pbstrVal)
#define IWMPMedia_setItemInfo(This,bstrItemName,bstrVal) (This)->lpVtbl->setItemInfo(This,bstrItemName,bstrVal)
#define IWMPMedia_getItemInfoByAtom(This,lAtom,pbstrVal) (This)->lpVtbl->getItemInfoByAtom(This,lAtom,pbstrVal)
#define IWMPMedia_isMemberOf(This,pPlaylist,pvarfIsMemberOf) (This)->lpVtbl->isMemberOf(This,pPlaylist,pvarfIsMemberOf)
#define IWMPMedia_isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly) (This)->lpVtbl->isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPMedia_QueryInterface(IWMPMedia* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPMedia_AddRef(IWMPMedia* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPMedia_Release(IWMPMedia* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWMPMedia_GetTypeInfoCount(IWMPMedia* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWMPMedia_GetTypeInfo(IWMPMedia* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWMPMedia_GetIDsOfNames(IWMPMedia* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWMPMedia_Invoke(IWMPMedia* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWMPMedia methods ***/
static FORCEINLINE HRESULT IWMPMedia_get_isIdentical(IWMPMedia* This,IWMPMedia *pIWMPMedia,VARIANT_BOOL *pvbool) {
return This->lpVtbl->get_isIdentical(This,pIWMPMedia,pvbool);
}
static FORCEINLINE HRESULT IWMPMedia_get_sourceURL(IWMPMedia* This,BSTR *pbstrSourceURL) {
return This->lpVtbl->get_sourceURL(This,pbstrSourceURL);
}
static FORCEINLINE HRESULT IWMPMedia_get_name(IWMPMedia* This,BSTR *pbstrName) {
return This->lpVtbl->get_name(This,pbstrName);
}
static FORCEINLINE HRESULT IWMPMedia_put_name(IWMPMedia* This,BSTR pbstrName) {
return This->lpVtbl->put_name(This,pbstrName);
}
static FORCEINLINE HRESULT IWMPMedia_get_imageSourceWidth(IWMPMedia* This,LONG *pWidth) {
return This->lpVtbl->get_imageSourceWidth(This,pWidth);
}
static FORCEINLINE HRESULT IWMPMedia_get_imageSourceHeight(IWMPMedia* This,LONG *pHeight) {
return This->lpVtbl->get_imageSourceHeight(This,pHeight);
}
static FORCEINLINE HRESULT IWMPMedia_get_markerCount(IWMPMedia* This,LONG *pMarkerCount) {
return This->lpVtbl->get_markerCount(This,pMarkerCount);
}
static FORCEINLINE HRESULT IWMPMedia_getMarkerTime(IWMPMedia* This,LONG MarkerNum,double *pMarkerTime) {
return This->lpVtbl->getMarkerTime(This,MarkerNum,pMarkerTime);
}
static FORCEINLINE HRESULT IWMPMedia_getMarkerName(IWMPMedia* This,LONG MarkerNum,BSTR *pbstrMarkerName) {
return This->lpVtbl->getMarkerName(This,MarkerNum,pbstrMarkerName);
}
static FORCEINLINE HRESULT IWMPMedia_get_duration(IWMPMedia* This,double *pDuration) {
return This->lpVtbl->get_duration(This,pDuration);
}
static FORCEINLINE HRESULT IWMPMedia_get_durationString(IWMPMedia* This,BSTR *pbstrDuration) {
return This->lpVtbl->get_durationString(This,pbstrDuration);
}
static FORCEINLINE HRESULT IWMPMedia_get_attributeCount(IWMPMedia* This,LONG *plCount) {
return This->lpVtbl->get_attributeCount(This,plCount);
}
static FORCEINLINE HRESULT IWMPMedia_getAttributeName(IWMPMedia* This,LONG lIndex,BSTR *pbstrItemName) {
return This->lpVtbl->getAttributeName(This,lIndex,pbstrItemName);
}
static FORCEINLINE HRESULT IWMPMedia_getItemInfo(IWMPMedia* This,BSTR bstrItemName,BSTR *pbstrVal) {
return This->lpVtbl->getItemInfo(This,bstrItemName,pbstrVal);
}
static FORCEINLINE HRESULT IWMPMedia_setItemInfo(IWMPMedia* This,BSTR bstrItemName,BSTR bstrVal) {
return This->lpVtbl->setItemInfo(This,bstrItemName,bstrVal);
}
static FORCEINLINE HRESULT IWMPMedia_getItemInfoByAtom(IWMPMedia* This,LONG lAtom,BSTR *pbstrVal) {
return This->lpVtbl->getItemInfoByAtom(This,lAtom,pbstrVal);
}
static FORCEINLINE HRESULT IWMPMedia_isMemberOf(IWMPMedia* This,IWMPPlaylist *pPlaylist,VARIANT_BOOL *pvarfIsMemberOf) {
return This->lpVtbl->isMemberOf(This,pPlaylist,pvarfIsMemberOf);
}
static FORCEINLINE HRESULT IWMPMedia_isReadOnlyItem(IWMPMedia* This,BSTR bstrItemName,VARIANT_BOOL *pvarfIsReadOnly) {
return This->lpVtbl->isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly);
}
#endif
#endif
#endif
#endif /* __IWMPMedia_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPControls interface
*/
#ifndef __IWMPControls_INTERFACE_DEFINED__
#define __IWMPControls_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPControls, 0x74c09e02, 0xf828, 0x11d2, 0xa7,0x4b, 0x00,0xa0,0xc9,0x05,0xf3,0x6e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("74c09e02-f828-11d2-a74b-00a0c905f36e")
IWMPControls : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_isAvailable(
BSTR bstrItem,
VARIANT_BOOL *pIsAvailable) = 0;
virtual HRESULT STDMETHODCALLTYPE play(
) = 0;
virtual HRESULT STDMETHODCALLTYPE stop(
) = 0;
virtual HRESULT STDMETHODCALLTYPE pause(
) = 0;
virtual HRESULT STDMETHODCALLTYPE fastForward(
) = 0;
virtual HRESULT STDMETHODCALLTYPE fastReverse(
) = 0;
virtual HRESULT STDMETHODCALLTYPE get_currentPosition(
double *pdCurrentPosition) = 0;
virtual HRESULT STDMETHODCALLTYPE put_currentPosition(
double pdCurrentPosition) = 0;
virtual HRESULT STDMETHODCALLTYPE get_currentPositionString(
BSTR *pbstrCurrentPosition) = 0;
virtual HRESULT STDMETHODCALLTYPE next(
) = 0;
virtual HRESULT STDMETHODCALLTYPE previous(
) = 0;
virtual HRESULT STDMETHODCALLTYPE currentItem(
IWMPMedia **ppIWMPMedia) = 0;
virtual HRESULT STDMETHODCALLTYPE put_currentItem(
IWMPMedia *ppIWMPMedia) = 0;
virtual HRESULT STDMETHODCALLTYPE get_currentMarker(
LONG *plMarker) = 0;
virtual HRESULT STDMETHODCALLTYPE put_currentMarker(
LONG plMarker) = 0;
virtual HRESULT STDMETHODCALLTYPE playItem(
IWMPMedia *pIWMPMedia) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPControls, 0x74c09e02, 0xf828, 0x11d2, 0xa7,0x4b, 0x00,0xa0,0xc9,0x05,0xf3,0x6e)
#endif
#else
typedef struct IWMPControlsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPControls *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPControls *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPControls *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWMPControls *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWMPControls *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWMPControls *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWMPControls *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWMPControls methods ***/
HRESULT (STDMETHODCALLTYPE *get_isAvailable)(
IWMPControls *This,
BSTR bstrItem,
VARIANT_BOOL *pIsAvailable);
HRESULT (STDMETHODCALLTYPE *play)(
IWMPControls *This);
HRESULT (STDMETHODCALLTYPE *stop)(
IWMPControls *This);
HRESULT (STDMETHODCALLTYPE *pause)(
IWMPControls *This);
HRESULT (STDMETHODCALLTYPE *fastForward)(
IWMPControls *This);
HRESULT (STDMETHODCALLTYPE *fastReverse)(
IWMPControls *This);
HRESULT (STDMETHODCALLTYPE *get_currentPosition)(
IWMPControls *This,
double *pdCurrentPosition);
HRESULT (STDMETHODCALLTYPE *put_currentPosition)(
IWMPControls *This,
double pdCurrentPosition);
HRESULT (STDMETHODCALLTYPE *get_currentPositionString)(
IWMPControls *This,
BSTR *pbstrCurrentPosition);
HRESULT (STDMETHODCALLTYPE *next)(
IWMPControls *This);
HRESULT (STDMETHODCALLTYPE *previous)(
IWMPControls *This);
HRESULT (STDMETHODCALLTYPE *currentItem)(
IWMPControls *This,
IWMPMedia **ppIWMPMedia);
HRESULT (STDMETHODCALLTYPE *put_currentItem)(
IWMPControls *This,
IWMPMedia *ppIWMPMedia);
HRESULT (STDMETHODCALLTYPE *get_currentMarker)(
IWMPControls *This,
LONG *plMarker);
HRESULT (STDMETHODCALLTYPE *put_currentMarker)(
IWMPControls *This,
LONG plMarker);
HRESULT (STDMETHODCALLTYPE *playItem)(
IWMPControls *This,
IWMPMedia *pIWMPMedia);
END_INTERFACE
} IWMPControlsVtbl;
interface IWMPControls {
CONST_VTBL IWMPControlsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPControls_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPControls_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPControls_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWMPControls_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWMPControls_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWMPControls_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWMPControls_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWMPControls methods ***/
#define IWMPControls_get_isAvailable(This,bstrItem,pIsAvailable) (This)->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable)
#define IWMPControls_play(This) (This)->lpVtbl->play(This)
#define IWMPControls_stop(This) (This)->lpVtbl->stop(This)
#define IWMPControls_pause(This) (This)->lpVtbl->pause(This)
#define IWMPControls_fastForward(This) (This)->lpVtbl->fastForward(This)
#define IWMPControls_fastReverse(This) (This)->lpVtbl->fastReverse(This)
#define IWMPControls_get_currentPosition(This,pdCurrentPosition) (This)->lpVtbl->get_currentPosition(This,pdCurrentPosition)
#define IWMPControls_put_currentPosition(This,pdCurrentPosition) (This)->lpVtbl->put_currentPosition(This,pdCurrentPosition)
#define IWMPControls_get_currentPositionString(This,pbstrCurrentPosition) (This)->lpVtbl->get_currentPositionString(This,pbstrCurrentPosition)
#define IWMPControls_next(This) (This)->lpVtbl->next(This)
#define IWMPControls_previous(This) (This)->lpVtbl->previous(This)
#define IWMPControls_currentItem(This,ppIWMPMedia) (This)->lpVtbl->currentItem(This,ppIWMPMedia)
#define IWMPControls_put_currentItem(This,ppIWMPMedia) (This)->lpVtbl->put_currentItem(This,ppIWMPMedia)
#define IWMPControls_get_currentMarker(This,plMarker) (This)->lpVtbl->get_currentMarker(This,plMarker)
#define IWMPControls_put_currentMarker(This,plMarker) (This)->lpVtbl->put_currentMarker(This,plMarker)
#define IWMPControls_playItem(This,pIWMPMedia) (This)->lpVtbl->playItem(This,pIWMPMedia)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPControls_QueryInterface(IWMPControls* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPControls_AddRef(IWMPControls* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPControls_Release(IWMPControls* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWMPControls_GetTypeInfoCount(IWMPControls* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWMPControls_GetTypeInfo(IWMPControls* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWMPControls_GetIDsOfNames(IWMPControls* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWMPControls_Invoke(IWMPControls* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWMPControls methods ***/
static FORCEINLINE HRESULT IWMPControls_get_isAvailable(IWMPControls* This,BSTR bstrItem,VARIANT_BOOL *pIsAvailable) {
return This->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable);
}
static FORCEINLINE HRESULT IWMPControls_play(IWMPControls* This) {
return This->lpVtbl->play(This);
}
static FORCEINLINE HRESULT IWMPControls_stop(IWMPControls* This) {
return This->lpVtbl->stop(This);
}
static FORCEINLINE HRESULT IWMPControls_pause(IWMPControls* This) {
return This->lpVtbl->pause(This);
}
static FORCEINLINE HRESULT IWMPControls_fastForward(IWMPControls* This) {
return This->lpVtbl->fastForward(This);
}
static FORCEINLINE HRESULT IWMPControls_fastReverse(IWMPControls* This) {
return This->lpVtbl->fastReverse(This);
}
static FORCEINLINE HRESULT IWMPControls_get_currentPosition(IWMPControls* This,double *pdCurrentPosition) {
return This->lpVtbl->get_currentPosition(This,pdCurrentPosition);
}
static FORCEINLINE HRESULT IWMPControls_put_currentPosition(IWMPControls* This,double pdCurrentPosition) {
return This->lpVtbl->put_currentPosition(This,pdCurrentPosition);
}
static FORCEINLINE HRESULT IWMPControls_get_currentPositionString(IWMPControls* This,BSTR *pbstrCurrentPosition) {
return This->lpVtbl->get_currentPositionString(This,pbstrCurrentPosition);
}
static FORCEINLINE HRESULT IWMPControls_next(IWMPControls* This) {
return This->lpVtbl->next(This);
}
static FORCEINLINE HRESULT IWMPControls_previous(IWMPControls* This) {
return This->lpVtbl->previous(This);
}
static FORCEINLINE HRESULT IWMPControls_currentItem(IWMPControls* This,IWMPMedia **ppIWMPMedia) {
return This->lpVtbl->currentItem(This,ppIWMPMedia);
}
static FORCEINLINE HRESULT IWMPControls_put_currentItem(IWMPControls* This,IWMPMedia *ppIWMPMedia) {
return This->lpVtbl->put_currentItem(This,ppIWMPMedia);
}
static FORCEINLINE HRESULT IWMPControls_get_currentMarker(IWMPControls* This,LONG *plMarker) {
return This->lpVtbl->get_currentMarker(This,plMarker);
}
static FORCEINLINE HRESULT IWMPControls_put_currentMarker(IWMPControls* This,LONG plMarker) {
return This->lpVtbl->put_currentMarker(This,plMarker);
}
static FORCEINLINE HRESULT IWMPControls_playItem(IWMPControls* This,IWMPMedia *pIWMPMedia) {
return This->lpVtbl->playItem(This,pIWMPMedia);
}
#endif
#endif
#endif
#endif /* __IWMPControls_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPControls2 interface
*/
#ifndef __IWMPControls2_INTERFACE_DEFINED__
#define __IWMPControls2_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPControls2, 0x6f030d25, 0x0890, 0x480f, 0x97,0x75, 0x1f,0x7e,0x40,0xab,0x5b,0x8e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6f030d25-0890-480f-9775-1f7e40ab5b8e")
IWMPControls2 : public IWMPControls
{
virtual HRESULT STDMETHODCALLTYPE step(
LONG lStep) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPControls2, 0x6f030d25, 0x0890, 0x480f, 0x97,0x75, 0x1f,0x7e,0x40,0xab,0x5b,0x8e)
#endif
#else
typedef struct IWMPControls2Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPControls2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPControls2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPControls2 *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWMPControls2 *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWMPControls2 *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWMPControls2 *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWMPControls2 *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWMPControls methods ***/
HRESULT (STDMETHODCALLTYPE *get_isAvailable)(
IWMPControls2 *This,
BSTR bstrItem,
VARIANT_BOOL *pIsAvailable);
HRESULT (STDMETHODCALLTYPE *play)(
IWMPControls2 *This);
HRESULT (STDMETHODCALLTYPE *stop)(
IWMPControls2 *This);
HRESULT (STDMETHODCALLTYPE *pause)(
IWMPControls2 *This);
HRESULT (STDMETHODCALLTYPE *fastForward)(
IWMPControls2 *This);
HRESULT (STDMETHODCALLTYPE *fastReverse)(
IWMPControls2 *This);
HRESULT (STDMETHODCALLTYPE *get_currentPosition)(
IWMPControls2 *This,
double *pdCurrentPosition);
HRESULT (STDMETHODCALLTYPE *put_currentPosition)(
IWMPControls2 *This,
double pdCurrentPosition);
HRESULT (STDMETHODCALLTYPE *get_currentPositionString)(
IWMPControls2 *This,
BSTR *pbstrCurrentPosition);
HRESULT (STDMETHODCALLTYPE *next)(
IWMPControls2 *This);
HRESULT (STDMETHODCALLTYPE *previous)(
IWMPControls2 *This);
HRESULT (STDMETHODCALLTYPE *currentItem)(
IWMPControls2 *This,
IWMPMedia **ppIWMPMedia);
HRESULT (STDMETHODCALLTYPE *put_currentItem)(
IWMPControls2 *This,
IWMPMedia *ppIWMPMedia);
HRESULT (STDMETHODCALLTYPE *get_currentMarker)(
IWMPControls2 *This,
LONG *plMarker);
HRESULT (STDMETHODCALLTYPE *put_currentMarker)(
IWMPControls2 *This,
LONG plMarker);
HRESULT (STDMETHODCALLTYPE *playItem)(
IWMPControls2 *This,
IWMPMedia *pIWMPMedia);
/*** IWMPControls2 methods ***/
HRESULT (STDMETHODCALLTYPE *step)(
IWMPControls2 *This,
LONG lStep);
END_INTERFACE
} IWMPControls2Vtbl;
interface IWMPControls2 {
CONST_VTBL IWMPControls2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPControls2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPControls2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPControls2_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWMPControls2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWMPControls2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWMPControls2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWMPControls2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWMPControls methods ***/
#define IWMPControls2_get_isAvailable(This,bstrItem,pIsAvailable) (This)->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable)
#define IWMPControls2_play(This) (This)->lpVtbl->play(This)
#define IWMPControls2_stop(This) (This)->lpVtbl->stop(This)
#define IWMPControls2_pause(This) (This)->lpVtbl->pause(This)
#define IWMPControls2_fastForward(This) (This)->lpVtbl->fastForward(This)
#define IWMPControls2_fastReverse(This) (This)->lpVtbl->fastReverse(This)
#define IWMPControls2_get_currentPosition(This,pdCurrentPosition) (This)->lpVtbl->get_currentPosition(This,pdCurrentPosition)
#define IWMPControls2_put_currentPosition(This,pdCurrentPosition) (This)->lpVtbl->put_currentPosition(This,pdCurrentPosition)
#define IWMPControls2_get_currentPositionString(This,pbstrCurrentPosition) (This)->lpVtbl->get_currentPositionString(This,pbstrCurrentPosition)
#define IWMPControls2_next(This) (This)->lpVtbl->next(This)
#define IWMPControls2_previous(This) (This)->lpVtbl->previous(This)
#define IWMPControls2_currentItem(This,ppIWMPMedia) (This)->lpVtbl->currentItem(This,ppIWMPMedia)
#define IWMPControls2_put_currentItem(This,ppIWMPMedia) (This)->lpVtbl->put_currentItem(This,ppIWMPMedia)
#define IWMPControls2_get_currentMarker(This,plMarker) (This)->lpVtbl->get_currentMarker(This,plMarker)
#define IWMPControls2_put_currentMarker(This,plMarker) (This)->lpVtbl->put_currentMarker(This,plMarker)
#define IWMPControls2_playItem(This,pIWMPMedia) (This)->lpVtbl->playItem(This,pIWMPMedia)
/*** IWMPControls2 methods ***/
#define IWMPControls2_step(This,lStep) (This)->lpVtbl->step(This,lStep)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPControls2_QueryInterface(IWMPControls2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPControls2_AddRef(IWMPControls2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPControls2_Release(IWMPControls2* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWMPControls2_GetTypeInfoCount(IWMPControls2* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWMPControls2_GetTypeInfo(IWMPControls2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWMPControls2_GetIDsOfNames(IWMPControls2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWMPControls2_Invoke(IWMPControls2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWMPControls methods ***/
static FORCEINLINE HRESULT IWMPControls2_get_isAvailable(IWMPControls2* This,BSTR bstrItem,VARIANT_BOOL *pIsAvailable) {
return This->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable);
}
static FORCEINLINE HRESULT IWMPControls2_play(IWMPControls2* This) {
return This->lpVtbl->play(This);
}
static FORCEINLINE HRESULT IWMPControls2_stop(IWMPControls2* This) {
return This->lpVtbl->stop(This);
}
static FORCEINLINE HRESULT IWMPControls2_pause(IWMPControls2* This) {
return This->lpVtbl->pause(This);
}
static FORCEINLINE HRESULT IWMPControls2_fastForward(IWMPControls2* This) {
return This->lpVtbl->fastForward(This);
}
static FORCEINLINE HRESULT IWMPControls2_fastReverse(IWMPControls2* This) {
return This->lpVtbl->fastReverse(This);
}
static FORCEINLINE HRESULT IWMPControls2_get_currentPosition(IWMPControls2* This,double *pdCurrentPosition) {
return This->lpVtbl->get_currentPosition(This,pdCurrentPosition);
}
static FORCEINLINE HRESULT IWMPControls2_put_currentPosition(IWMPControls2* This,double pdCurrentPosition) {
return This->lpVtbl->put_currentPosition(This,pdCurrentPosition);
}
static FORCEINLINE HRESULT IWMPControls2_get_currentPositionString(IWMPControls2* This,BSTR *pbstrCurrentPosition) {
return This->lpVtbl->get_currentPositionString(This,pbstrCurrentPosition);
}
static FORCEINLINE HRESULT IWMPControls2_next(IWMPControls2* This) {
return This->lpVtbl->next(This);
}
static FORCEINLINE HRESULT IWMPControls2_previous(IWMPControls2* This) {
return This->lpVtbl->previous(This);
}
static FORCEINLINE HRESULT IWMPControls2_currentItem(IWMPControls2* This,IWMPMedia **ppIWMPMedia) {
return This->lpVtbl->currentItem(This,ppIWMPMedia);
}
static FORCEINLINE HRESULT IWMPControls2_put_currentItem(IWMPControls2* This,IWMPMedia *ppIWMPMedia) {
return This->lpVtbl->put_currentItem(This,ppIWMPMedia);
}
static FORCEINLINE HRESULT IWMPControls2_get_currentMarker(IWMPControls2* This,LONG *plMarker) {
return This->lpVtbl->get_currentMarker(This,plMarker);
}
static FORCEINLINE HRESULT IWMPControls2_put_currentMarker(IWMPControls2* This,LONG plMarker) {
return This->lpVtbl->put_currentMarker(This,plMarker);
}
static FORCEINLINE HRESULT IWMPControls2_playItem(IWMPControls2* This,IWMPMedia *pIWMPMedia) {
return This->lpVtbl->playItem(This,pIWMPMedia);
}
/*** IWMPControls2 methods ***/
static FORCEINLINE HRESULT IWMPControls2_step(IWMPControls2* This,LONG lStep) {
return This->lpVtbl->step(This,lStep);
}
#endif
#endif
#endif
#endif /* __IWMPControls2_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPRemoteMediaServices interface
*/
#ifndef __IWMPRemoteMediaServices_INTERFACE_DEFINED__
#define __IWMPRemoteMediaServices_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPRemoteMediaServices, 0xcbb92747, 0x741f, 0x44fe, 0xab,0x5b, 0xf1,0xa4,0x8f,0x3b,0x2a,0x59);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("cbb92747-741f-44fe-ab5b-f1a48f3b2a59")
IWMPRemoteMediaServices : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetServiceType(
BSTR *type) = 0;
virtual HRESULT STDMETHODCALLTYPE GetApplicationName(
BSTR *name) = 0;
virtual HRESULT STDMETHODCALLTYPE GetScriptableObject(
BSTR *name,
IDispatch **out) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCustomUIMode(
BSTR *file) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPRemoteMediaServices, 0xcbb92747, 0x741f, 0x44fe, 0xab,0x5b, 0xf1,0xa4,0x8f,0x3b,0x2a,0x59)
#endif
#else
typedef struct IWMPRemoteMediaServicesVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPRemoteMediaServices *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPRemoteMediaServices *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPRemoteMediaServices *This);
/*** IWMPRemoteMediaServices methods ***/
HRESULT (STDMETHODCALLTYPE *GetServiceType)(
IWMPRemoteMediaServices *This,
BSTR *type);
HRESULT (STDMETHODCALLTYPE *GetApplicationName)(
IWMPRemoteMediaServices *This,
BSTR *name);
HRESULT (STDMETHODCALLTYPE *GetScriptableObject)(
IWMPRemoteMediaServices *This,
BSTR *name,
IDispatch **out);
HRESULT (STDMETHODCALLTYPE *GetCustomUIMode)(
IWMPRemoteMediaServices *This,
BSTR *file);
END_INTERFACE
} IWMPRemoteMediaServicesVtbl;
interface IWMPRemoteMediaServices {
CONST_VTBL IWMPRemoteMediaServicesVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPRemoteMediaServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPRemoteMediaServices_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPRemoteMediaServices_Release(This) (This)->lpVtbl->Release(This)
/*** IWMPRemoteMediaServices methods ***/
#define IWMPRemoteMediaServices_GetServiceType(This,type) (This)->lpVtbl->GetServiceType(This,type)
#define IWMPRemoteMediaServices_GetApplicationName(This,name) (This)->lpVtbl->GetApplicationName(This,name)
#define IWMPRemoteMediaServices_GetScriptableObject(This,name,out) (This)->lpVtbl->GetScriptableObject(This,name,out)
#define IWMPRemoteMediaServices_GetCustomUIMode(This,file) (This)->lpVtbl->GetCustomUIMode(This,file)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPRemoteMediaServices_QueryInterface(IWMPRemoteMediaServices* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPRemoteMediaServices_AddRef(IWMPRemoteMediaServices* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPRemoteMediaServices_Release(IWMPRemoteMediaServices* This) {
return This->lpVtbl->Release(This);
}
/*** IWMPRemoteMediaServices methods ***/
static FORCEINLINE HRESULT IWMPRemoteMediaServices_GetServiceType(IWMPRemoteMediaServices* This,BSTR *type) {
return This->lpVtbl->GetServiceType(This,type);
}
static FORCEINLINE HRESULT IWMPRemoteMediaServices_GetApplicationName(IWMPRemoteMediaServices* This,BSTR *name) {
return This->lpVtbl->GetApplicationName(This,name);
}
static FORCEINLINE HRESULT IWMPRemoteMediaServices_GetScriptableObject(IWMPRemoteMediaServices* This,BSTR *name,IDispatch **out) {
return This->lpVtbl->GetScriptableObject(This,name,out);
}
static FORCEINLINE HRESULT IWMPRemoteMediaServices_GetCustomUIMode(IWMPRemoteMediaServices* This,BSTR *file) {
return This->lpVtbl->GetCustomUIMode(This,file);
}
#endif
#endif
#endif
#endif /* __IWMPRemoteMediaServices_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPSettings interface
*/
#ifndef __IWMPSettings_INTERFACE_DEFINED__
#define __IWMPSettings_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPSettings, 0x9104d1ab, 0x80c9, 0x4fed, 0xab,0xf0, 0x2e,0x64,0x17,0xa6,0xdf,0x14);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9104d1ab-80c9-4fed-abf0-2e6417a6df14")
IWMPSettings : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_isAvailable(
BSTR bstrItem,
VARIANT_BOOL *pIsAvailable) = 0;
virtual HRESULT STDMETHODCALLTYPE get_autoStart(
VARIANT_BOOL *pfAutoStart) = 0;
virtual HRESULT STDMETHODCALLTYPE put_autoStart(
VARIANT_BOOL pfAutoStart) = 0;
virtual HRESULT STDMETHODCALLTYPE get_baseURL(
BSTR *pbstrBaseURL) = 0;
virtual HRESULT STDMETHODCALLTYPE put_baseURL(
BSTR pbstrBaseURL) = 0;
virtual HRESULT STDMETHODCALLTYPE get_defaultFrame(
BSTR *pbstrDefaultFrame) = 0;
virtual HRESULT STDMETHODCALLTYPE put_defaultFrame(
BSTR pbstrDefaultFrame) = 0;
virtual HRESULT STDMETHODCALLTYPE get_invokeURLs(
VARIANT_BOOL *pfInvokeURLs) = 0;
virtual HRESULT STDMETHODCALLTYPE put_invokeURLs(
VARIANT_BOOL pfInvokeURLs) = 0;
virtual HRESULT STDMETHODCALLTYPE get_mute(
VARIANT_BOOL *pfMute) = 0;
virtual HRESULT STDMETHODCALLTYPE put_mute(
VARIANT_BOOL pfMute) = 0;
virtual HRESULT STDMETHODCALLTYPE get_playCount(
LONG *plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE put_playCount(
LONG plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE get_rate(
double *pdRate) = 0;
virtual HRESULT STDMETHODCALLTYPE put_rate(
double pdRate) = 0;
virtual HRESULT STDMETHODCALLTYPE get_balance(
LONG *plBalance) = 0;
virtual HRESULT STDMETHODCALLTYPE put_balance(
LONG plBalance) = 0;
virtual HRESULT STDMETHODCALLTYPE get_volume(
LONG *plVolume) = 0;
virtual HRESULT STDMETHODCALLTYPE put_volume(
LONG plVolume) = 0;
virtual HRESULT STDMETHODCALLTYPE getMode(
BSTR bstrMode,
VARIANT_BOOL *pvarfMode) = 0;
virtual HRESULT STDMETHODCALLTYPE setMode(
BSTR bstrMode,
VARIANT_BOOL varfMode) = 0;
virtual HRESULT STDMETHODCALLTYPE get_enableErrorDialogs(
VARIANT_BOOL *pfEnableErrorDialogs) = 0;
virtual HRESULT STDMETHODCALLTYPE put_enableErrorDialogs(
VARIANT_BOOL pfEnableErrorDialogs) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPSettings, 0x9104d1ab, 0x80c9, 0x4fed, 0xab,0xf0, 0x2e,0x64,0x17,0xa6,0xdf,0x14)
#endif
#else
typedef struct IWMPSettingsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPSettings *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPSettings *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPSettings *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWMPSettings *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWMPSettings *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWMPSettings *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWMPSettings *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWMPSettings methods ***/
HRESULT (STDMETHODCALLTYPE *get_isAvailable)(
IWMPSettings *This,
BSTR bstrItem,
VARIANT_BOOL *pIsAvailable);
HRESULT (STDMETHODCALLTYPE *get_autoStart)(
IWMPSettings *This,
VARIANT_BOOL *pfAutoStart);
HRESULT (STDMETHODCALLTYPE *put_autoStart)(
IWMPSettings *This,
VARIANT_BOOL pfAutoStart);
HRESULT (STDMETHODCALLTYPE *get_baseURL)(
IWMPSettings *This,
BSTR *pbstrBaseURL);
HRESULT (STDMETHODCALLTYPE *put_baseURL)(
IWMPSettings *This,
BSTR pbstrBaseURL);
HRESULT (STDMETHODCALLTYPE *get_defaultFrame)(
IWMPSettings *This,
BSTR *pbstrDefaultFrame);
HRESULT (STDMETHODCALLTYPE *put_defaultFrame)(
IWMPSettings *This,
BSTR pbstrDefaultFrame);
HRESULT (STDMETHODCALLTYPE *get_invokeURLs)(
IWMPSettings *This,
VARIANT_BOOL *pfInvokeURLs);
HRESULT (STDMETHODCALLTYPE *put_invokeURLs)(
IWMPSettings *This,
VARIANT_BOOL pfInvokeURLs);
HRESULT (STDMETHODCALLTYPE *get_mute)(
IWMPSettings *This,
VARIANT_BOOL *pfMute);
HRESULT (STDMETHODCALLTYPE *put_mute)(
IWMPSettings *This,
VARIANT_BOOL pfMute);
HRESULT (STDMETHODCALLTYPE *get_playCount)(
IWMPSettings *This,
LONG *plCount);
HRESULT (STDMETHODCALLTYPE *put_playCount)(
IWMPSettings *This,
LONG plCount);
HRESULT (STDMETHODCALLTYPE *get_rate)(
IWMPSettings *This,
double *pdRate);
HRESULT (STDMETHODCALLTYPE *put_rate)(
IWMPSettings *This,
double pdRate);
HRESULT (STDMETHODCALLTYPE *get_balance)(
IWMPSettings *This,
LONG *plBalance);
HRESULT (STDMETHODCALLTYPE *put_balance)(
IWMPSettings *This,
LONG plBalance);
HRESULT (STDMETHODCALLTYPE *get_volume)(
IWMPSettings *This,
LONG *plVolume);
HRESULT (STDMETHODCALLTYPE *put_volume)(
IWMPSettings *This,
LONG plVolume);
HRESULT (STDMETHODCALLTYPE *getMode)(
IWMPSettings *This,
BSTR bstrMode,
VARIANT_BOOL *pvarfMode);
HRESULT (STDMETHODCALLTYPE *setMode)(
IWMPSettings *This,
BSTR bstrMode,
VARIANT_BOOL varfMode);
HRESULT (STDMETHODCALLTYPE *get_enableErrorDialogs)(
IWMPSettings *This,
VARIANT_BOOL *pfEnableErrorDialogs);
HRESULT (STDMETHODCALLTYPE *put_enableErrorDialogs)(
IWMPSettings *This,
VARIANT_BOOL pfEnableErrorDialogs);
END_INTERFACE
} IWMPSettingsVtbl;
interface IWMPSettings {
CONST_VTBL IWMPSettingsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPSettings_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWMPSettings_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWMPSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWMPSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWMPSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWMPSettings methods ***/
#define IWMPSettings_get_isAvailable(This,bstrItem,pIsAvailable) (This)->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable)
#define IWMPSettings_get_autoStart(This,pfAutoStart) (This)->lpVtbl->get_autoStart(This,pfAutoStart)
#define IWMPSettings_put_autoStart(This,pfAutoStart) (This)->lpVtbl->put_autoStart(This,pfAutoStart)
#define IWMPSettings_get_baseURL(This,pbstrBaseURL) (This)->lpVtbl->get_baseURL(This,pbstrBaseURL)
#define IWMPSettings_put_baseURL(This,pbstrBaseURL) (This)->lpVtbl->put_baseURL(This,pbstrBaseURL)
#define IWMPSettings_get_defaultFrame(This,pbstrDefaultFrame) (This)->lpVtbl->get_defaultFrame(This,pbstrDefaultFrame)
#define IWMPSettings_put_defaultFrame(This,pbstrDefaultFrame) (This)->lpVtbl->put_defaultFrame(This,pbstrDefaultFrame)
#define IWMPSettings_get_invokeURLs(This,pfInvokeURLs) (This)->lpVtbl->get_invokeURLs(This,pfInvokeURLs)
#define IWMPSettings_put_invokeURLs(This,pfInvokeURLs) (This)->lpVtbl->put_invokeURLs(This,pfInvokeURLs)
#define IWMPSettings_get_mute(This,pfMute) (This)->lpVtbl->get_mute(This,pfMute)
#define IWMPSettings_put_mute(This,pfMute) (This)->lpVtbl->put_mute(This,pfMute)
#define IWMPSettings_get_playCount(This,plCount) (This)->lpVtbl->get_playCount(This,plCount)
#define IWMPSettings_put_playCount(This,plCount) (This)->lpVtbl->put_playCount(This,plCount)
#define IWMPSettings_get_rate(This,pdRate) (This)->lpVtbl->get_rate(This,pdRate)
#define IWMPSettings_put_rate(This,pdRate) (This)->lpVtbl->put_rate(This,pdRate)
#define IWMPSettings_get_balance(This,plBalance) (This)->lpVtbl->get_balance(This,plBalance)
#define IWMPSettings_put_balance(This,plBalance) (This)->lpVtbl->put_balance(This,plBalance)
#define IWMPSettings_get_volume(This,plVolume) (This)->lpVtbl->get_volume(This,plVolume)
#define IWMPSettings_put_volume(This,plVolume) (This)->lpVtbl->put_volume(This,plVolume)
#define IWMPSettings_getMode(This,bstrMode,pvarfMode) (This)->lpVtbl->getMode(This,bstrMode,pvarfMode)
#define IWMPSettings_setMode(This,bstrMode,varfMode) (This)->lpVtbl->setMode(This,bstrMode,varfMode)
#define IWMPSettings_get_enableErrorDialogs(This,pfEnableErrorDialogs) (This)->lpVtbl->get_enableErrorDialogs(This,pfEnableErrorDialogs)
#define IWMPSettings_put_enableErrorDialogs(This,pfEnableErrorDialogs) (This)->lpVtbl->put_enableErrorDialogs(This,pfEnableErrorDialogs)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPSettings_QueryInterface(IWMPSettings* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPSettings_AddRef(IWMPSettings* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPSettings_Release(IWMPSettings* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWMPSettings_GetTypeInfoCount(IWMPSettings* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWMPSettings_GetTypeInfo(IWMPSettings* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWMPSettings_GetIDsOfNames(IWMPSettings* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWMPSettings_Invoke(IWMPSettings* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWMPSettings methods ***/
static FORCEINLINE HRESULT IWMPSettings_get_isAvailable(IWMPSettings* This,BSTR bstrItem,VARIANT_BOOL *pIsAvailable) {
return This->lpVtbl->get_isAvailable(This,bstrItem,pIsAvailable);
}
static FORCEINLINE HRESULT IWMPSettings_get_autoStart(IWMPSettings* This,VARIANT_BOOL *pfAutoStart) {
return This->lpVtbl->get_autoStart(This,pfAutoStart);
}
static FORCEINLINE HRESULT IWMPSettings_put_autoStart(IWMPSettings* This,VARIANT_BOOL pfAutoStart) {
return This->lpVtbl->put_autoStart(This,pfAutoStart);
}
static FORCEINLINE HRESULT IWMPSettings_get_baseURL(IWMPSettings* This,BSTR *pbstrBaseURL) {
return This->lpVtbl->get_baseURL(This,pbstrBaseURL);
}
static FORCEINLINE HRESULT IWMPSettings_put_baseURL(IWMPSettings* This,BSTR pbstrBaseURL) {
return This->lpVtbl->put_baseURL(This,pbstrBaseURL);
}
static FORCEINLINE HRESULT IWMPSettings_get_defaultFrame(IWMPSettings* This,BSTR *pbstrDefaultFrame) {
return This->lpVtbl->get_defaultFrame(This,pbstrDefaultFrame);
}
static FORCEINLINE HRESULT IWMPSettings_put_defaultFrame(IWMPSettings* This,BSTR pbstrDefaultFrame) {
return This->lpVtbl->put_defaultFrame(This,pbstrDefaultFrame);
}
static FORCEINLINE HRESULT IWMPSettings_get_invokeURLs(IWMPSettings* This,VARIANT_BOOL *pfInvokeURLs) {
return This->lpVtbl->get_invokeURLs(This,pfInvokeURLs);
}
static FORCEINLINE HRESULT IWMPSettings_put_invokeURLs(IWMPSettings* This,VARIANT_BOOL pfInvokeURLs) {
return This->lpVtbl->put_invokeURLs(This,pfInvokeURLs);
}
static FORCEINLINE HRESULT IWMPSettings_get_mute(IWMPSettings* This,VARIANT_BOOL *pfMute) {
return This->lpVtbl->get_mute(This,pfMute);
}
static FORCEINLINE HRESULT IWMPSettings_put_mute(IWMPSettings* This,VARIANT_BOOL pfMute) {
return This->lpVtbl->put_mute(This,pfMute);
}
static FORCEINLINE HRESULT IWMPSettings_get_playCount(IWMPSettings* This,LONG *plCount) {
return This->lpVtbl->get_playCount(This,plCount);
}
static FORCEINLINE HRESULT IWMPSettings_put_playCount(IWMPSettings* This,LONG plCount) {
return This->lpVtbl->put_playCount(This,plCount);
}
static FORCEINLINE HRESULT IWMPSettings_get_rate(IWMPSettings* This,double *pdRate) {
return This->lpVtbl->get_rate(This,pdRate);
}
static FORCEINLINE HRESULT IWMPSettings_put_rate(IWMPSettings* This,double pdRate) {
return This->lpVtbl->put_rate(This,pdRate);
}
static FORCEINLINE HRESULT IWMPSettings_get_balance(IWMPSettings* This,LONG *plBalance) {
return This->lpVtbl->get_balance(This,plBalance);
}
static FORCEINLINE HRESULT IWMPSettings_put_balance(IWMPSettings* This,LONG plBalance) {
return This->lpVtbl->put_balance(This,plBalance);
}
static FORCEINLINE HRESULT IWMPSettings_get_volume(IWMPSettings* This,LONG *plVolume) {
return This->lpVtbl->get_volume(This,plVolume);
}
static FORCEINLINE HRESULT IWMPSettings_put_volume(IWMPSettings* This,LONG plVolume) {
return This->lpVtbl->put_volume(This,plVolume);
}
static FORCEINLINE HRESULT IWMPSettings_getMode(IWMPSettings* This,BSTR bstrMode,VARIANT_BOOL *pvarfMode) {
return This->lpVtbl->getMode(This,bstrMode,pvarfMode);
}
static FORCEINLINE HRESULT IWMPSettings_setMode(IWMPSettings* This,BSTR bstrMode,VARIANT_BOOL varfMode) {
return This->lpVtbl->setMode(This,bstrMode,varfMode);
}
static FORCEINLINE HRESULT IWMPSettings_get_enableErrorDialogs(IWMPSettings* This,VARIANT_BOOL *pfEnableErrorDialogs) {
return This->lpVtbl->get_enableErrorDialogs(This,pfEnableErrorDialogs);
}
static FORCEINLINE HRESULT IWMPSettings_put_enableErrorDialogs(IWMPSettings* This,VARIANT_BOOL pfEnableErrorDialogs) {
return This->lpVtbl->put_enableErrorDialogs(This,pfEnableErrorDialogs);
}
#endif
#endif
#endif
#endif /* __IWMPSettings_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPStringCollection interface
*/
#ifndef __IWMPStringCollection_INTERFACE_DEFINED__
#define __IWMPStringCollection_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPStringCollection, 0x4a976298, 0x8c0d, 0x11d3, 0xb3,0x89, 0x00,0xc0,0x4f,0x68,0x57,0x4b);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("4a976298-8c0d-11d3-b389-00c04f68574b")
IWMPStringCollection : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_count(
LONG *plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE Item(
LONG lIndex,
BSTR *pbstrString) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPStringCollection, 0x4a976298, 0x8c0d, 0x11d3, 0xb3,0x89, 0x00,0xc0,0x4f,0x68,0x57,0x4b)
#endif
#else
typedef struct IWMPStringCollectionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPStringCollection *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPStringCollection *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPStringCollection *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWMPStringCollection *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWMPStringCollection *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWMPStringCollection *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWMPStringCollection *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWMPStringCollection methods ***/
HRESULT (STDMETHODCALLTYPE *get_count)(
IWMPStringCollection *This,
LONG *plCount);
HRESULT (STDMETHODCALLTYPE *Item)(
IWMPStringCollection *This,
LONG lIndex,
BSTR *pbstrString);
END_INTERFACE
} IWMPStringCollectionVtbl;
interface IWMPStringCollection {
CONST_VTBL IWMPStringCollectionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPStringCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPStringCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPStringCollection_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWMPStringCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWMPStringCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWMPStringCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWMPStringCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWMPStringCollection methods ***/
#define IWMPStringCollection_get_count(This,plCount) (This)->lpVtbl->get_count(This,plCount)
#define IWMPStringCollection_Item(This,lIndex,pbstrString) (This)->lpVtbl->Item(This,lIndex,pbstrString)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPStringCollection_QueryInterface(IWMPStringCollection* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPStringCollection_AddRef(IWMPStringCollection* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPStringCollection_Release(IWMPStringCollection* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWMPStringCollection_GetTypeInfoCount(IWMPStringCollection* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWMPStringCollection_GetTypeInfo(IWMPStringCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWMPStringCollection_GetIDsOfNames(IWMPStringCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWMPStringCollection_Invoke(IWMPStringCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWMPStringCollection methods ***/
static FORCEINLINE HRESULT IWMPStringCollection_get_count(IWMPStringCollection* This,LONG *plCount) {
return This->lpVtbl->get_count(This,plCount);
}
static FORCEINLINE HRESULT IWMPStringCollection_Item(IWMPStringCollection* This,LONG lIndex,BSTR *pbstrString) {
return This->lpVtbl->Item(This,lIndex,pbstrString);
}
#endif
#endif
#endif
#endif /* __IWMPStringCollection_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPMediaCollection interface
*/
#ifndef __IWMPMediaCollection_INTERFACE_DEFINED__
#define __IWMPMediaCollection_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPMediaCollection, 0x8363bc22, 0xb4b4, 0x4b19, 0x98,0x9d, 0x1c,0xd7,0x65,0x74,0x9d,0xd1);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8363bc22-b4b4-4b19-989d-1cd765749dd1")
IWMPMediaCollection : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE add(
BSTR bstrURL,
IWMPMedia **ppItem) = 0;
virtual HRESULT STDMETHODCALLTYPE getAll(
IWMPPlaylist **ppMediaItems) = 0;
virtual HRESULT STDMETHODCALLTYPE getByName(
BSTR bstrName,
IWMPPlaylist **ppMediaItems) = 0;
virtual HRESULT STDMETHODCALLTYPE getByGenre(
BSTR bstrGenre,
IWMPPlaylist **ppMediaItems) = 0;
virtual HRESULT STDMETHODCALLTYPE getByAuthor(
BSTR bstrAuthor,
IWMPPlaylist **ppMediaItems) = 0;
virtual HRESULT STDMETHODCALLTYPE getByAlbum(
BSTR bstrAlbum,
IWMPPlaylist **ppMediaItems) = 0;
virtual HRESULT STDMETHODCALLTYPE getByAttribute(
BSTR bstrAttribute,
BSTR bstrValue,
IWMPPlaylist **ppMediaItems) = 0;
virtual HRESULT STDMETHODCALLTYPE remove(
IWMPMedia *pItem,
VARIANT_BOOL varfDeleteFile) = 0;
virtual HRESULT STDMETHODCALLTYPE getAttributeStringCollection(
BSTR bstrAttribute,
BSTR bstrMediaType,
IWMPStringCollection **ppStringCollection) = 0;
virtual HRESULT STDMETHODCALLTYPE getMediaAtom(
BSTR bstrItemName,
LONG *plAtom) = 0;
virtual HRESULT STDMETHODCALLTYPE setDeleted(
IWMPMedia *pItem,
VARIANT_BOOL varfIsDeleted) = 0;
virtual HRESULT STDMETHODCALLTYPE isDeleted(
IWMPMedia *pItem,
VARIANT_BOOL *pvarfIsDeleted) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPMediaCollection, 0x8363bc22, 0xb4b4, 0x4b19, 0x98,0x9d, 0x1c,0xd7,0x65,0x74,0x9d,0xd1)
#endif
#else
typedef struct IWMPMediaCollectionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPMediaCollection *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPMediaCollection *This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPMediaCollection *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IWMPMediaCollection *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IWMPMediaCollection *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IWMPMediaCollection *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IWMPMediaCollection *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IWMPMediaCollection methods ***/
HRESULT (STDMETHODCALLTYPE *add)(
IWMPMediaCollection *This,
BSTR bstrURL,
IWMPMedia **ppItem);
HRESULT (STDMETHODCALLTYPE *getAll)(
IWMPMediaCollection *This,
IWMPPlaylist **ppMediaItems);
HRESULT (STDMETHODCALLTYPE *getByName)(
IWMPMediaCollection *This,
BSTR bstrName,
IWMPPlaylist **ppMediaItems);
HRESULT (STDMETHODCALLTYPE *getByGenre)(
IWMPMediaCollection *This,
BSTR bstrGenre,
IWMPPlaylist **ppMediaItems);
HRESULT (STDMETHODCALLTYPE *getByAuthor)(
IWMPMediaCollection *This,
BSTR bstrAuthor,
IWMPPlaylist **ppMediaItems);
HRESULT (STDMETHODCALLTYPE *getByAlbum)(
IWMPMediaCollection *This,
BSTR bstrAlbum,
IWMPPlaylist **ppMediaItems);
HRESULT (STDMETHODCALLTYPE *getByAttribute)(
IWMPMediaCollection *This,
BSTR bstrAttribute,
BSTR bstrValue,
IWMPPlaylist **ppMediaItems);
HRESULT (STDMETHODCALLTYPE *remove)(
IWMPMediaCollection *This,
IWMPMedia *pItem,
VARIANT_BOOL varfDeleteFile);
HRESULT (STDMETHODCALLTYPE *getAttributeStringCollection)(
IWMPMediaCollection *This,
BSTR bstrAttribute,
BSTR bstrMediaType,
IWMPStringCollection **ppStringCollection);
HRESULT (STDMETHODCALLTYPE *getMediaAtom)(
IWMPMediaCollection *This,
BSTR bstrItemName,
LONG *plAtom);
HRESULT (STDMETHODCALLTYPE *setDeleted)(
IWMPMediaCollection *This,
IWMPMedia *pItem,
VARIANT_BOOL varfIsDeleted);
HRESULT (STDMETHODCALLTYPE *isDeleted)(
IWMPMediaCollection *This,
IWMPMedia *pItem,
VARIANT_BOOL *pvarfIsDeleted);
END_INTERFACE
} IWMPMediaCollectionVtbl;
interface IWMPMediaCollection {
CONST_VTBL IWMPMediaCollectionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPMediaCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPMediaCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPMediaCollection_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IWMPMediaCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IWMPMediaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IWMPMediaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IWMPMediaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IWMPMediaCollection methods ***/
#define IWMPMediaCollection_add(This,bstrURL,ppItem) (This)->lpVtbl->add(This,bstrURL,ppItem)
#define IWMPMediaCollection_getAll(This,ppMediaItems) (This)->lpVtbl->getAll(This,ppMediaItems)
#define IWMPMediaCollection_getByName(This,bstrName,ppMediaItems) (This)->lpVtbl->getByName(This,bstrName,ppMediaItems)
#define IWMPMediaCollection_getByGenre(This,bstrGenre,ppMediaItems) (This)->lpVtbl->getByGenre(This,bstrGenre,ppMediaItems)
#define IWMPMediaCollection_getByAuthor(This,bstrAuthor,ppMediaItems) (This)->lpVtbl->getByAuthor(This,bstrAuthor,ppMediaItems)
#define IWMPMediaCollection_getByAlbum(This,bstrAlbum,ppMediaItems) (This)->lpVtbl->getByAlbum(This,bstrAlbum,ppMediaItems)
#define IWMPMediaCollection_getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems) (This)->lpVtbl->getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems)
#define IWMPMediaCollection_remove(This,pItem,varfDeleteFile) (This)->lpVtbl->remove(This,pItem,varfDeleteFile)
#define IWMPMediaCollection_getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection) (This)->lpVtbl->getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection)
#define IWMPMediaCollection_getMediaAtom(This,bstrItemName,plAtom) (This)->lpVtbl->getMediaAtom(This,bstrItemName,plAtom)
#define IWMPMediaCollection_setDeleted(This,pItem,varfIsDeleted) (This)->lpVtbl->setDeleted(This,pItem,varfIsDeleted)
#define IWMPMediaCollection_isDeleted(This,pItem,pvarfIsDeleted) (This)->lpVtbl->isDeleted(This,pItem,pvarfIsDeleted)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPMediaCollection_QueryInterface(IWMPMediaCollection* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPMediaCollection_AddRef(IWMPMediaCollection* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPMediaCollection_Release(IWMPMediaCollection* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IWMPMediaCollection_GetTypeInfoCount(IWMPMediaCollection* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IWMPMediaCollection_GetTypeInfo(IWMPMediaCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IWMPMediaCollection_GetIDsOfNames(IWMPMediaCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IWMPMediaCollection_Invoke(IWMPMediaCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IWMPMediaCollection methods ***/
static FORCEINLINE HRESULT IWMPMediaCollection_add(IWMPMediaCollection* This,BSTR bstrURL,IWMPMedia **ppItem) {
return This->lpVtbl->add(This,bstrURL,ppItem);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getAll(IWMPMediaCollection* This,IWMPPlaylist **ppMediaItems) {
return This->lpVtbl->getAll(This,ppMediaItems);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getByName(IWMPMediaCollection* This,BSTR bstrName,IWMPPlaylist **ppMediaItems) {
return This->lpVtbl->getByName(This,bstrName,ppMediaItems);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getByGenre(IWMPMediaCollection* This,BSTR bstrGenre,IWMPPlaylist **ppMediaItems) {
return This->lpVtbl->getByGenre(This,bstrGenre,ppMediaItems);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getByAuthor(IWMPMediaCollection* This,BSTR bstrAuthor,IWMPPlaylist **ppMediaItems) {
return This->lpVtbl->getByAuthor(This,bstrAuthor,ppMediaItems);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getByAlbum(IWMPMediaCollection* This,BSTR bstrAlbum,IWMPPlaylist **ppMediaItems) {
return This->lpVtbl->getByAlbum(This,bstrAlbum,ppMediaItems);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getByAttribute(IWMPMediaCollection* This,BSTR bstrAttribute,BSTR bstrValue,IWMPPlaylist **ppMediaItems) {
return This->lpVtbl->getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems);
}
static FORCEINLINE HRESULT IWMPMediaCollection_remove(IWMPMediaCollection* This,IWMPMedia *pItem,VARIANT_BOOL varfDeleteFile) {
return This->lpVtbl->remove(This,pItem,varfDeleteFile);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getAttributeStringCollection(IWMPMediaCollection* This,BSTR bstrAttribute,BSTR bstrMediaType,IWMPStringCollection **ppStringCollection) {
return This->lpVtbl->getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection);
}
static FORCEINLINE HRESULT IWMPMediaCollection_getMediaAtom(IWMPMediaCollection* This,BSTR bstrItemName,LONG *plAtom) {
return This->lpVtbl->getMediaAtom(This,bstrItemName,plAtom);
}
static FORCEINLINE HRESULT IWMPMediaCollection_setDeleted(IWMPMediaCollection* This,IWMPMedia *pItem,VARIANT_BOOL varfIsDeleted) {
return This->lpVtbl->setDeleted(This,pItem,varfIsDeleted);
}
static FORCEINLINE HRESULT IWMPMediaCollection_isDeleted(IWMPMediaCollection* This,IWMPMedia *pItem,VARIANT_BOOL *pvarfIsDeleted) {
return This->lpVtbl->isDeleted(This,pItem,pvarfIsDeleted);
}
#endif
#endif
#endif
#endif /* __IWMPMediaCollection_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPPlaylistArray interface
*/
#ifndef __IWMPPlaylistArray_INTERFACE_DEFINED__
#define __IWMPPlaylistArray_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPPlaylistArray, 0x679409c0, 0x99f7, 0x11d3, 0x9f,0xb7, 0x00,0x10,0x5a,0xa6,0x20,0xbb);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("679409c0-99f7-11d3-9fb7-00105aa620bb")
IWMPPlaylistArray : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_count(
LONG *plCount) = 0;
virtual HRESULT STDMETHODCALLTYPE Item(
LONG lIndex,
IWMPPlaylist **ppItem) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPPlaylistArray, 0x679409c0, 0x99f7, 0x11d3, 0x9f,0xb7, 0x00,0x10,0x5a,0xa6,0x20,0xbb)
#endif
#else
typedef struct IWMPPlaylistArrayVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPPlaylistArray *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPPlaylistArray *This);