home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / corsvc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  9.0 KB  |  377 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 5.01.0164 */
  5. /* at Fri Jun 23 00:40:14 2000
  6.  */
  7. /* Compiler settings for corsvc.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: allocation ref bounds_check enum stub_data , no_format_optimization
  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 __corsvc_h__
  32. #define __corsvc_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __ICORSvcDbgInfo_FWD_DEFINED__
  41. #define __ICORSvcDbgInfo_FWD_DEFINED__
  42. typedef interface ICORSvcDbgInfo ICORSvcDbgInfo;
  43. #endif     /* __ICORSvcDbgInfo_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __ICORSvcDbgNotify_FWD_DEFINED__
  47. #define __ICORSvcDbgNotify_FWD_DEFINED__
  48. typedef interface ICORSvcDbgNotify ICORSvcDbgNotify;
  49. #endif     /* __ICORSvcDbgNotify_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __CORSvc_FWD_DEFINED__
  53. #define __CORSvc_FWD_DEFINED__
  54.  
  55. #ifdef __cplusplus
  56. typedef class CORSvc CORSvc;
  57. #else
  58. typedef struct CORSvc CORSvc;
  59. #endif /* __cplusplus */
  60.  
  61. #endif     /* __CORSvc_FWD_DEFINED__ */
  62.  
  63.  
  64. /* header files for imported files */
  65. #include "wtypes.h"
  66. #include "unknwn.h"
  67.  
  68. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  69. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  70.  
  71. /* interface __MIDL_itf_corsvc_0000 */
  72. /* [local] */ 
  73.  
  74. #if 0
  75. typedef int LONG32;
  76.  
  77. typedef int __RPC_FAR *PLONG32;
  78.  
  79. typedef int INT32;
  80.  
  81. typedef int __RPC_FAR *PINT32;
  82.  
  83. typedef unsigned int ULONG32;
  84.  
  85. typedef unsigned int __RPC_FAR *PULONG32;
  86.  
  87. typedef unsigned int DWORD32;
  88.  
  89. typedef unsigned int __RPC_FAR *PDWORD32;
  90.  
  91. typedef unsigned int UINT32;
  92.  
  93. typedef unsigned int __RPC_FAR *PUINT32;
  94.  
  95. typedef long INT_PTR;
  96.  
  97. typedef long __RPC_FAR *PINT_PTR;
  98.  
  99. typedef unsigned long UINT_PTR;
  100.  
  101. typedef unsigned long __RPC_FAR *PUINT_PTR;
  102.  
  103. typedef unsigned short UHALF_PTR;
  104.  
  105. typedef unsigned short __RPC_FAR *PUHALF_PTR;
  106.  
  107. typedef short HALF_PTR;
  108.  
  109. typedef short __RPC_FAR *PHALF_PTR;
  110.  
  111. typedef UINT_PTR SIZE_T;
  112.  
  113. typedef UINT_PTR __RPC_FAR *PSIZE_T;
  114.  
  115. typedef INT_PTR SSIZE_T;
  116.  
  117. typedef INT_PTR __RPC_FAR *PSSIZE_T;
  118.  
  119. typedef __int64 LONG64;
  120.  
  121. typedef __int64 __RPC_FAR *PLONG64;
  122.  
  123. typedef __int64 INT64;
  124.  
  125. typedef __int64 __RPC_FAR *PINT64;
  126.  
  127. typedef unsigned __int64 ULONG64;
  128.  
  129. typedef unsigned __int64 __RPC_FAR *PULONG64;
  130.  
  131. typedef unsigned __int64 DWORD64;
  132.  
  133. typedef unsigned __int64 __RPC_FAR *PDWORD64;
  134.  
  135. typedef unsigned __int64 UINT64;
  136.  
  137. typedef unsigned __int64 __RPC_FAR *PUINT64;
  138.  
  139. #endif
  140.  
  141.  
  142.  
  143.  
  144. extern RPC_IF_HANDLE __MIDL_itf_corsvc_0000_v0_0_c_ifspec;
  145. extern RPC_IF_HANDLE __MIDL_itf_corsvc_0000_v0_0_s_ifspec;
  146.  
  147. #ifndef __ICORSvcDbgInfo_INTERFACE_DEFINED__
  148. #define __ICORSvcDbgInfo_INTERFACE_DEFINED__
  149.  
  150. /* interface ICORSvcDbgInfo */
  151. /* [unique][uuid][object] */ 
  152.  
  153.  
  154. EXTERN_C const IID IID_ICORSvcDbgInfo;
  155.  
  156. #if defined(__cplusplus) && !defined(CINTERFACE)
  157.     
  158.     MIDL_INTERFACE("B4BCA369-27F4-4f1b-A024-B0264117FE53")
  159.     ICORSvcDbgInfo : public IUnknown
  160.     {
  161.     public:
  162.         virtual HRESULT STDMETHODCALLTYPE RequestRuntimeStartupNotification( 
  163.             /* [in] */ UINT_PTR procId,
  164.             /* [in] */ ICORSvcDbgNotify __RPC_FAR *pINotify) = 0;
  165.         
  166.     };
  167.     
  168. #else     /* C style interface */
  169.  
  170.     typedef struct ICORSvcDbgInfoVtbl
  171.     {
  172.         BEGIN_INTERFACE
  173.         
  174.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  175.             ICORSvcDbgInfo __RPC_FAR * This,
  176.             /* [in] */ REFIID riid,
  177.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  178.         
  179.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  180.             ICORSvcDbgInfo __RPC_FAR * This);
  181.         
  182.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  183.             ICORSvcDbgInfo __RPC_FAR * This);
  184.         
  185.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestRuntimeStartupNotification )( 
  186.             ICORSvcDbgInfo __RPC_FAR * This,
  187.             /* [in] */ UINT_PTR procId,
  188.             /* [in] */ ICORSvcDbgNotify __RPC_FAR *pINotify);
  189.         
  190.         END_INTERFACE
  191.     } ICORSvcDbgInfoVtbl;
  192.  
  193.     interface ICORSvcDbgInfo
  194.     {
  195.         CONST_VTBL struct ICORSvcDbgInfoVtbl __RPC_FAR *lpVtbl;
  196.     };
  197.  
  198.     
  199.  
  200. #ifdef COBJMACROS
  201.  
  202.  
  203. #define ICORSvcDbgInfo_QueryInterface(This,riid,ppvObject)    \
  204.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  205.  
  206. #define ICORSvcDbgInfo_AddRef(This)    \
  207.     (This)->lpVtbl -> AddRef(This)
  208.  
  209. #define ICORSvcDbgInfo_Release(This)    \
  210.     (This)->lpVtbl -> Release(This)
  211.  
  212.  
  213. #define ICORSvcDbgInfo_RequestRuntimeStartupNotification(This,procId,pINotify)    \
  214.     (This)->lpVtbl -> RequestRuntimeStartupNotification(This,procId,pINotify)
  215.  
  216. #endif /* COBJMACROS */
  217.  
  218.  
  219. #endif     /* C style interface */
  220.  
  221.  
  222.  
  223. HRESULT STDMETHODCALLTYPE ICORSvcDbgInfo_RequestRuntimeStartupNotification_Proxy( 
  224.     ICORSvcDbgInfo __RPC_FAR * This,
  225.     /* [in] */ UINT_PTR procId,
  226.     /* [in] */ ICORSvcDbgNotify __RPC_FAR *pINotify);
  227.  
  228.  
  229. void __RPC_STUB ICORSvcDbgInfo_RequestRuntimeStartupNotification_Stub(
  230.     IRpcStubBuffer *This,
  231.     IRpcChannelBuffer *_pRpcChannelBuffer,
  232.     PRPC_MESSAGE _pRpcMessage,
  233.     DWORD *_pdwStubPhase);
  234.  
  235.  
  236.  
  237. #endif     /* __ICORSvcDbgInfo_INTERFACE_DEFINED__ */
  238.  
  239.  
  240. #ifndef __ICORSvcDbgNotify_INTERFACE_DEFINED__
  241. #define __ICORSvcDbgNotify_INTERFACE_DEFINED__
  242.  
  243. /* interface ICORSvcDbgNotify */
  244. /* [unique][uuid][object] */ 
  245.  
  246.  
  247. EXTERN_C const IID IID_ICORSvcDbgNotify;
  248.  
  249. #if defined(__cplusplus) && !defined(CINTERFACE)
  250.     
  251.     MIDL_INTERFACE("34C71F55-F3D8-4ACF-84F4-4E86BBD5AEBC")
  252.     ICORSvcDbgNotify : public IUnknown
  253.     {
  254.     public:
  255.         virtual HRESULT STDMETHODCALLTYPE NotifyRuntimeStartup( 
  256.             /* [in] */ UINT_PTR procId) = 0;
  257.         
  258.         virtual HRESULT STDMETHODCALLTYPE NotifyServiceStopped( void) = 0;
  259.         
  260.     };
  261.     
  262. #else     /* C style interface */
  263.  
  264.     typedef struct ICORSvcDbgNotifyVtbl
  265.     {
  266.         BEGIN_INTERFACE
  267.         
  268.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  269.             ICORSvcDbgNotify __RPC_FAR * This,
  270.             /* [in] */ REFIID riid,
  271.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  272.         
  273.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  274.             ICORSvcDbgNotify __RPC_FAR * This);
  275.         
  276.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  277.             ICORSvcDbgNotify __RPC_FAR * This);
  278.         
  279.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NotifyRuntimeStartup )( 
  280.             ICORSvcDbgNotify __RPC_FAR * This,
  281.             /* [in] */ UINT_PTR procId);
  282.         
  283.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NotifyServiceStopped )( 
  284.             ICORSvcDbgNotify __RPC_FAR * This);
  285.         
  286.         END_INTERFACE
  287.     } ICORSvcDbgNotifyVtbl;
  288.  
  289.     interface ICORSvcDbgNotify
  290.     {
  291.         CONST_VTBL struct ICORSvcDbgNotifyVtbl __RPC_FAR *lpVtbl;
  292.     };
  293.  
  294.     
  295.  
  296. #ifdef COBJMACROS
  297.  
  298.  
  299. #define ICORSvcDbgNotify_QueryInterface(This,riid,ppvObject)    \
  300.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  301.  
  302. #define ICORSvcDbgNotify_AddRef(This)    \
  303.     (This)->lpVtbl -> AddRef(This)
  304.  
  305. #define ICORSvcDbgNotify_Release(This)    \
  306.     (This)->lpVtbl -> Release(This)
  307.  
  308.  
  309. #define ICORSvcDbgNotify_NotifyRuntimeStartup(This,procId)    \
  310.     (This)->lpVtbl -> NotifyRuntimeStartup(This,procId)
  311.  
  312. #define ICORSvcDbgNotify_NotifyServiceStopped(This)    \
  313.     (This)->lpVtbl -> NotifyServiceStopped(This)
  314.  
  315. #endif /* COBJMACROS */
  316.  
  317.  
  318. #endif     /* C style interface */
  319.  
  320.  
  321.  
  322. HRESULT STDMETHODCALLTYPE ICORSvcDbgNotify_NotifyRuntimeStartup_Proxy( 
  323.     ICORSvcDbgNotify __RPC_FAR * This,
  324.     /* [in] */ UINT_PTR procId);
  325.  
  326.  
  327. void __RPC_STUB ICORSvcDbgNotify_NotifyRuntimeStartup_Stub(
  328.     IRpcStubBuffer *This,
  329.     IRpcChannelBuffer *_pRpcChannelBuffer,
  330.     PRPC_MESSAGE _pRpcMessage,
  331.     DWORD *_pdwStubPhase);
  332.  
  333.  
  334. HRESULT STDMETHODCALLTYPE ICORSvcDbgNotify_NotifyServiceStopped_Proxy( 
  335.     ICORSvcDbgNotify __RPC_FAR * This);
  336.  
  337.  
  338. void __RPC_STUB ICORSvcDbgNotify_NotifyServiceStopped_Stub(
  339.     IRpcStubBuffer *This,
  340.     IRpcChannelBuffer *_pRpcChannelBuffer,
  341.     PRPC_MESSAGE _pRpcMessage,
  342.     DWORD *_pdwStubPhase);
  343.  
  344.  
  345.  
  346. #endif     /* __ICORSvcDbgNotify_INTERFACE_DEFINED__ */
  347.  
  348.  
  349.  
  350. #ifndef __CORSvcLib_LIBRARY_DEFINED__
  351. #define __CORSvcLib_LIBRARY_DEFINED__
  352.  
  353. /* library CORSvcLib */
  354. /* [helpstring][version][uuid] */ 
  355.  
  356.  
  357. EXTERN_C const IID LIBID_CORSvcLib;
  358.  
  359. EXTERN_C const CLSID CLSID_CORSvc;
  360.  
  361. #ifdef __cplusplus
  362.  
  363. class DECLSPEC_UUID("20BC1828-06F0-11d2-8CF4-00A0C9B0A063")
  364. CORSvc;
  365. #endif
  366. #endif /* __CORSvcLib_LIBRARY_DEFINED__ */
  367.  
  368. /* Additional Prototypes for ALL interfaces */
  369.  
  370. /* end of Additional Prototypes */
  371.  
  372. #ifdef __cplusplus
  373. }
  374. #endif
  375.  
  376. #endif
  377.