home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap04 / lst44 / lst44.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-26  |  5.5 KB  |  190 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.00.41 */
  5. /* at Thu Sep 26 23:38:20 1996
  6.  */
  7. /* Compiler settings for lst44.idl:
  8.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __lst44_h__
  20. #define __lst44_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __ILst44_FWD_DEFINED__
  29. #define __ILst44_FWD_DEFINED__
  30. typedef interface ILst44 ILst44;
  31. #endif     /* __ILst44_FWD_DEFINED__ */
  32.  
  33.  
  34. /* header files for imported files */
  35. #include "oaidl.h"
  36.  
  37. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  38. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  39.  
  40. #ifndef __ILst44_INTERFACE_DEFINED__
  41. #define __ILst44_INTERFACE_DEFINED__
  42.  
  43. /****************************************
  44.  * Generated header for interface: ILst44
  45.  * at Thu Sep 26 23:38:20 1996
  46.  * using MIDL 3.00.41
  47.  ****************************************/
  48. /* [unique][uuid][object] */ 
  49.  
  50.  
  51.  
  52. EXTERN_C const IID IID_ILst44;
  53.  
  54. #if defined(__cplusplus) && !defined(CINTERFACE)
  55.     
  56.     interface ILst44 : public IDispatch
  57.     {
  58.     public:
  59.         virtual HRESULT STDMETHODCALLTYPE GetMachineName( 
  60.             /* [retval][out] */ BSTR __RPC_FAR *retval) = 0;
  61.         
  62.     };
  63.     
  64. #else     /* C style interface */
  65.  
  66.     typedef struct ILst44Vtbl
  67.     {
  68.         BEGIN_INTERFACE
  69.         
  70.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  71.             ILst44 __RPC_FAR * This,
  72.             /* [in] */ REFIID riid,
  73.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  74.         
  75.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  76.             ILst44 __RPC_FAR * This);
  77.         
  78.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  79.             ILst44 __RPC_FAR * This);
  80.         
  81.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  82.             ILst44 __RPC_FAR * This,
  83.             /* [out] */ UINT __RPC_FAR *pctinfo);
  84.         
  85.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  86.             ILst44 __RPC_FAR * This,
  87.             /* [in] */ UINT itinfo,
  88.             /* [in] */ LCID lcid,
  89.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *pptinfo);
  90.         
  91.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  92.             ILst44 __RPC_FAR * This,
  93.             /* [in] */ REFIID riid,
  94.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  95.             /* [in] */ UINT cNames,
  96.             /* [in] */ LCID lcid,
  97.             /* [size_is][out][in] */ DISPID __RPC_FAR *rgdispid);
  98.         
  99.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  100.             ILst44 __RPC_FAR * This,
  101.             /* [in] */ DISPID dispidMember,
  102.             /* [in] */ REFIID riid,
  103.             /* [in] */ LCID lcid,
  104.             /* [in] */ WORD wFlags,
  105.             /* [unique][in] */ DISPPARAMS __RPC_FAR *pdispparams,
  106.             /* [unique][out][in] */ VARIANT __RPC_FAR *pvarResult,
  107.             /* [out] */ EXCEPINFO __RPC_FAR *pexcepinfo,
  108.             /* [out] */ UINT __RPC_FAR *puArgErr);
  109.         
  110.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMachineName )( 
  111.             ILst44 __RPC_FAR * This,
  112.             /* [retval][out] */ BSTR __RPC_FAR *retval);
  113.         
  114.         END_INTERFACE
  115.     } ILst44Vtbl;
  116.  
  117.     interface ILst44
  118.     {
  119.         CONST_VTBL struct ILst44Vtbl __RPC_FAR *lpVtbl;
  120.     };
  121.  
  122.     
  123.  
  124. #ifdef COBJMACROS
  125.  
  126.  
  127. #define ILst44_QueryInterface(This,riid,ppvObject)    \
  128.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  129.  
  130. #define ILst44_AddRef(This)    \
  131.     (This)->lpVtbl -> AddRef(This)
  132.  
  133. #define ILst44_Release(This)    \
  134.     (This)->lpVtbl -> Release(This)
  135.  
  136.  
  137. #define ILst44_GetTypeInfoCount(This,pctinfo)    \
  138.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  139.  
  140. #define ILst44_GetTypeInfo(This,itinfo,lcid,pptinfo)    \
  141.     (This)->lpVtbl -> GetTypeInfo(This,itinfo,lcid,pptinfo)
  142.  
  143. #define ILst44_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgdispid)    \
  144.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgdispid)
  145.  
  146. #define ILst44_Invoke(This,dispidMember,riid,lcid,wFlags,pdispparams,pvarResult,pexcepinfo,puArgErr)    \
  147.     (This)->lpVtbl -> Invoke(This,dispidMember,riid,lcid,wFlags,pdispparams,pvarResult,pexcepinfo,puArgErr)
  148.  
  149.  
  150. #define ILst44_GetMachineName(This,retval)    \
  151.     (This)->lpVtbl -> GetMachineName(This,retval)
  152.  
  153. #endif /* COBJMACROS */
  154.  
  155.  
  156. #endif     /* C style interface */
  157.  
  158.  
  159.  
  160. HRESULT STDMETHODCALLTYPE ILst44_GetMachineName_Proxy( 
  161.     ILst44 __RPC_FAR * This,
  162.     /* [retval][out] */ BSTR __RPC_FAR *retval);
  163.  
  164.  
  165. void __RPC_STUB ILst44_GetMachineName_Stub(
  166.     IRpcStubBuffer *This,
  167.     IRpcChannelBuffer *_pRpcChannelBuffer,
  168.     PRPC_MESSAGE _pRpcMessage,
  169.     DWORD *_pdwStubPhase);
  170.  
  171.  
  172.  
  173. #endif     /* __ILst44_INTERFACE_DEFINED__ */
  174.  
  175.  
  176. /* Additional Prototypes for ALL interfaces */
  177.  
  178. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  179. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  180. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  181. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  182.  
  183. /* end of Additional Prototypes */
  184.  
  185. #ifdef __cplusplus
  186. }
  187. #endif
  188.  
  189. #endif
  190.