📄 chapter9_collectionserver.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0361 */
/* at Wed May 16 19:59:16 2007
*/
/* Compiler settings for .\Chapter9_CollectionServer.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __Chapter9_CollectionServer_h__
#define __Chapter9_CollectionServer_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IMovie_FWD_DEFINED__
#define __IMovie_FWD_DEFINED__
typedef interface IMovie IMovie;
#endif /* __IMovie_FWD_DEFINED__ */
#ifndef __IMovieCollection_FWD_DEFINED__
#define __IMovieCollection_FWD_DEFINED__
typedef interface IMovieCollection IMovieCollection;
#endif /* __IMovieCollection_FWD_DEFINED__ */
#ifndef __IApplication_FWD_DEFINED__
#define __IApplication_FWD_DEFINED__
typedef interface IApplication IApplication;
#endif /* __IApplication_FWD_DEFINED__ */
#ifndef __IMovieCollection_FWD_DEFINED__
#define __IMovieCollection_FWD_DEFINED__
typedef interface IMovieCollection IMovieCollection;
#endif /* __IMovieCollection_FWD_DEFINED__ */
#ifndef __IMovie_FWD_DEFINED__
#define __IMovie_FWD_DEFINED__
typedef interface IMovie IMovie;
#endif /* __IMovie_FWD_DEFINED__ */
#ifndef __Application_FWD_DEFINED__
#define __Application_FWD_DEFINED__
#ifdef __cplusplus
typedef class Application Application;
#else
typedef struct Application Application;
#endif /* __cplusplus */
#endif /* __Application_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
#ifndef __IMovie_INTERFACE_DEFINED__
#define __IMovie_INTERFACE_DEFINED__
/* interface IMovie */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IMovie;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("F579C5C1-3777-11d2-883A-444553540000")
IMovie : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Director(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Director(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Title(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Title(
/* [in] */ BSTR newVal) = 0;
};
#else /* C style interface */
typedef struct IMovieVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IMovie * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IMovie * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IMovie * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IMovie * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IMovie * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IMovie * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IMovie * 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][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Director )(
IMovie * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Director )(
IMovie * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Title )(
IMovie * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Title )(
IMovie * This,
/* [in] */ BSTR newVal);
END_INTERFACE
} IMovieVtbl;
interface IMovie
{
CONST_VTBL struct IMovieVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IMovie_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IMovie_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IMovie_Release(This) \
(This)->lpVtbl -> Release(This)
#define IMovie_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IMovie_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IMovie_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IMovie_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IMovie_get_Director(This,pVal) \
(This)->lpVtbl -> get_Director(This,pVal)
#define IMovie_put_Director(This,newVal) \
(This)->lpVtbl -> put_Director(This,newVal)
#define IMovie_get_Title(This,pVal) \
(This)->lpVtbl -> get_Title(This,pVal)
#define IMovie_put_Title(This,newVal) \
(This)->lpVtbl -> put_Title(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMovie_get_Director_Proxy(
IMovie * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB IMovie_get_Director_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IMovie_put_Director_Proxy(
IMovie * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IMovie_put_Director_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMovie_get_Title_Proxy(
IMovie * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB IMovie_get_Title_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IMovie_put_Title_Proxy(
IMovie * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IMovie_put_Title_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IMovie_INTERFACE_DEFINED__ */
#ifndef __IMovieCollection_INTERFACE_DEFINED__
#define __IMovieCollection_INTERFACE_DEFINED__
/* interface IMovieCollection */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IMovieCollection;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("F579C5C4-3777-11d2-883A-444553540000")
IMovieCollection : public IDispatch
{
public:
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
/* [retval][out] */ long *pVal) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE Add(
/* [in] */ IMovie *pMovie) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE Remove(
/* [in] */ long inIndex) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE RemoveAll( void) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
/* [in] */ long inIndex,
/* [retval][out] */ IMovie **ppMovie) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
/* [retval][out] */ LPUNKNOWN *pVal) = 0;
};
#else /* C style interface */
typedef struct IMovieCollectionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IMovieCollection * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IMovieCollection * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IMovieCollection * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IMovieCollection * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IMovieCollection * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IMovieCollection * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -