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

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Wed Sep 03 19:09:22 1997
  6.  */
  7. /* Compiler settings for rndnot.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __rndnot_h__
  32. #define __rndnot_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __ITNotification_FWD_DEFINED__
  41. #define __ITNotification_FWD_DEFINED__
  42. typedef interface ITNotification ITNotification;
  43. #endif     /* __ITNotification_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. /****************************************
  54.  * Generated header for interface: __MIDL_itf_rndnot_0000
  55.  * at Wed Sep 03 19:09:22 1997
  56.  * using MIDL 3.03.0110
  57.  ****************************************/
  58. /* [local] */ 
  59.  
  60.  
  61. typedef 
  62. enum RND_NOTIFICATION_ID
  63.     {    NI_SUB_TYPE    = 1,
  64.     NI_ORIGINATOR    = 2,
  65.     NI_ANNOUNCEMENT_SCOPE    = 3,
  66.     NI_ADVERTISING_SCOPE    = 4,
  67.     NI_URL    = 5,
  68.     NI_DESCRIPTION    = 6,
  69.     NI_START_TIME    = 7,
  70.     NI_STOP_TIME    = 8,
  71.     NI_CONFERENCE_BLOB    = 9
  72.     }    RND_NOTIFICATION_ID;
  73.  
  74. typedef 
  75. enum RND_ADVERTISING_SCOPE
  76.     {    AS_LOCAL    = 1,
  77.     AS_SITE    = 2,
  78.     AS_REGION    = 3,
  79.     AS_WORLD    = 4
  80.     }    RND_ADVERTISING_SCOPE;
  81.  
  82.  
  83.  
  84. extern RPC_IF_HANDLE __MIDL_itf_rndnot_0000_v0_0_c_ifspec;
  85. extern RPC_IF_HANDLE __MIDL_itf_rndnot_0000_v0_0_s_ifspec;
  86.  
  87. #ifndef __ITNotification_INTERFACE_DEFINED__
  88. #define __ITNotification_INTERFACE_DEFINED__
  89.  
  90. /****************************************
  91.  * Generated header for interface: ITNotification
  92.  * at Wed Sep 03 19:09:22 1997
  93.  * using MIDL 3.03.0110
  94.  ****************************************/
  95. /* [unique][helpstring][dual][uuid][object] */ 
  96.  
  97.  
  98.  
  99. EXTERN_C const IID IID_ITNotification;
  100.  
  101. #if defined(__cplusplus) && !defined(CINTERFACE)
  102.     
  103.     MIDL_INTERFACE("dda68522-b6a5-11d0-a489-00c04fd91ac0")
  104.     ITNotification : public IDispatch
  105.     {
  106.     public:
  107.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ChangeNotification( 
  108.             /* [in] */ RND_NOTIFICATION_ID NotificationId,
  109.             /* [in] */ VARIANT newVal) = 0;
  110.         
  111.     };
  112.     
  113. #else     /* C style interface */
  114.  
  115.     typedef struct ITNotificationVtbl
  116.     {
  117.         BEGIN_INTERFACE
  118.         
  119.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  120.             ITNotification __RPC_FAR * This,
  121.             /* [in] */ REFIID riid,
  122.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  123.         
  124.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  125.             ITNotification __RPC_FAR * This);
  126.         
  127.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  128.             ITNotification __RPC_FAR * This);
  129.         
  130.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  131.             ITNotification __RPC_FAR * This,
  132.             /* [out] */ UINT __RPC_FAR *pctinfo);
  133.         
  134.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  135.             ITNotification __RPC_FAR * This,
  136.             /* [in] */ UINT iTInfo,
  137.             /* [in] */ LCID lcid,
  138.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  139.         
  140.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  141.             ITNotification __RPC_FAR * This,
  142.             /* [in] */ REFIID riid,
  143.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  144.             /* [in] */ UINT cNames,
  145.             /* [in] */ LCID lcid,
  146.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  147.         
  148.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  149.             ITNotification __RPC_FAR * This,
  150.             /* [in] */ DISPID dispIdMember,
  151.             /* [in] */ REFIID riid,
  152.             /* [in] */ LCID lcid,
  153.             /* [in] */ WORD wFlags,
  154.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  155.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  156.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  157.             /* [out] */ UINT __RPC_FAR *puArgErr);
  158.         
  159.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangeNotification )( 
  160.             ITNotification __RPC_FAR * This,
  161.             /* [in] */ RND_NOTIFICATION_ID NotificationId,
  162.             /* [in] */ VARIANT newVal);
  163.         
  164.         END_INTERFACE
  165.     } ITNotificationVtbl;
  166.  
  167.     interface ITNotification
  168.     {
  169.         CONST_VTBL struct ITNotificationVtbl __RPC_FAR *lpVtbl;
  170.     };
  171.  
  172.     
  173.  
  174. #ifdef COBJMACROS
  175.  
  176.  
  177. #define ITNotification_QueryInterface(This,riid,ppvObject)    \
  178.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  179.  
  180. #define ITNotification_AddRef(This)    \
  181.     (This)->lpVtbl -> AddRef(This)
  182.  
  183. #define ITNotification_Release(This)    \
  184.     (This)->lpVtbl -> Release(This)
  185.  
  186.  
  187. #define ITNotification_GetTypeInfoCount(This,pctinfo)    \
  188.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  189.  
  190. #define ITNotification_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  191.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  192.  
  193. #define ITNotification_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  194.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  195.  
  196. #define ITNotification_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  197.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  198.  
  199.  
  200. #define ITNotification_ChangeNotification(This,NotificationId,newVal)    \
  201.     (This)->lpVtbl -> ChangeNotification(This,NotificationId,newVal)
  202.  
  203. #endif /* COBJMACROS */
  204.  
  205.  
  206. #endif     /* C style interface */
  207.  
  208.  
  209.  
  210. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITNotification_ChangeNotification_Proxy( 
  211.     ITNotification __RPC_FAR * This,
  212.     /* [in] */ RND_NOTIFICATION_ID NotificationId,
  213.     /* [in] */ VARIANT newVal);
  214.  
  215.  
  216. void __RPC_STUB ITNotification_ChangeNotification_Stub(
  217.     IRpcStubBuffer *This,
  218.     IRpcChannelBuffer *_pRpcChannelBuffer,
  219.     PRPC_MESSAGE _pRpcMessage,
  220.     DWORD *_pdwStubPhase);
  221.  
  222.  
  223.  
  224. #endif     /* __ITNotification_INTERFACE_DEFINED__ */
  225.  
  226.  
  227. /* Additional Prototypes for ALL interfaces */
  228.  
  229. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
  230. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  231. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  232. void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 
  233.  
  234. /* end of Additional Prototypes */
  235.  
  236. #ifdef __cplusplus
  237. }
  238. #endif
  239.  
  240. #endif
  241.