/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 7.00.0499 */ /* at Sat Feb 16 18:27:45 2008 */ /* Compiler settings for .\ATLDemoSp08.idl: Oicf, W1, Zp8, env=Win32 (32b run) protocol : dce , ms_ext, c_ext, robust error checks: 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 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 #endif // __RPCNDR_H_VERSION__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __ATLDemoSp08_i_h__ #define __ATLDemoSp08_i_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif /* Forward Declarations */ #ifndef __IDemo_FWD_DEFINED__ #define __IDemo_FWD_DEFINED__ typedef interface IDemo IDemo; #endif /* __IDemo_FWD_DEFINED__ */ #ifndef __Demo_FWD_DEFINED__ #define __Demo_FWD_DEFINED__ #ifdef __cplusplus typedef class Demo Demo; #else typedef struct Demo Demo; #endif /* __cplusplus */ #endif /* __Demo_FWD_DEFINED__ */ /* header files for imported files */ #include "oaidl.h" #include "ocidl.h" #ifdef __cplusplus extern "C"{ #endif #ifndef __IDemo_INTERFACE_DEFINED__ #define __IDemo_INTERFACE_DEFINED__ /* interface IDemo */ /* [unique][helpstring][nonextensible][dual][uuid][object] */ EXTERN_C const IID IID_IDemo; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("FF6395FF-2CAE-4543-8700-28B3BFF236B7") IDemo : public IDispatch { public: virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE putString( /* [in] */ BSTR str) = 0; virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getString( /* [retval][out] */ BSTR *str) = 0; }; #else /* C style interface */ typedef struct IDemoVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IDemo * This, /* [in] */ REFIID riid, /* [iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IDemo * This); ULONG ( STDMETHODCALLTYPE *Release )( IDemo * This); HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( IDemo * This, /* [out] */ UINT *pctinfo); HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( IDemo * This, /* [in] */ UINT iTInfo, /* [in] */ LCID lcid, /* [out] */ ITypeInfo **ppTInfo); HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( IDemo * This, /* [in] */ REFIID riid, /* [size_is][in] */ LPOLESTR *rgszNames, /* [range][in] */ UINT cNames, /* [in] */ LCID lcid, /* [size_is][out] */ DISPID *rgDispId); /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( IDemo * 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] */ HRESULT ( STDMETHODCALLTYPE *putString )( IDemo * This, /* [in] */ BSTR str); /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *getString )( IDemo * This, /* [retval][out] */ BSTR *str); END_INTERFACE } IDemoVtbl; interface IDemo { CONST_VTBL struct IDemoVtbl *lpVtbl; }; #ifdef COBJMACROS #define IDemo_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IDemo_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IDemo_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IDemo_GetTypeInfoCount(This,pctinfo) \ ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) #define IDemo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) #define IDemo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) #define IDemo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) #define IDemo_putString(This,str) \ ( (This)->lpVtbl -> putString(This,str) ) #define IDemo_getString(This,str) \ ( (This)->lpVtbl -> getString(This,str) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IDemo_INTERFACE_DEFINED__ */ #ifndef __ATLDemoSp08Lib_LIBRARY_DEFINED__ #define __ATLDemoSp08Lib_LIBRARY_DEFINED__ /* library ATLDemoSp08Lib */ /* [helpstring][version][uuid] */ EXTERN_C const IID LIBID_ATLDemoSp08Lib; EXTERN_C const CLSID CLSID_Demo; #ifdef __cplusplus class DECLSPEC_UUID("2FBFC4AD-C2DC-4CD0-916D-E253EFE0D4B5") Demo; #endif #endif /* __ATLDemoSp08Lib_LIBRARY_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * ); unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * ); unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * ); /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif