home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************/
- /* */
- /* TurboCAD for Windows */
- /* Copyright (c) 1993 - 2001 */
- /* International Microcomputer Software, Inc. */
- /* (IMSI) */
- /* All rights reserved. */
- /* */
- /******************************************************************/
-
- // TCPssWiz.idl : IDL source for TCPssWiz.dll
- //
-
- // This file will be processed by the MIDL tool to
- // produce the type library (TCPssWiz.tlb) and marshalling code.
-
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(2FEE78D4-9067-4287-A67A-AF62FE87549D),
- dual,
- helpstring("IPSsWizard Interface"),
- pointer_default(unique)
- ]
- interface IPSsWizard : IDispatch
- {
- [propget, id(1), helpstring("property ClassID")] HRESULT ClassID([out, retval] BSTR *pVal);
- [propget, id(2), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
- [id(3), helpstring("method GetToolInfo")] HRESULT GetToolInfo([in, out] VARIANT* CommandNames, [in, out] VARIANT* MenuCaptions, [in, out] VARIANT* StatusPrompts, [in, out] VARIANT* ToolTips, [in, out] VARIANT* Enabled, [in, out] VARIANT* WantsUpdates, [out, retval] long* ret);
- [id(4), helpstring("method GetPicture")] HRESULT GetPicture([in] VARIANT_BOOL LargeButtons, [in] VARIANT_BOOL Monochrome, [out, retval] IDispatch** ret);
- [id(5), helpstring("method CopyBitmap")] HRESULT CopyBitmap([in] VARIANT_BOOL LargeButtons, [in] VARIANT_BOOL Monochrome, [out, retval] VARIANT_BOOL* ret);
- [id(6), helpstring("method UpdateToolStatus")] HRESULT UpdateToolStatus([in] IDispatch* ThisTool, [in, out] VARIANT_BOOL* Enabled, [in, out] VARIANT_BOOL* Checked, [out, retval] VARIANT_BOOL* ret);
- [id(7), helpstring("method Initialize")] HRESULT Initialize([in] IDispatch * ThisTool, [out, retval] VARIANT_BOOL* ret);
- [id(8), helpstring("method Terminate")] HRESULT Terminate([in] IDispatch * ThisTool);
- [id(9), helpstring("method Run")] HRESULT Run([in] IDispatch* ThisTool, [out, retval] VARIANT_BOOL* ret);
- [id(10), helpstring("method MouseDown")] HRESULT MouseDown([in]IDispatch *WhichDrawing, [in]IDispatch *WhichView, [in]IDispatch *WhichWindow, [in]short Button, [in]long Shift, [in]long X, [in]long Y, [in, out]VARIANT_BOOL *Cancel);
- [id(11), helpstring("method MouseUp")] HRESULT MouseUp([in]IDispatch *WhichDrawing, [in]IDispatch *WhichView, [in]IDispatch *WhichWindow, [in]short Button, [in]long Shift, [in]long X, [in]long Y, [in, out]VARIANT_BOOL *Cancel);
- [id(12), helpstring("method MouseMove")] HRESULT MouseMove([in]IDispatch *WhichDrawing, [in]IDispatch *WhichView, [in]IDispatch *WhichWindow, [in]long Shift, [in]long X, [in]long Y, [in, out]VARIANT_BOOL *pbCancel);
- [id(13), helpstring("method RunTool")] HRESULT RunTool([in] IDispatch * ThisTool);
- };
-
- [
- uuid(7755398E-53CC-4E7C-83F8-83EAB7A52DB7),
- version(1.0),
- helpstring("TCPssWiz 1.0 Type Library")
- ]
- library TCPSSWIZLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
-
- [
- uuid(BDA1344C-D91F-4557-BBB1-59C5B1AD1645),
- helpstring("PSsWizard Class")
- ]
- coclass PSsWizard
- {
- [default] interface IPSsWizard;
- };
- };
-