/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 5.01.0164 */ /* at Fri Jan 08 22:48:55 1999 */ /* Compiler settings for tribblelib.idl: Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext error checks: allocation ref bounds_check enum stub_data */ //@@MIDL_FILE_HEADING( ) /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 440 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __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 __tribblelib_h__ #define __tribblelib_h__ #ifdef __cplusplus extern "C"{ #endif /* Forward Declarations */ #ifndef __ITribble_FWD_DEFINED__ #define __ITribble_FWD_DEFINED__ typedef interface ITribble ITribble; #endif /* __ITribble_FWD_DEFINED__ */ #ifndef __Tribble_FWD_DEFINED__ #define __Tribble_FWD_DEFINED__ #ifdef __cplusplus typedef class Tribble Tribble; #else typedef struct Tribble Tribble; #endif /* __cplusplus */ #endif /* __Tribble_FWD_DEFINED__ */ /* header files for imported files */ #include "oaidl.h" void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t); void __RPC_USER MIDL_user_free( void __RPC_FAR * ); #ifndef __ITribble_INTERFACE_DEFINED__ #define __ITribble_INTERFACE_DEFINED__ /* interface ITribble */ /* [helpstring][unique][object][uuid] */ EXTERN_C const IID IID_ITribble; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("384D1ED0-635E-11d2-AD73-000000000000") ITribble : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE Sleep( void) = 0; virtual HRESULT STDMETHODCALLTYPE Wake( void) = 0; virtual HRESULT STDMETHODCALLTYPE Eat( /* [in] */ const unsigned char __RPC_FAR *strMyFood) = 0; virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Name( /* [in] */ const unsigned char __RPC_FAR *lpName) = 0; virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Colour( /* [in] */ const unsigned char __RPC_FAR *lpColour) = 0; virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name( /* [retval][out] */ unsigned char __RPC_FAR *lpName) = 0; virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Colour( /* [retval][out] */ unsigned char __RPC_FAR *lpColour) = 0; }; #else /* C style interface */ typedef struct ITribbleVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( ITribble __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( ITribble __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( ITribble __RPC_FAR * This); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Sleep )( ITribble __RPC_FAR * This); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wake )( ITribble __RPC_FAR * This); HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Eat )( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *strMyFood); /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *lpName); /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Colour )( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *lpColour); /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )( ITribble __RPC_FAR * This, /* [retval][out] */ unsigned char __RPC_FAR *lpName); /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Colour )( ITribble __RPC_FAR * This, /* [retval][out] */ unsigned char __RPC_FAR *lpColour); END_INTERFACE } ITribbleVtbl; interface ITribble { CONST_VTBL struct ITribbleVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define ITribble_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define ITribble_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define ITribble_Release(This) \ (This)->lpVtbl -> Release(This) #define ITribble_Sleep(This) \ (This)->lpVtbl -> Sleep(This) #define ITribble_Wake(This) \ (This)->lpVtbl -> Wake(This) #define ITribble_Eat(This,strMyFood) \ (This)->lpVtbl -> Eat(This,strMyFood) #define ITribble_put_Name(This,lpName) \ (This)->lpVtbl -> put_Name(This,lpName) #define ITribble_put_Colour(This,lpColour) \ (This)->lpVtbl -> put_Colour(This,lpColour) #define ITribble_get_Name(This,lpName) \ (This)->lpVtbl -> get_Name(This,lpName) #define ITribble_get_Colour(This,lpColour) \ (This)->lpVtbl -> get_Colour(This,lpColour) #endif /* COBJMACROS */ #endif /* C style interface */ HRESULT STDMETHODCALLTYPE ITribble_Sleep_Proxy( ITribble __RPC_FAR * This); void __RPC_STUB ITribble_Sleep_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); HRESULT STDMETHODCALLTYPE ITribble_Wake_Proxy( ITribble __RPC_FAR * This); void __RPC_STUB ITribble_Wake_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); HRESULT STDMETHODCALLTYPE ITribble_Eat_Proxy( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *strMyFood); void __RPC_STUB ITribble_Eat_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [propput] */ HRESULT STDMETHODCALLTYPE ITribble_put_Name_Proxy( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *lpName); void __RPC_STUB ITribble_put_Name_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [propput] */ HRESULT STDMETHODCALLTYPE ITribble_put_Colour_Proxy( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *lpColour); void __RPC_STUB ITribble_put_Colour_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [propget] */ HRESULT STDMETHODCALLTYPE ITribble_get_Name_Proxy( ITribble __RPC_FAR * This, /* [retval][out] */ unsigned char __RPC_FAR *lpName); void __RPC_STUB ITribble_get_Name_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [propget] */ HRESULT STDMETHODCALLTYPE ITribble_get_Colour_Proxy( ITribble __RPC_FAR * This, /* [retval][out] */ unsigned char __RPC_FAR *lpColour); void __RPC_STUB ITribble_get_Colour_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __ITribble_INTERFACE_DEFINED__ */ #ifndef __TribbleLib_LIBRARY_DEFINED__ #define __TribbleLib_LIBRARY_DEFINED__ /* library TribbleLib */ /* [lcid][version][helpstring][uuid] */ EXTERN_C const IID LIBID_TribbleLib; EXTERN_C const CLSID CLSID_Tribble; #ifdef __cplusplus class DECLSPEC_UUID("384D1ED2-635E-11d2-AD73-000000000000") Tribble; #endif #endif /* __TribbleLib_LIBRARY_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif