Platform SDK: SMTP Server Events

ShieldsUp.idl

[This is preliminary documentation and subject to change.]

import "oaidl.idl";
import "ocidl.idl";
   [
      object,
      uuid(BF236423-33D7-4E21-9AA3-E30202EC798B),
      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(71DD77FE-B698-43DD-BD6F-3406429240E8),
   version(1.0),
   helpstring("ShieldsUp 1.0 Type Library")
]
library SHIELDSUPLib
{
   importlib("stdole32.tlb");
   importlib("stdole2.tlb");

   [
      uuid(331B3DFD-929D-48D9-87A2-59428CD5DF71),
      helpstring("Sink Class")
   ]
   coclass Sink
   {
      [default] interface ISink;
   };
};