Rewritten DMPluginIntf.pas, true or not, I do not know
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
struct __declspec(uuid("b412b405-0578-4b99-bb06-368cda0b2f8c"))
IDMInterface : IUnknown
{
virtual HRESULT __stdcall DoAction ( BSTR action,
BSTR parameters,
BSTR * pVal ) = 0;
}
struct __declspec(uuid("959cd0d3-83fd-40f7-a75a-e5c6500b58df"))
IDMPlugIn : IUnknown
{
virtual HRESULT __stdcall getID ( BSTR * pVal ) = 0;
virtual HRESULT __stdcall GetName ( BSTR * pVal ) = 0;
virtual HRESULT __stdcall GetVersion ( BSTR * pVal ) = 0;
virtual HRESULT __stdcall GetDescription ( BSTR language,
BSTR * pVal ) = 0;
virtual HRESULT __stdcall GetEmail ( BSTR * pVal ) = 0;
virtual HRESULT __stdcall GetHomepage ( BSTR * pVal ) = 0;
virtual HRESULT __stdcall GetCopyright ( BSTR * pVal ) = 0;
virtual HRESULT __stdcall GetMinAppVersion ( BSTR * pVal ) = 0;
virtual HRESULT __stdcall PluginInit ( IDmInterface * _IDmInterface ) = 0;
virtual HRESULT __stdcall PluginConfigure ( BSTR params ) = 0;
virtual HRESULT __stdcall BeforeUnload ( ) = 0;
virtual HRESULT __stdcall EventRaised ( BSTR eventType,
BSTR eventData,
BSTR * pVal ) = 0;
}
#pragma pack(pop)