home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / ivehandler.idl < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.8 KB  |  71 lines

  1. /* ------------------------------------------------------------------------- *
  2.  * COM+ Runtime Verification Event Handler Interface
  3.  * (C) 1999 Microsoft
  4.  * ------------------------------------------------------------------------- */
  5.  
  6. /* ------------------------------------------------------------------------- *
  7.  * Imported types
  8.  * ------------------------------------------------------------------------- */
  9.  
  10. #ifndef DO_NO_IMPORTS
  11.  
  12. import "unknwn.idl";
  13.  
  14. #define _VER_RAW_STRUCT_FOR_IDL_
  15. #include "VerError.h"
  16. #undef _VER_RAW_STRUCT_FOR_IDL_
  17.  
  18. #endif
  19.  
  20. typedef _VerError VEContext;
  21.  
  22. /* ------------------------------------------------------------------------- *
  23.  * Forward declarations
  24.  * ------------------------------------------------------------------------- */
  25.  
  26. interface IVEHandler;
  27.  
  28.  
  29. /* ------------------------------------------------------------------------- *
  30.  * Library defintion
  31.  * ------------------------------------------------------------------------- */
  32.  
  33. [
  34.   uuid(856CA1B0-7DAB-11d3-ACEC-00C04F86C309),
  35.   version(1.0),
  36.   helpstring("Com+ Runtime Verification Event Handler 1.0 Type Library")
  37. ]
  38. library VEHandlerLib
  39. {
  40.     importlib("STDOLE2.TLB");
  41.  
  42.     [
  43.         uuid(856CA1B1-7DAB-11d3-ACEC-00C04F86C309)
  44.     ]
  45.     coclass VEHandlerClass
  46.     {
  47.         [default] interface IVEHandler;
  48.     };
  49.     
  50. };
  51.  
  52. /* ------------------------------------------------------------------------- *
  53.  * IVEHandler interface
  54.  * ------------------------------------------------------------------------- */
  55. [
  56.  object,
  57.  uuid(856CA1B2-7DAB-11d3-ACEC-00C04F86C309),
  58.  pointer_default(unique)
  59. ]
  60. interface IVEHandler : IUnknown
  61. {
  62.     HRESULT VEHandler(
  63.             [in] HRESULT VECode,
  64.             [in] VEContext Context,
  65.             [in] SAFEARRAY(VARIANT) psa);
  66.     HRESULT SetReporterFtn(
  67.             [in] long lFnPtr);
  68.  
  69. };
  70.  
  71.