622 lines
28 KiB
Plaintext
622 lines
28 KiB
Plaintext
// SLNKDWF.idl : IDL source for SLNKDWF
|
|
//
|
|
|
|
// This file will be processed by the MIDL tool to
|
|
// produce the type library (SLNKDWF.tlb) and marshalling code.
|
|
|
|
#include "olectl.h"
|
|
import "oaidl.idl";
|
|
import "ocidl.idl";
|
|
|
|
|
|
interface IEPlotSection;
|
|
interface IEPlotSections;
|
|
interface ISLNKEvent;
|
|
interface IBoundingBox;
|
|
interface IDWGPoint;
|
|
interface ISLNKSymbol;
|
|
interface ISLNKContour;
|
|
//interface IChild;
|
|
//interface ISubChild;
|
|
|
|
[
|
|
object,
|
|
uuid(3C57EFD2-B1A1-4B70-A6B2-14D05401F458),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IDWFFile Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IDWFFile : IDispatch{
|
|
[id(1), helpstring("method Open")] HRESULT Open(BSTR DWFPath);
|
|
[id(2), helpstring("method Create")] HRESULT Create(BSTR DWFPath, [in, optional] VARIANT DWFFile);
|
|
[id(3), helpstring("method CreateEPlotSection")] HRESULT CreateEPlotSection(BSTR W2DPath, [in] VARIANT EPlotStreamTemplate, [out, retval] LONG *pVal);
|
|
[id(4), helpstring("method Save")] HRESULT Save();
|
|
[propget, id(9), helpstring("property PropertiesXML")] HRESULT PropertiesXML([out, retval] BSTR* pVal);
|
|
[propget, id(10), helpstring("property EPlotSections")] HRESULT EPlotSections([out, retval] IEPlotSections **ppEPlotSections);
|
|
};
|
|
[
|
|
object,
|
|
uuid(B0C6AC9F-3D1E-4489-9CE9-436A220ED12F),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IWhipFile Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IWhipFile : IDispatch{
|
|
[id(1), helpstring("method Load")] HRESULT Load([in] BSTR WhipPath);
|
|
[id(2), helpstring("method LoadStream")] HRESULT LoadStream([in] VARIANT EPlotStream);
|
|
[id(3), helpstring("method SaveAs")] HRESULT SaveAs([in] BSTR WhipPath);
|
|
[id(6), helpstring("method HighlightUnrecognized")] HRESULT HighlightUnrecognized();
|
|
[id(8), helpstring("method SetLabelFont")] HRESULT SetLabelFont([in] BSTR FontName, [in] DOUBLE FontHeight, [in, defaultvalue(0)] DOUBLE FontHeightSymbols);
|
|
[id(9), helpstring("method SetLabelPosition")] HRESULT SetLabelPosition([in, defaultvalue(1)] BYTE LabelPos);
|
|
[id(12), helpstring("method SetLayers")] HRESULT SetLayers([in] BSTR reContouren, [in] BSTR reLabels);
|
|
[propget, id(14), helpstring("property AddSymbol")] HRESULT AddSymbol([in] DOUBLE dwgX, [in] DOUBLE dwgY, BSTR symbolName, [out, retval] ISLNKSymbol** pVal);
|
|
[id(15), helpstring("method DefineSymbol")] HRESULT DefineSymbol([in] BSTR symbolName, [in] VARIANT EPlotStream, [out, retval] ISLNKContour** pContour);
|
|
[id(26), helpstring("method DefineW2DSymbol")] HRESULT DefineW2DSymbol([in] BSTR symbolName, [in] BSTR W2Dfilepath, [out, retval] ISLNKContour** pContour);
|
|
[id(16), helpstring("method DefineBitmapSymbol")] HRESULT DefineBitmapSymbol([in] BSTR symbolName, [in] BSTR symbolPath, [in] DOUBLE height);
|
|
[propget, id(17), helpstring("property Contour")] HRESULT Contour([in] BSTR IdentLabel, [out, retval] ISLNKContour** pVal);
|
|
[id(18), helpstring("method SetFilterLayers")] HRESULT SetFilterLayers([in] BSTR reLayers);
|
|
[propget, id(19), helpstring("property hintScale")] HRESULT hintScale([out, retval] DOUBLE* pVal);
|
|
[propput, id(19), helpstring("property hintScale")] HRESULT hintScale([in] DOUBLE newVal);
|
|
[propget, id(20), helpstring("property FindInContour")] HRESULT FindInContour([in] DOUBLE dwgX, [in] DOUBLE dwgY, [out, retval] BSTR* pVal);
|
|
[propput, id(21), helpstring("property forFind")] HRESULT forFind([in] VARIANT_BOOL newVal);
|
|
[propget, id(22), helpstring("property ContourCount")] HRESULT ContourCount([out, retval] LONG* pVal);
|
|
[propget, id(23), helpstring("property ContourItem")] HRESULT ContourItem([in] ULONG i, [out, retval] ISLNKContour** pVal);
|
|
[propget, id(24), helpstring("property minContSize")] HRESULT minContSize([out, retval] DOUBLE* pVal);
|
|
[propput, id(24), helpstring("property minContSize")] HRESULT minContSize([in] DOUBLE newVal);
|
|
[propget, id(25), helpstring("property AddContour")] HRESULT AddContour([out, retval] ISLNKContour** pVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(FB9CAA9B-CA0A-4BF0-AA2C-47579BEFA214),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IWhip2PNG Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IWhip2PNG : IDispatch{
|
|
[id(1), helpstring("method Load")] HRESULT Load([in] BSTR WhipPath);
|
|
[id(2), helpstring("method SaveAsPng")] HRESULT SaveAsPNG([in] BSTR PNGPath);
|
|
[id(3), helpstring("method SaveAsWMF")] HRESULT SaveAsWMF([in] BSTR WMFPath);
|
|
[id(4), helpstring("method Find")] HRESULT Find([in] LONG findX, [in] LONG findY, [out, retval] BSTR* foundLabel);
|
|
[id(5), helpstring("method SetDimensions")] HRESULT SetDimensions([in] LONG sizeX,
|
|
[in] LONG sizeY, [in] LONG offsetX, [in] LONG offsetY, [in] DOUBLE dScale, [in, defaultvalue(0)] LONG lRotation);
|
|
[id(6), helpstring("method GetAsMap")] HRESULT GetAsMap( [out, retval] BSTR* AsMap);
|
|
// [id(7), helpstring("method FindCoords")] HRESULT FindCoords([in] LONG findX, [in] LONG findY, [out] VARIANT* dwgX, [out] VARIANT* dwgY);
|
|
[propget, id(8), helpstring("property AtlRegExp")] HRESULT AtlRegExp([in] BSTR RegExp, [in] BSTR TestExp, [out, retval] BSTR* pVal);
|
|
[id(9), helpstring("method TextAsPNG")] HRESULT TextAsPNG(BSTR Message, [out, retval] VARIANT *ImageData);
|
|
[id(10), helpstring("property GetAsPNG")] HRESULT GetAsPNG([out, retval] VARIANT *ImageData);
|
|
[id(11), helpstring("property GetAsTransGIF")] HRESULT GetAsTransGIF([out, retval] VARIANT *ImageData);
|
|
[id(12), helpstring("method LoadStream")] HRESULT LoadStream([in] VARIANT DWFStream);
|
|
[id(13), helpstring("method SetLayers")] HRESULT SetLayers([in] BSTR RegExp);
|
|
[propget, id(14), helpstring("property forceBW2")] HRESULT forceBW([out, retval] VARIANT_BOOL* pVal);
|
|
[propput, id(14), helpstring("property forceBW2")] HRESULT forceBW([in] VARIANT_BOOL newVal);
|
|
[propget, id(15), helpstring("property SLNKEvent")] HRESULT SLNKEvent([out, retval] ISLNKEvent** pVal);
|
|
[propget, id(16), helpstring("property paperColor")] HRESULT paperColor([out, retval] LONG* pVal);
|
|
[propput, id(16), helpstring("property paperColor")] HRESULT paperColor([in] LONG newVal);
|
|
[id(17), helpstring("method ReplaceColor")] HRESULT ReplaceColor([in] LONG paperColor, [in] LONG oldColor, [in] LONG newColor);
|
|
[propget, id(18), helpstring("property Maximize")] HRESULT Maximize([out, retval] VARIANT_BOOL* pVal);
|
|
[propput, id(18), helpstring("property Maximize")] HRESULT Maximize([in] VARIANT_BOOL newVal);
|
|
[propget, id(19), helpstring("property dwgScale")] HRESULT dwgScale([out, retval] DOUBLE* pVal);
|
|
[propput, id(19), helpstring("property dwgScale")] HRESULT dwgScale([in] DOUBLE newVal);
|
|
[propget, id(21), helpstring("property forceGray")] HRESULT forceGray([out, retval] VARIANT_BOOL* pVal);
|
|
[propput, id(21), helpstring("property forceGray")] HRESULT forceGray([in] VARIANT_BOOL newVal);
|
|
[propget, id(22), helpstring("property LayerCount")] HRESULT LayerCount([out, retval] LONG* pVal);
|
|
[propget, id(23), helpstring("property LayerItem")] HRESULT LayerItem([in] ULONG i, [out, retval] BSTR* pVal);
|
|
[id(24), helpstring("method SetAntialias")] HRESULT SetAntialias([in] LONG lFactor, [in, defaultvalue(0)] LONG lMethod);
|
|
};
|
|
[
|
|
object,
|
|
uuid(68FBB9BF-FD4C-42D4-9670-459CCF7480BE),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IAbout Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IAbout : IDispatch{
|
|
[propget, id(1), helpstring("property All")] HRESULT All([out, retval] BSTR* pVal);
|
|
[propget, id(2), helpstring("property DLLPath")] HRESULT DLLPath([out, retval] BSTR* pVal);
|
|
[propget, id(3), helpstring("property Buildtime")] HRESULT Buildtime([out, retval] BSTR* pVal);
|
|
[propget, id(4), helpstring("property UserContext")] HRESULT UserContext([out, retval] BSTR* pVal);
|
|
[propget, id(5), helpstring("property VersionMajor")] HRESULT VersionMajor([out, retval] LONG* pVal);
|
|
[propget, id(6), helpstring("property VersionMinor")] HRESULT VersionMinor([out, retval] LONG* pVal);
|
|
[propget, id(7), helpstring("property VersionString")] HRESULT VersionString([out, retval] BSTR* pVal);
|
|
[propget, id(8), helpstring("property usTimer")] HRESULT usTimer([out, retval] DOUBLE* pVal);
|
|
[id(9), helpstring("method Sleep")] HRESULT Sleep([in] LONG millisec);
|
|
};
|
|
[
|
|
object,
|
|
uuid(99560CEF-C2CE-4CB3-AE7F-6AD6CE72CC97),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IEPlotSection Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IEPlotSection : IDispatch{
|
|
// [id(1), helpstring("method Init"),hidden] HRESULT Init([in] long *ptr);
|
|
// [id(2), helpstring("method GetEPlotSection"),hidden] HRESULT GetEPlotSection([out] long **ptr);
|
|
[propget, helpstring("My Parent")] HRESULT Parent([out, retval] IEPlotSections **ppParent);
|
|
[propget, id(3), helpstring("property Name")] HRESULT Name([out, retval] BSTR* pVal);
|
|
[propget, id(4), helpstring("property Title")] HRESULT Title([out, retval] BSTR* pVal);
|
|
[id(5), helpstring("Add Property")] HRESULT AddProperty(BSTR pCategory, BSTR pName, BSTR pVal);
|
|
[local]
|
|
[id(6), helpstring("method Read")] HRESULT
|
|
Read([out, size_is(cb), length_is(*pcbRead)]void *pv, [in]ULONG cb, [out]ULONG *pcbRead);
|
|
[local]
|
|
[id(7), helpstring("method Write")] HRESULT
|
|
Write([in, size_is(cb)] const void *pv, [in]ULONG cb, [out]ULONG *pcbWritten);
|
|
[propget, id(8), helpstring("property PaperColor")] HRESULT PaperColor([out, retval] ULONG* pVal);
|
|
[id(9), helpstring("method Open")] HRESULT Open([in]BOOL bForWrite);
|
|
[id(10), helpstring("method Close")] HRESULT Close(void);
|
|
[propget, id(11), helpstring("property SourceDescription")] HRESULT SourceDescription([out, retval] BSTR* pVal);
|
|
[propget, id(12), helpstring("property PropertiesXML")] HRESULT PropertiesXML([out, retval] BSTR* pVal);
|
|
[propget, id(13), helpstring("property PaperClipWidth")] HRESULT PaperClipWidth([out, retval] DOUBLE* pVal);
|
|
[propget, id(14), helpstring("property EPlotSectionImpl"), hidden] HRESULT EPlotSectionImpl([out, retval] /*CEPlotSectionImpl*/BYTE ** pVal);
|
|
[propput, id(14), helpstring("property EPlotSectionImpl"), hidden] HRESULT EPlotSectionImpl([in] /*CEPlotSectionImpl*/ BYTE * newVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(32292BE4-2ACB-4BDD-AF3C-DF91ADD4EF36),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IEPlotSections Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IEPlotSections : IDispatch{
|
|
[propget, helpstring("My Parent")] HRESULT Parent([out, retval] IDWFFile **ppParent);
|
|
[propget, id(1), helpstring("property Count")] HRESULT Count([out, retval] LONG* pVal);
|
|
[propget, id(2), helpstring("property Item")] HRESULT Item([in] LONG i, [out, retval] IEPlotSection** pVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(BA3EEF9F-BEB1-4478-870B-3E274AF8506A),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("ISLNKEvent Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface ISLNKEvent : IDispatch{
|
|
[propget, id(1), helpstring("property DwgX")] HRESULT DwgX([out, retval] DOUBLE* pVal);
|
|
[propput, id(1), helpstring("property DwgX")] HRESULT DwgX([in] DOUBLE newVal);
|
|
[propget, id(2), helpstring("property DwgY")] HRESULT DwgY([out, retval] DOUBLE* pVal);
|
|
[propput, id(2), helpstring("property DwgY")] HRESULT DwgY([in] DOUBLE newVal);
|
|
[propget, id(8), helpstring("property ContourLayer")] HRESULT ContourLayer([out, retval] BSTR* pVal);
|
|
[propput, id(8), helpstring("property ContourLayer")] HRESULT ContourLayer([in] BSTR newVal);
|
|
[propget, id(9), helpstring("property TextLabel")] HRESULT TextLabel([out, retval] BSTR* pVal);
|
|
[propput, id(9), helpstring("property TextLabel")] HRESULT TextLabel([in] BSTR newVal);
|
|
[propget, id(10), helpstring("property TextLayer")] HRESULT TextLayer([out, retval] BSTR* pVal);
|
|
[propput, id(10), helpstring("property TextLayer")] HRESULT TextLayer([in] BSTR newVal);
|
|
[propget, id(11), helpstring("property found")] HRESULT found([out, retval] IDWGPoint** pVal);
|
|
[propget, id(12), helpstring("property dwgExtents")] HRESULT dwgExtents([out, retval] IBoundingBox** pVal);
|
|
[propget, id(13), helpstring("property viewExtents")] HRESULT viewExtents([out, retval] IBoundingBox** pVal);
|
|
[propget, id(14), helpstring("property EdgeAngle")] HRESULT EdgeAngle([out, retval] DOUBLE* pVal);
|
|
[propput, id(14), helpstring("property EdgeAngle")] HRESULT EdgeAngle([in] DOUBLE newVal);
|
|
[propget, id(15), helpstring("property EdgeDistance")] HRESULT EdgeDistance([out, retval] DOUBLE* pVal);
|
|
[propput, id(15), helpstring("property EdgeDistance")] HRESULT EdgeDistance([in] DOUBLE newVal);
|
|
[propget, id(16), helpstring("property ContourKey")] HRESULT ContourKey([out, retval] BSTR* pVal);
|
|
[propput, id(16), helpstring("property ContourKey")] HRESULT ContourKey([in] BSTR newVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(102FE53F-3C9A-47C6-9BAD-1434838FF53D),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IBoundingBox Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IBoundingBox : IDispatch{
|
|
[propget, id(1), helpstring("property min")] HRESULT min([out, retval] IDWGPoint** pVal);
|
|
[propget, id(2), helpstring("property max")] HRESULT max([out, retval] IDWGPoint** pVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(C5678016-EF7B-4476-966E-8AFD4514DB2A),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IDWGPoint Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IDWGPoint : IDispatch{
|
|
[propget, id(1), helpstring("property DwgX")] HRESULT DwgX([out, retval] DOUBLE* pVal);
|
|
[propput, id(1), helpstring("property DwgX")] HRESULT DwgX([in] DOUBLE newVal);
|
|
[propget, id(2), helpstring("property DwgY")] HRESULT DwgY([out, retval] DOUBLE* pVal);
|
|
[propput, id(2), helpstring("property DwgY")] HRESULT DwgY([in] DOUBLE newVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(A505B2D9-4D41-411F-B2A7-B297AA399278),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("ISLNKContour Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface ISLNKContour : IDispatch{
|
|
[id(1), helpstring("method SetColor")] HRESULT SetColor([in] ULONG rgb, [in, defaultvalue(255)] BYTE Alpha);
|
|
[id(2), helpstring("method SetoutlineColor")] HRESULT SetoutlineColor([in] ULONG rgb, [in, defaultvalue(255)] BYTE Alpha);
|
|
[id(3), helpstring("method SetUrl")] HRESULT SetUrl([in] BSTR Url, [in] BSTR FriendlyName);
|
|
[id(4), helpstring("method MoveTop")] HRESULT MoveTop();
|
|
[propget, id(5), helpstring("property Area")] HRESULT Area([out, retval] DOUBLE* pVal);
|
|
[propget, id(6), helpstring("property Extents")] HRESULT Extents([out, retval] IBoundingBox ** pVal);
|
|
[propget, id(7), helpstring("property Center")] HRESULT Center([out, retval] IDWGPoint** pVal);
|
|
[propget, id(8), helpstring("property Key")] HRESULT Key([out, retval] BSTR* pVal);
|
|
[propput, id(8), helpstring("property Key")] HRESULT Key([in] BSTR newVal);
|
|
[propget, id(9), helpstring("property Label")] HRESULT Label([out, retval] BSTR* pVal);
|
|
[propput, id(9), helpstring("property Label")] HRESULT Label([in] BSTR newVal);
|
|
[propget, id(10), helpstring("property Hatch")] HRESULT Hatch([out, retval] BYTE* pVal);
|
|
[propput, id(10), helpstring("property Hatch")] HRESULT Hatch([in] BYTE newVal);
|
|
[propget, id(11), helpstring("property Lineweight")] HRESULT Lineweight([out, retval] DOUBLE* pVal);
|
|
[propput, id(11), helpstring("property Lineweight")] HRESULT Lineweight([in] DOUBLE newVal);
|
|
[propget, id(12), helpstring("property LabelPosition")] HRESULT Labelposition([out, retval] BYTE* pVal);
|
|
[propput, id(12), helpstring("property LabelPosition")] HRESULT Labelposition([in] BYTE pVal);
|
|
[propget, id(13), helpstring("property Fontheight")] HRESULT Fontheight([out, retval] DOUBLE* pVal);
|
|
[propput, id(13), helpstring("property Fontheight")] HRESULT Fontheight([in] DOUBLE pVal);
|
|
[id(14), helpstring("property AddPoint")] HRESULT AddPoint([in] DOUBLE pValX, [in] DOUBLE pValY);
|
|
[propget, id(15), helpstring("property PointCount")] HRESULT PointCount([out, retval] LONG* pVal);
|
|
[propget, id(16), helpstring("property PointItem")] HRESULT PointItem([in] ULONG i, [out, retval] IDWGPoint** pVal);
|
|
[propget, id(17), helpstring("property LabelRotation")] HRESULT LabelRotation([out, retval] DOUBLE* pVal);
|
|
[propput, id(17), helpstring("property LabelRotation")] HRESULT LabelRotation([in] DOUBLE pVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(FE75E3AB-5047-4CB6-A910-FF3156CB7946),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("ISLNKSymbol Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface ISLNKSymbol : IDispatch{
|
|
[propget, id(2), helpstring("property Scale")] HRESULT Scale([out, retval] DOUBLE* pVal);
|
|
[propput, id(2), helpstring("property Scale")] HRESULT Scale([in] DOUBLE newVal);
|
|
[propget, id(3), helpstring("property Rotation")] HRESULT Rotation([out, retval] LONG* pVal);
|
|
[propput, id(3), helpstring("property Rotation")] HRESULT Rotation([in] LONG newVal);
|
|
[propget, id(4), helpstring("property Contour")] HRESULT Contour([out, retval] ISLNKContour** pVal);
|
|
[id(5), helpstring("method SetColor")] HRESULT SetColor([in] ULONG rgb, [in, defaultvalue(255)] BYTE Alpha);
|
|
};
|
|
[
|
|
object,
|
|
uuid(FC848365-3C85-490D-8CC0-DB66D73FA34E),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IOptions Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IOptions : IDispatch{
|
|
[id(1), helpstring("method SetOption")] HRESULT SetOption([in] BSTR optionName, VARIANT OptionValue);
|
|
};
|
|
[
|
|
object,
|
|
uuid(01C19AF8-073E-40E2-843F-25A2C6C4E274),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IZip Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IZip : IDispatch{
|
|
[id(1), helpstring("method Open")] HRESULT Open([in] BSTR ZIPPath);
|
|
[id(2), helpstring("method New")] HRESULT New(BSTR ZipPath);
|
|
[id(3), helpstring("method UnzipToStream")] HRESULT UnzipToStream([in] VARIANT pVal, [in]BSTR filepath, [in, defaultvalue(L"")] BSTR Password);
|
|
[id(4), helpstring("method DecryptToStream")] HRESULT DecryptToStream([in] VARIANT pVal, [in]BSTR filepath);
|
|
[id(5), helpstring("method ZipFromString")] HRESULT ZipFromString([in] BSTR filepath, [in] BSTR data, [in, defaultvalue(L"")] BSTR Password);
|
|
[id(6), helpstring("method ZipFromStream")] HRESULT ZipFromStream([in] BSTR filepath, [in] VARIANT pVal, [in, defaultvalue(L"")] BSTR Password);
|
|
[id(7), helpstring("method EncryptFromString")] HRESULT EncryptFromString([in] BSTR filepath, [in] BSTR data);
|
|
[id(8), helpstring("method Close")] HRESULT Close(void);
|
|
[id(9), helpstring("method FileToHexStream")] HRESULT FileToHexStream([in] BSTR filepath, [in] VARIANT pStream);
|
|
};
|
|
[
|
|
object,
|
|
uuid(82E1A85A-80AD-422D-93E4-683B2E91559A),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IWhipCleaner Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IWhipCleaner : IDispatch{
|
|
[id(1), helpstring("method LoadStream")] HRESULT LoadStream([in] VARIANT EPlotStream);
|
|
[id(2), helpstring("method SaveAs")] HRESULT SaveAs([in] BSTR WhipPath);
|
|
};
|
|
[
|
|
object,
|
|
uuid(0485E59C-15A0-44AB-B4B1-4D4DBC063681),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IImageConvert Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IImageConvert : IDispatch{
|
|
[id(1), helpstring("method Open")] HRESULT Open([in] BSTR IMGPath);
|
|
[id(2), helpstring("method SaveAs")] HRESULT SaveAs([in] BSTR IMGPath);
|
|
[propget, id(3), helpstring("property Height")] HRESULT Height([out, retval] LONG* pVal);
|
|
[propput, id(3), helpstring("property Height")] HRESULT Height([in] LONG newVal);
|
|
[propget, id(4), helpstring("property Width")] HRESULT Width([out, retval] LONG* pVal);
|
|
[propput, id(4), helpstring("property Width")] HRESULT Width([in] LONG newVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(634F98FE-270A-4777-9E8F-2B03EF551406),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IBarcode Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IBarcode : IDispatch{
|
|
[propget, id(1), helpstring("property Text")] HRESULT Text([out, retval] BSTR* pVal);
|
|
[propput, id(1), helpstring("property Text")] HRESULT Text([in] BSTR newVal);
|
|
[propget, id(3), helpstring("property Height")] HRESULT Height([out, retval] ULONG* pVal);
|
|
[propput, id(3), helpstring("property Height")] HRESULT Height([in] ULONG newVal);
|
|
[id(6), helpstring("method GetAsPNG3")] HRESULT GetAsPNG([out,retval] VARIANT* ImageData);
|
|
[propget, id(7), helpstring("property Narrow")] HRESULT Narrow([out, retval] ULONG* pVal);
|
|
[propput, id(7), helpstring("property Narrow")] HRESULT Narrow([in] ULONG newVal);
|
|
[propget, id(8), helpstring("property Wide")] HRESULT Wide([out, retval] ULONG* pVal);
|
|
[propput, id(8), helpstring("property Wide")] HRESULT Wide([in] ULONG newVal);
|
|
[propget, id(9), helpstring("property Width")] HRESULT Width([out, retval] ULONG* pVal);
|
|
[propget, id(10), helpstring("property Rotation")] HRESULT Rotation([out, retval] LONG* pVal);
|
|
[propput, id(10), helpstring("property Rotation")] HRESULT Rotation([in] LONG newVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(8442871A-AB7B-4F9E-8A5A-B06297E8821D),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IQRCode Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IQRCode : IDispatch{
|
|
[propget, id(1), helpstring("property Text")] HRESULT Text([out, retval] BSTR* pVal);
|
|
[propput, id(1), helpstring("property Text")] HRESULT Text([in] BSTR newVal);
|
|
[id(2), helpstring("method GetAsPNG")] HRESULT GetAsPNG([out, retval] VARIANT* ImageData);
|
|
[propget, id(3), helpstring("property Version")] HRESULT Version([out, retval] LONG* pVal);
|
|
[propput, id(3), helpstring("property Version")] HRESULT Version([in] LONG newVal);
|
|
[propget, id(4), helpstring("property Autoextend")] HRESULT Autoextend([out, retval] VARIANT_BOOL* pVal);
|
|
[propput, id(4), helpstring("property Autoextend")] HRESULT Autoextend([in] VARIANT_BOOL newVal);
|
|
[propget, id(5), helpstring("property Level")] HRESULT Level([out, retval] LONG* pVal);
|
|
[propput, id(5), helpstring("property Level")] HRESULT Level([in] LONG newVal);
|
|
[propget, id(6), helpstring("property Masking")] HRESULT Masking([out, retval] LONG* pVal);
|
|
[propput, id(6), helpstring("property Masking")] HRESULT Masking([in] LONG newVal);
|
|
[propget, id(7), helpstring("property Size")] HRESULT Size([out, retval] LONG* pVal);
|
|
[propput, id(7), helpstring("property Size")] HRESULT Size([in] LONG newVal);
|
|
[propget, id(8), helpstring("property Color")] HRESULT Color([out, retval] LONG* pVal);
|
|
[propput, id(8), helpstring("property Color")] HRESULT Color([in] LONG newVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(ACB63821-BCE2-4905-ADF5-FFC044D0595D),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("ICrypto Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface ICrypto : IDispatch{
|
|
[id(1), helpstring("method b64_hmac_sha1")] HRESULT b64_hmac_sha1([in] BSTR key, [in] BSTR data, [out,retval] BSTR* pVal);
|
|
[id(2), helpstring("method hex_hmac_sha1")] HRESULT hex_hmac_sha1([in] BSTR key, [in] BSTR data, [out,retval] BSTR* pVal);
|
|
[id(3), helpstring("method hex_sha1")] HRESULT hex_sha1([in] BSTR str, [out,retval] BSTR* pVal);
|
|
[id(4), helpstring("method hex_sha1_file")] HRESULT hex_sha1_file([in] BSTR fname, [out,retval] BSTR* pVal);
|
|
[id(5), helpstring("method hotp")] HRESULT hotp([in] BSTR hexseed, [in] LONGLONG counter, [in, defaultvalue(6)] BYTE digits, [out,retval] BSTR* pVal);
|
|
[id(6), helpstring("method hex_pbkdf2")] HRESULT hex_pbkdf2([in] BSTR pPassword, [in] BSTR pSalt, [in] ULONG pCount, [in, defaultvalue(20)] ULONG pLength, [out, retval] BSTR* pVal);
|
|
};
|
|
[
|
|
object,
|
|
uuid(5FC1107C-9203-4FEC-92C6-B31135167181),
|
|
dual,
|
|
nonextensible,
|
|
helpstring("IFTP Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IFTP : IDispatch{
|
|
[id(1), helpstring("method Open")] HRESULT Open();
|
|
[id(2), helpstring("method SetCurrentDir")] HRESULT SetCurrentDir([in] BSTR Directory);
|
|
[id(3), helpstring("method PutFileFromTextData")] HRESULT PutFileFromTextData([in] BSTR remoteFileName, [in] BSTR data);
|
|
[id(4), helpstring("method PutFile")] HRESULT PutFile([in] BSTR remoteFileName, [in] BSTR localFileName);
|
|
[id(5), helpstring("method Close")] HRESULT Close();
|
|
[propget, id(6), helpstring("property Proxyname")] HRESULT Proxyname([out, retval] BSTR* pVal);
|
|
[propput, id(6), helpstring("property Proxyname")] HRESULT Proxyname([in] BSTR newVal);
|
|
[propget, id(7), helpstring("property Hostname")] HRESULT Hostname([out, retval] BSTR* pVal);
|
|
[propput, id(7), helpstring("property Hostname")] HRESULT Hostname([in] BSTR newVal);
|
|
[propget, id(8), helpstring("property Port")] HRESULT Port([out, retval] LONG* pVal);
|
|
[propput, id(8), helpstring("property Port")] HRESULT Port([in] LONG newVal);
|
|
[propget, id(9), helpstring("property Username")] HRESULT Username([out, retval] BSTR* pVal);
|
|
[propput, id(9), helpstring("property Username")] HRESULT Username([in] BSTR newVal);
|
|
[propget, id(10), helpstring("property Password")] HRESULT Password([out, retval] BSTR* pVal);
|
|
[propput, id(10), helpstring("property Password")] HRESULT Password([in] BSTR newVal);
|
|
[propget, id(11), helpstring("property Flags")] HRESULT Flags([out, retval] LONG* pVal);
|
|
[propput, id(11), helpstring("property Flags")] HRESULT Flags([in] LONG newVal);
|
|
|
|
};
|
|
[
|
|
object,
|
|
uuid(BCC2A24D-B908-46FB-8BEF-4D002CED060D),
|
|
dual,
|
|
nonextensible,
|
|
pointer_default(unique)
|
|
]
|
|
interface IWinSock : IDispatch{
|
|
[propget, id(1)] HRESULT LocalHostIP([out, retval] BSTR* pVal);
|
|
[propput, id(1)] HRESULT LocalHostIP([in] BSTR newVal);
|
|
[propget, id(2)] HRESULT RemoteHostIP([out, retval] BSTR* pVal);
|
|
[propput, id(2)] HRESULT RemoteHostIP([in] BSTR newVal);
|
|
[propget, id(3)] HRESULT RemotePort([out, retval] ULONG* pVal);
|
|
[propput, id(3)] HRESULT RemotePort([in] ULONG newVal);
|
|
[id(4)] HRESULT OpenConnection();
|
|
[id(5)] HRESULT SendData([in] BSTR sData, [out, retval] BYTE* bResult);
|
|
[id(6)] HRESULT isDataAvailable();
|
|
[id(7)] HRESULT ReceiveData([out, retval] BSTR* sData);
|
|
[id(8)] HRESULT ShutdownConnection();
|
|
[propget, id(9)] HRESULT Timeout([out, retval] ULONG* pVal);
|
|
[propput, id(9)] HRESULT Timeout([in] ULONG newVal);
|
|
};
|
|
[
|
|
uuid(B6FCDE6E-141C-4601-B3AC-4DF4D5F25DF8),
|
|
version(1.0),
|
|
helpstring("SLNKDWF 1.0 Type Library")
|
|
]
|
|
library SLNKDWFLib
|
|
{
|
|
importlib("stdole2.tlb");
|
|
[
|
|
uuid(BE2BCD58-4971-49E6-9A70-CDDD5C01224D),
|
|
helpstring("DWFFile Class")
|
|
]
|
|
coclass myDWFFile
|
|
{
|
|
[default] interface IDWFFile;
|
|
};
|
|
[
|
|
uuid(C2632BD5-3157-45A6-8FFC-57063FF2B169),
|
|
helpstring("WhipFile Class")
|
|
]
|
|
coclass WhipFile
|
|
{
|
|
[default] interface IWhipFile;
|
|
};
|
|
[
|
|
uuid(783AC7F0-E6E1-4CE1-A38B-FA047D44DC1C),
|
|
helpstring("Whip2PNG Class")
|
|
]
|
|
coclass Whip2PNG
|
|
{
|
|
[default] interface IWhip2PNG;
|
|
};
|
|
[
|
|
uuid(2BA64B82-1A96-4F15-9815-40B291B505EB),
|
|
helpstring("About Class")
|
|
]
|
|
coclass About
|
|
{
|
|
[default] interface IAbout;
|
|
};
|
|
[
|
|
uuid(F2599AE6-8A08-4B5E-9C68-BD975229F0D1),
|
|
helpstring("EPlotSection Class"),
|
|
noncreatable
|
|
]
|
|
coclass EPlotSection
|
|
{
|
|
[default] interface IEPlotSection;
|
|
};
|
|
[
|
|
uuid(7B2E7661-9B9A-4217-A19E-745EFFF8E86D),
|
|
helpstring("EPlotSections Class"),
|
|
noncreatable
|
|
]
|
|
coclass EPlotSections
|
|
{
|
|
[default] interface IEPlotSections;
|
|
};
|
|
[
|
|
uuid(F7226C2D-B5C7-4C72-AA43-6D5013EF7C96),
|
|
helpstring("SLNKEvent Class"),
|
|
noncreatable
|
|
]
|
|
coclass SLNKEvent
|
|
{
|
|
[default] interface ISLNKEvent;
|
|
};
|
|
[
|
|
uuid(FCEF1E56-36FF-4F66-BEA5-FD08D860524F),
|
|
helpstring("BoundingBox Class"),
|
|
noncreatable
|
|
]
|
|
coclass BoundingBox
|
|
{
|
|
[default] interface IBoundingBox;
|
|
};
|
|
[
|
|
uuid(96301A8D-1DC9-4900-B89D-C745C4CAEFF4),
|
|
helpstring("DWGPoint Class"),
|
|
noncreatable
|
|
]
|
|
coclass DWGPoint
|
|
{
|
|
[default] interface IDWGPoint;
|
|
};
|
|
[
|
|
uuid(476C0F28-5860-485D-BEBD-D03F68E1C930),
|
|
helpstring("SLNKContour Class"),
|
|
noncreatable
|
|
]
|
|
coclass SLNKContour
|
|
{
|
|
[default] interface ISLNKContour;
|
|
};
|
|
[
|
|
uuid(8CEBC89F-658A-49C8-96E4-852FFFA9B10F),
|
|
helpstring("SLNKSymbol Class"),
|
|
noncreatable
|
|
]
|
|
coclass SLNKSymbol
|
|
{
|
|
[default] interface ISLNKSymbol;
|
|
};
|
|
[
|
|
uuid(168678A9-6FA7-49C3-B839-DFDF07E0A79A),
|
|
helpstring("Options Class")
|
|
]
|
|
coclass Options
|
|
{
|
|
[default] interface IOptions;
|
|
};
|
|
[
|
|
uuid(C5805A7A-67CF-452B-94F1-E7A50023D695),
|
|
helpstring("Zip Class")
|
|
]
|
|
coclass Zip
|
|
{
|
|
[default] interface IZip;
|
|
};
|
|
[
|
|
uuid(C3A30C3C-E550-4518-8306-9AA057F23AFD),
|
|
helpstring("WhipCleaner Class")
|
|
]
|
|
coclass WhipCleaner
|
|
{
|
|
[default] interface IWhipCleaner;
|
|
};
|
|
[
|
|
uuid(03B0F69B-ABBF-480E-9875-D85598BFBE44),
|
|
helpstring("ImageConvert Class")
|
|
]
|
|
coclass ImageConvert
|
|
{
|
|
[default] interface IImageConvert;
|
|
};
|
|
[
|
|
uuid(8F88E68B-0554-417B-B77E-A7EB55FEC302),
|
|
helpstring("Barcode Class")
|
|
]
|
|
coclass Barcode
|
|
{
|
|
[default] interface IBarcode;
|
|
};
|
|
[
|
|
uuid(E951BBE6-F2F9-462D-90B9-D011D4F3AE91),
|
|
helpstring("QRCode Class")
|
|
]
|
|
coclass QRCode
|
|
{
|
|
[default] interface IQRCode;
|
|
};
|
|
[
|
|
uuid(0D6DF1E6-A665-4655-9674-062E9DF60F24),
|
|
helpstring("Crypto Class")
|
|
]
|
|
coclass Crypto
|
|
{
|
|
[default] interface ICrypto;
|
|
};
|
|
[
|
|
uuid(C91E5330-FEC4-42CC-A8F0-304A82F3551B),
|
|
helpstring("FTP Class")
|
|
]
|
|
coclass FTP
|
|
{
|
|
[default] interface IFTP;
|
|
};
|
|
[
|
|
uuid(B99C545B-D9F8-4AE7-B044-9CB1B3F7DDC9)
|
|
]
|
|
coclass WinSock
|
|
{
|
|
[default] interface IWinSock;
|
|
};
|
|
};
|