home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / mtsgrp.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  8KB  |  266 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.75 */
  5. /* at Thu Sep 11 16:03:07 1997
  6.  */
  7. /* Compiler settings for mtsgrp.idl:
  8.     Oicf (OptLev=i2), 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 __mtsgrp_h__
  20. #define __mtsgrp_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IMtsGrp_FWD_DEFINED__
  29. #define __IMtsGrp_FWD_DEFINED__
  30. typedef interface IMtsGrp IMtsGrp;
  31. #endif     /* __IMtsGrp_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __MtsGrp_FWD_DEFINED__
  35. #define __MtsGrp_FWD_DEFINED__
  36.  
  37. #ifdef __cplusplus
  38. typedef class MtsGrp MtsGrp;
  39. #else
  40. typedef struct MtsGrp MtsGrp;
  41. #endif /* __cplusplus */
  42.  
  43. #endif     /* __MtsGrp_FWD_DEFINED__ */
  44.  
  45.  
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "ocidl.h"
  49.  
  50. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  52.  
  53. #ifndef __IMtsGrp_INTERFACE_DEFINED__
  54. #define __IMtsGrp_INTERFACE_DEFINED__
  55.  
  56. /****************************************
  57.  * Generated header for interface: IMtsGrp
  58.  * at Thu Sep 11 16:03:07 1997
  59.  * using MIDL 3.01.75
  60.  ****************************************/
  61. /* [unique][helpstring][dual][uuid][object] */ 
  62.  
  63.  
  64.  
  65. EXTERN_C const IID IID_IMtsGrp;
  66.  
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68.     
  69.     interface DECLSPEC_UUID("4B2E958C-0393-11D1-B1AB-00AA00BA3258")
  70.     IMtsGrp : public IDispatch
  71.     {
  72.     public:
  73.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  74.             /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  75.         
  76.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  77.             /* [in] */ long lIndex,
  78.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnkDispatcher) = 0;
  79.         
  80.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
  81.         
  82.     };
  83.     
  84. #else     /* C style interface */
  85.  
  86.     typedef struct IMtsGrpVtbl
  87.     {
  88.         BEGIN_INTERFACE
  89.         
  90.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  91.             IMtsGrp __RPC_FAR * This,
  92.             /* [in] */ REFIID riid,
  93.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  94.         
  95.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  96.             IMtsGrp __RPC_FAR * This);
  97.         
  98.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  99.             IMtsGrp __RPC_FAR * This);
  100.         
  101.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  102.             IMtsGrp __RPC_FAR * This,
  103.             /* [out] */ UINT __RPC_FAR *pctinfo);
  104.         
  105.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  106.             IMtsGrp __RPC_FAR * This,
  107.             /* [in] */ UINT iTInfo,
  108.             /* [in] */ LCID lcid,
  109.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  110.         
  111.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  112.             IMtsGrp __RPC_FAR * This,
  113.             /* [in] */ REFIID riid,
  114.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  115.             /* [in] */ UINT cNames,
  116.             /* [in] */ LCID lcid,
  117.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  118.         
  119.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  120.             IMtsGrp __RPC_FAR * This,
  121.             /* [in] */ DISPID dispIdMember,
  122.             /* [in] */ REFIID riid,
  123.             /* [in] */ LCID lcid,
  124.             /* [in] */ WORD wFlags,
  125.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  126.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  127.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  128.             /* [out] */ UINT __RPC_FAR *puArgErr);
  129.         
  130.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )( 
  131.             IMtsGrp __RPC_FAR * This,
  132.             /* [retval][out] */ long __RPC_FAR *pVal);
  133.         
  134.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )( 
  135.             IMtsGrp __RPC_FAR * This,
  136.             /* [in] */ long lIndex,
  137.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnkDispatcher);
  138.         
  139.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Refresh )( 
  140.             IMtsGrp __RPC_FAR * This);
  141.         
  142.         END_INTERFACE
  143.     } IMtsGrpVtbl;
  144.  
  145.     interface IMtsGrp
  146.     {
  147.         CONST_VTBL struct IMtsGrpVtbl __RPC_FAR *lpVtbl;
  148.     };
  149.  
  150.     
  151.  
  152. #ifdef COBJMACROS
  153.  
  154.  
  155. #define IMtsGrp_QueryInterface(This,riid,ppvObject)    \
  156.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  157.  
  158. #define IMtsGrp_AddRef(This)    \
  159.     (This)->lpVtbl -> AddRef(This)
  160.  
  161. #define IMtsGrp_Release(This)    \
  162.     (This)->lpVtbl -> Release(This)
  163.  
  164.  
  165. #define IMtsGrp_GetTypeInfoCount(This,pctinfo)    \
  166.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  167.  
  168. #define IMtsGrp_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  169.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  170.  
  171. #define IMtsGrp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  172.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  173.  
  174. #define IMtsGrp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  175.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  176.  
  177.  
  178. #define IMtsGrp_get_Count(This,pVal)    \
  179.     (This)->lpVtbl -> get_Count(This,pVal)
  180.  
  181. #define IMtsGrp_Item(This,lIndex,ppUnkDispatcher)    \
  182.     (This)->lpVtbl -> Item(This,lIndex,ppUnkDispatcher)
  183.  
  184. #define IMtsGrp_Refresh(This)    \
  185.     (This)->lpVtbl -> Refresh(This)
  186.  
  187. #endif /* COBJMACROS */
  188.  
  189.  
  190. #endif     /* C style interface */
  191.  
  192.  
  193.  
  194. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMtsGrp_get_Count_Proxy( 
  195.     IMtsGrp __RPC_FAR * This,
  196.     /* [retval][out] */ long __RPC_FAR *pVal);
  197.  
  198.  
  199. void __RPC_STUB IMtsGrp_get_Count_Stub(
  200.     IRpcStubBuffer *This,
  201.     IRpcChannelBuffer *_pRpcChannelBuffer,
  202.     PRPC_MESSAGE _pRpcMessage,
  203.     DWORD *_pdwStubPhase);
  204.  
  205.  
  206. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsGrp_Item_Proxy( 
  207.     IMtsGrp __RPC_FAR * This,
  208.     /* [in] */ long lIndex,
  209.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnkDispatcher);
  210.  
  211.  
  212. void __RPC_STUB IMtsGrp_Item_Stub(
  213.     IRpcStubBuffer *This,
  214.     IRpcChannelBuffer *_pRpcChannelBuffer,
  215.     PRPC_MESSAGE _pRpcMessage,
  216.     DWORD *_pdwStubPhase);
  217.  
  218.  
  219. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMtsGrp_Refresh_Proxy( 
  220.     IMtsGrp __RPC_FAR * This);
  221.  
  222.  
  223. void __RPC_STUB IMtsGrp_Refresh_Stub(
  224.     IRpcStubBuffer *This,
  225.     IRpcChannelBuffer *_pRpcChannelBuffer,
  226.     PRPC_MESSAGE _pRpcMessage,
  227.     DWORD *_pdwStubPhase);
  228.  
  229.  
  230.  
  231. #endif     /* __IMtsGrp_INTERFACE_DEFINED__ */
  232.  
  233.  
  234.  
  235. #ifndef __MTSGRPLib_LIBRARY_DEFINED__
  236. #define __MTSGRPLib_LIBRARY_DEFINED__
  237.  
  238. /****************************************
  239.  * Generated header for library: MTSGRPLib
  240.  * at Thu Sep 11 16:03:07 1997
  241.  * using MIDL 3.01.75
  242.  ****************************************/
  243. /* [helpstring][version][uuid] */ 
  244.  
  245.  
  246.  
  247. EXTERN_C const IID LIBID_MTSGRPLib;
  248.  
  249. #ifdef __cplusplus
  250. EXTERN_C const CLSID CLSID_MtsGrp;
  251.  
  252. class DECLSPEC_UUID("4B2E958D-0393-11D1-B1AB-00AA00BA3258")
  253. MtsGrp;
  254. #endif
  255. #endif /* __MTSGRPLib_LIBRARY_DEFINED__ */
  256.  
  257. /* Additional Prototypes for ALL interfaces */
  258.  
  259. /* end of Additional Prototypes */
  260.  
  261. #ifdef __cplusplus
  262. }
  263. #endif
  264.  
  265. #endif
  266.