Platform SDK: SMTP Server Events

Archiver.idl

[This is preliminary documentation and subject to change.]

// This file will be processed by the MIDL tool to
// produce the type library (Archiver.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
   [
      object,
      uuid(4CF019C0-69DE-4620-89CE-0FC7E7836F5F),
      dual,
      helpstring("ISink Interface"),
      pointer_default(unique)
   ]
   interface ISink : IDispatch
   {
      [id(1), helpstring("method RegisterSink")] HRESULT RegisterSink([in] long lInstance, [in] BSTR DisplayName, [in] BSTR BindingGUID, [in] BSTR ResponseText, [in] VARIANT_BOOL fEnabled, [out,retval] BSTR* OutBindingGUID);
      [id(2), helpstring("method UnRegisterSink")] HRESULT UnRegisterSink([in] long lInstance, [in] BSTR BindingGUID);
   };

[
   uuid(55DE6476-93F2-4987-8E9B-5C21A9EB6355),
   version(1.0),
   helpstring("Archiver 1.0 Type Library")
]
library ARCHIVERLib
{
   importlib("stdole32.tlb");
   importlib("stdole2.tlb");

   [
      uuid(4417AD91-2BB8-4447-8028-6B660A2C6AB0),
      helpstring("Sink Class")
   ]
   coclass Sink
   {
      [default] interface ISink;
   };
};