📄 wmp.h
字号:
/* [retval][out] */ IWMPErrorItem **ppErrorItem);
void __RPC_STUB IWMPError_get_item_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPError_webHelp_Proxy(
IWMPError * This);
void __RPC_STUB IWMPError_webHelp_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IWMPError_INTERFACE_DEFINED__ */
#ifndef __IWMPMedia_INTERFACE_DEFINED__
#define __IWMPMedia_INTERFACE_DEFINED__
/* interface IWMPMedia */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IWMPMedia;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("94D55E95-3FAC-11d3-B155-00C04F79FAA6")
IWMPMedia : public IDispatch
{
public:
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_isIdentical(
/* [in] */ IWMPMedia *pIWMPMedia,
/* [retval][out] */ VARIANT_BOOL *pvbool) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_sourceURL(
/* [retval][out] */ BSTR *pbstrSourceURL) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_name(
/* [retval][out] */ BSTR *pbstrName) = 0;
virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_name(
/* [in] */ BSTR bstrName) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_imageSourceWidth(
/* [retval][out] */ long *pWidth) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_imageSourceHeight(
/* [retval][out] */ long *pHeight) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_markerCount(
/* [retval][out] */ long *pMarkerCount) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getMarkerTime(
/* [in] */ long MarkerNum,
/* [retval][out] */ double *pMarkerTime) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getMarkerName(
/* [in] */ long MarkerNum,
/* [retval][out] */ BSTR *pbstrMarkerName) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_duration(
/* [retval][out] */ double *pDuration) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_durationString(
/* [retval][out] */ BSTR *pbstrDuration) = 0;
virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_attributeCount(
/* [retval][out] */ long *plCount) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getAttributeName(
/* [in] */ long lIndex,
/* [retval][out] */ BSTR *pbstrItemName) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getItemInfo(
/* [in] */ BSTR bstrItemName,
/* [retval][out] */ BSTR *pbstrVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setItemInfo(
/* [in] */ BSTR bstrItemName,
/* [in] */ BSTR bstrVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getItemInfoByAtom(
/* [in] */ long lAtom,
/* [retval][out] */ BSTR *pbstrVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE isMemberOf(
/* [in] */ IWMPPlaylist *pPlaylist,
/* [retval][out] */ VARIANT_BOOL *pvarfIsMemberOf) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE isReadOnlyItem(
/* [in] */ BSTR bstrItemName,
/* [retval][out] */ VARIANT_BOOL *pvarfIsReadOnly) = 0;
};
#else /* C style interface */
typedef struct IWMPMediaVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IWMPMedia * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IWMPMedia * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IWMPMedia * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IWMPMedia * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IWMPMedia * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IWMPMedia * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IWMPMedia * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_isIdentical )(
IWMPMedia * This,
/* [in] */ IWMPMedia *pIWMPMedia,
/* [retval][out] */ VARIANT_BOOL *pvbool);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_sourceURL )(
IWMPMedia * This,
/* [retval][out] */ BSTR *pbstrSourceURL);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_name )(
IWMPMedia * This,
/* [retval][out] */ BSTR *pbstrName);
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_name )(
IWMPMedia * This,
/* [in] */ BSTR bstrName);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_imageSourceWidth )(
IWMPMedia * This,
/* [retval][out] */ long *pWidth);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_imageSourceHeight )(
IWMPMedia * This,
/* [retval][out] */ long *pHeight);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_markerCount )(
IWMPMedia * This,
/* [retval][out] */ long *pMarkerCount);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *getMarkerTime )(
IWMPMedia * This,
/* [in] */ long MarkerNum,
/* [retval][out] */ double *pMarkerTime);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *getMarkerName )(
IWMPMedia * This,
/* [in] */ long MarkerNum,
/* [retval][out] */ BSTR *pbstrMarkerName);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_duration )(
IWMPMedia * This,
/* [retval][out] */ double *pDuration);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_durationString )(
IWMPMedia * This,
/* [retval][out] */ BSTR *pbstrDuration);
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_attributeCount )(
IWMPMedia * This,
/* [retval][out] */ long *plCount);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *getAttributeName )(
IWMPMedia * This,
/* [in] */ long lIndex,
/* [retval][out] */ BSTR *pbstrItemName);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *getItemInfo )(
IWMPMedia * This,
/* [in] */ BSTR bstrItemName,
/* [retval][out] */ BSTR *pbstrVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *setItemInfo )(
IWMPMedia * This,
/* [in] */ BSTR bstrItemName,
/* [in] */ BSTR bstrVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *getItemInfoByAtom )(
IWMPMedia * This,
/* [in] */ long lAtom,
/* [retval][out] */ BSTR *pbstrVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *isMemberOf )(
IWMPMedia * This,
/* [in] */ IWMPPlaylist *pPlaylist,
/* [retval][out] */ VARIANT_BOOL *pvarfIsMemberOf);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *isReadOnlyItem )(
IWMPMedia * This,
/* [in] */ BSTR bstrItemName,
/* [retval][out] */ VARIANT_BOOL *pvarfIsReadOnly);
END_INTERFACE
} IWMPMediaVtbl;
interface IWMPMedia
{
CONST_VTBL struct IWMPMediaVtbl *lpVtbl;
};
#ifdef COBJMACROS
#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)
#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)
#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,bstrName) \
(This)->lpVtbl -> put_name(This,bstrName)
#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)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_isIdentical_Proxy(
IWMPMedia * This,
/* [in] */ IWMPMedia *pIWMPMedia,
/* [retval][out] */ VARIANT_BOOL *pvbool);
void __RPC_STUB IWMPMedia_get_isIdentical_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_sourceURL_Proxy(
IWMPMedia * This,
/* [retval][out] */ BSTR *pbstrSourceURL);
void __RPC_STUB IWMPMedia_get_sourceURL_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_name_Proxy(
IWMPMedia * This,
/* [retval][out] */ BSTR *pbstrName);
void __RPC_STUB IWMPMedia_get_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_put_name_Proxy(
IWMPMedia * This,
/* [in] */ BSTR bstrName);
void __RPC_STUB IWMPMedia_put_name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_imageSourceWidth_Proxy(
IWMPMedia * This,
/* [retval][out] */ long *pWidth);
void __RPC_STUB IWMPMedia_get_imageSourceWidth_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -