home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2002 March / PCWMAR02.iso / software / turbocad / v8trial / TurboCADv8ProfessionalNoReg.exe / Data.Cab / F38816_TCPssWiz.idl < prev    next >
Encoding:
Text File  |  2001-10-16  |  3.4 KB  |  62 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // TCPssWiz.idl : IDL source for TCPssWiz.dll
  12. //
  13.  
  14. // This file will be processed by the MIDL tool to
  15. // produce the type library (TCPssWiz.tlb) and marshalling code.
  16.  
  17. import "oaidl.idl";
  18. import "ocidl.idl";
  19.     [
  20.         object,
  21.         uuid(2FEE78D4-9067-4287-A67A-AF62FE87549D),
  22.         dual,
  23.         helpstring("IPSsWizard Interface"),
  24.         pointer_default(unique)
  25.     ]
  26.     interface IPSsWizard : IDispatch
  27.     {
  28.         [propget, id(1), helpstring("property ClassID")] HRESULT ClassID([out, retval] BSTR *pVal);
  29.         [propget, id(2), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
  30.         [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);
  31.         [id(4), helpstring("method GetPicture")] HRESULT GetPicture([in] VARIANT_BOOL LargeButtons, [in] VARIANT_BOOL Monochrome, [out, retval] IDispatch** ret);
  32.         [id(5), helpstring("method CopyBitmap")] HRESULT CopyBitmap([in] VARIANT_BOOL LargeButtons, [in] VARIANT_BOOL Monochrome, [out, retval] VARIANT_BOOL* ret);
  33.         [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);
  34.         [id(7), helpstring("method Initialize")] HRESULT Initialize([in] IDispatch * ThisTool, [out, retval] VARIANT_BOOL* ret);
  35.         [id(8), helpstring("method Terminate")] HRESULT Terminate([in] IDispatch * ThisTool);
  36.         [id(9), helpstring("method Run")] HRESULT Run([in] IDispatch* ThisTool, [out, retval] VARIANT_BOOL* ret);
  37.         [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);
  38.         [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);
  39.         [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);
  40.         [id(13), helpstring("method RunTool")] HRESULT RunTool([in] IDispatch * ThisTool);
  41.     };
  42.  
  43. [
  44.     uuid(7755398E-53CC-4E7C-83F8-83EAB7A52DB7),
  45.     version(1.0),
  46.     helpstring("TCPssWiz 1.0 Type Library")
  47. ]
  48. library TCPSSWIZLib
  49. {
  50.     importlib("stdole32.tlb");
  51.     importlib("stdole2.tlb");
  52.  
  53.     [
  54.         uuid(BDA1344C-D91F-4557-BBB1-59C5B1AD1645),
  55.         helpstring("PSsWizard Class")
  56.     ]
  57.     coclass PSsWizard
  58.     {
  59.         [default] interface IPSsWizard;
  60.     };
  61. };
  62.