AcTc.idl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. //
  11. // Name: AcTc.idl
  12. //
  13. // Description: This file will be processed by the MIDL tool to
  14. // produce the type library (AcTc.tlb) and marshalling code.
  15. //
  16. //////////////////////////////////////////////////////////////////////////////
  17. #ifdef FOR_RDFTOOL
  18. #include "custattr.h"
  19. #endif
  20. //*************************************************************************
  21. // Enums
  22. //*************************************************************************
  23. typedef enum
  24. {
  25. kEditDefault,
  26. kEditCustom,
  27. kEditNone,
  28. kEditMultiple = 0x4,
  29. } ToolEditMode;
  30. typedef enum
  31. {
  32. kContextNone = -1,
  33. kContextMenuPaletteTool,
  34. kContextMenuEditorImage,
  35. kContextMenuPaletteBackground,
  36. kContextMenuPaletteSetTab,
  37. kContextMenuPaletteSetCaption,
  38. kContextMenuPaletteSetOptionButton
  39. } ContextMenuFlag;
  40. typedef enum
  41. {
  42. kContextMenuShow,
  43. kContextMenuHide,
  44. kExecutionCanceled,
  45. kExecutionCancelRejected,
  46. kContextMenuUpdatePalette
  47. } ReturnFlag;
  48. typedef enum
  49. {
  50. kLButtonClicked,
  51. kDroppedInDrawing
  52. } ExecutionContext;
  53. import "oaidl.idl";
  54. import "ocidl.idl";
  55. //*************************************************************************
  56. // IAcadToolProperties
  57. //*************************************************************************
  58. [
  59. object,
  60. #if !defined(_WIN64) && !defined (_AC64)
  61. uuid(F0659777-57F0-4742-9A12-F47742BAB69D),
  62. #else
  63. uuid(C7D10438-330C-461D-9DC0-C2D31F746D37),
  64. #endif
  65. dual,
  66. helpstring("IAcadToolProperties Interface"),
  67. #ifdef FOR_RDFTOOL
  68. custom(CUSTATTR_DONOTREGISTER,0),
  69. #endif
  70. pointer_default(unique)
  71. ]
  72. interface IAcadToolProperties : IDispatch
  73. {
  74. [propget, id(1), helpstring("property ID")] HRESULT ID([out, retval] GUID* pId);
  75. [propget, id(2), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pVal);
  76. [propput, id(2), helpstring("property Name")] HRESULT Name([in] BSTR newVal);
  77. [propget, id(3), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
  78. [propput, id(3), helpstring("property Description")] HRESULT Description([in] BSTR newVal);
  79. [propget, id(4), helpstring("property ToolTipText")] HRESULT ToolTipText([out, retval] BSTR *pVal);
  80. [propput, id(4), helpstring("property ToolTipText")] HRESULT ToolTipText([in] BSTR newVal);
  81. [propget, id(5), helpstring("property HelpFile")] HRESULT HelpFile([out, retval] BSTR *pVal);
  82. [propput, id(5), helpstring("property HelpFile")] HRESULT HelpFile([in] BSTR newVal);
  83. [propget, id(6), helpstring("property HelpCommand")] HRESULT HelpCommand([out, retval] BSTR *pVal);
  84. [propput, id(6), helpstring("property HelpCommand")] HRESULT HelpCommand([in] BSTR newVal);
  85. [propget, id(7), helpstring("property HelpData")] HRESULT HelpData([out, retval] BSTR *pVal);
  86. [propput, id(7), helpstring("property HelpData")] HRESULT HelpData([in] BSTR newVal);
  87. [propget, id(8), helpstring("property IsReadOnly")] HRESULT IsReadOnly([out, retval] VARIANT_BOOL *pReadOnly);
  88. [propget, id(9), helpstring("property ToolType")] HRESULT ToolType([out, retval] LONG* pToolType);
  89. [propput, id(9), helpstring("property ToolType")] HRESULT ToolType([in] LONG lToolType);
  90. [propget, id(10), helpstring("property IsFlyoutEnabled")] HRESULT IsFlyoutEnabled([out, retval] VARIANT_BOOL* pEnabled);
  91. [propput, id(10), helpstring("property IsFlyoutEnabled")] HRESULT IsFlyoutEnabled([in] VARIANT_BOOL bUseFlyout);
  92. [propget, id(11), helpstring("property ShapePackageId")] HRESULT ShapePackageId([out, retval] GUID* pId);
  93. [propput, id(11), helpstring("property ShapePackageId")] HRESULT ShapePackageId([in] GUID* pId);
  94. [propget, id(12), helpstring("property CurrentShapeId")] HRESULT CurrentShapeId([out, retval] GUID* pId);
  95. [propput, id(12), helpstring("property CurrentShapeId")] HRESULT CurrentShapeId([in] GUID* pId);
  96. [propget, id(13), helpstring("property ActiveShapeIds")] HRESULT ActiveShapeIds([out, retval] VARIANT* pShapes);
  97. [propput, id(13), helpstring("property ActiveShapeIds")] HRESULT ActiveShapeIds([in] VARIANT* pShapes);
  98. [id(14), helpstring("method GetImage")] HRESULT GetImage([in] long cx, [in] long cy, [out] IUnknown* *pVal, [out] BSTR *sResourceName, [out] BSTR *sSourceFile);
  99. [id(15), helpstring("method SetImage")] HRESULT SetImage([in] long cx, [in] long cy, [in] IUnknown* newVal, [in] BSTR sResourceName, [in] BSTR sSourceFile);
  100. [id(16), helpstring("method GetCustomData")] HRESULT GetCustomData([out, retval] IUnknown ** ppVal);
  101. [id(17), helpstring("method GetCurrentShape")] HRESULT GetCurrentShape([out] IUnknown** ppTool);
  102. [id(18), helpstring("method GetOverlayImage")] HRESULT GetOverlayImage([out] IUnknown** pVal, [out] BSTR* pResourceName, [out] BSTR* pSourceFile);
  103. [id(19), helpstring("method SetOverlayImage")] HRESULT SetOverlayImage([in] IUnknown* newVal, [in] BSTR sResourceName, [in] BSTR sSourceFile);
  104. [id(20), helpstring("method GetAcTcTool")] HRESULT GetAcTcTool([out, retval] DWORD_PTR* ppAcTcTool);
  105. };
  106. //*************************************************************************
  107. // IAcadToolProperties2
  108. //*************************************************************************
  109. [
  110. object,
  111. uuid(A0E6B0E3-09FB-4E3C-B134-5EDD05CBAB37),
  112. dual,
  113. helpstring("IAcadToolProperties2 Interface"),
  114. #ifdef FOR_RDFTOOL
  115. custom(CUSTATTR_DONOTREGISTER,0),
  116. #endif
  117. pointer_default(unique)
  118. ]
  119. interface IAcadToolProperties2 : IDispatch
  120. {
  121. [propget, id(31), helpstring("property ItemOption")] HRESULT ItemOption([out, retval] LONG* pItemOption);
  122. [propput, id(31), helpstring("property ItemOption")] HRESULT ItemOption([in] LONG lItemOption);
  123. [propget, id(32), helpstring("property ImageOption")] HRESULT ImageOption([out, retval] LONG* pImageOption);
  124. [propput, id(32), helpstring("property ImageOption")] HRESULT ImageOption([in] LONG lImageOption);
  125. };
  126. //*************************************************************************
  127. // IAcadToolProperties3
  128. //*************************************************************************
  129. [
  130. object,
  131. uuid(F1800037-CB71-47BB-8C06-C4F3C5336316),
  132. dual,
  133. helpstring("IAcadToolProperties3 Interface"),
  134. #ifdef FOR_RDFTOOL
  135. custom(CUSTATTR_DONOTREGISTER,0),
  136. #endif
  137. pointer_default(unique)
  138. ]
  139. interface IAcadToolProperties3 : IDispatch
  140. {
  141. [id(41), helpstring("method GetDarkImage")] HRESULT GetDarkImage([in] long cx, [in] long cy, [out] IUnknown* *pVal, [out] BSTR *sResourceName, [out] BSTR *sSourceFile);
  142. [id(42), helpstring("method SetDarkImage")] HRESULT SetDarkImage([in] long cx, [in] long cy, [in] IUnknown* newVal, [in] BSTR sResourceName, [in] BSTR sSourceFile);
  143. [id(43), helpstring("method GetDarkOverlayImage")] HRESULT GetDarkOverlayImage([out] IUnknown** pVal, [out] BSTR* pResourceName, [out] BSTR* pSourceFile);
  144. [id(44), helpstring("method SetDarkOverlayImage")] HRESULT SetDarkOverlayImage([in] IUnknown* newVal, [in] BSTR sResourceName, [in] BSTR sSourceFile);
  145. };
  146. //*************************************************************************
  147. // IAcadStockTool
  148. //*************************************************************************
  149. [
  150. object,
  151. uuid(B9A18560-C006-4F2D-8E22-FF55389DABEB),
  152. helpstring("IAcadStockTool"),
  153. pointer_default(unique),
  154. local,
  155. #ifdef FOR_RDFTOOL
  156. custom(CUSTATTR_DONOTREGISTER,0),
  157. #endif
  158. oleautomation
  159. ]
  160. interface IAcadStockTool : IUnknown
  161. {
  162. [id(1), helpstring("method CreateTool")] HRESULT CreateTool([out, retval] IUnknown** ppTool);
  163. };
  164. //*************************************************************************
  165. // IAcadToolContextMenu
  166. //*************************************************************************
  167. [
  168. object,
  169. #if !defined(_WIN64) && !defined (_AC64)
  170. uuid(95FD297B-92FF-4FC3-A7C9-9E65C929DD44),
  171. #else
  172. uuid(C717E8F3-14C7-4D64-B442-72876DE32510),
  173. #endif
  174. helpstring("IAcadToolContextMenu"),
  175. pointer_default(unique),
  176. local,
  177. #ifdef FOR_RDFTOOL
  178. custom(CUSTATTR_DONOTREGISTER,0),
  179. #endif
  180. oleautomation
  181. ]
  182. interface IAcadToolContextMenu : IUnknown
  183. {
  184. [id(1), helpstring("method Customize")] HRESULT Customize([in] int nContextFlag, [in] DWORD_PTR/*HMENU*/ hMenu, [in] UINT idCmdFirst,[in] UINT idCmdLast, [in] GUID* pPaletteId, [out, retval] DWORD* pFlag);
  185. [id(2), helpstring("method GetMenuHelp")] HRESULT GetMenuHelp([in] UINT idCmd, [out, retval]BSTR* pbstrHelpText);
  186. [id(3), helpstring("method InvokeMenuCommand")] HRESULT InvokeMenuCommand([in] UINT idCmd, [in] GUID* pPaletteId, [in] DWORD_PTR /*HWND*/ hWnd, [out, retval] DWORD* pFlag);
  187. };
  188. //*************************************************************************
  189. // IAcadTool
  190. //*************************************************************************
  191. [
  192. object,
  193. #if !defined(_WIN64) && !defined (_AC64)
  194. uuid(9E842E9C-2A44-4B89-9AB5-F4926F321F2A),
  195. #else
  196. uuid(4909ACC0-3574-4867-A120-543FB288E5F9),
  197. #endif
  198. helpstring("IAcadTool"),
  199. pointer_default(unique),
  200. local,
  201. #ifdef FOR_RDFTOOL
  202. custom(CUSTATTR_DONOTREGISTER,0),
  203. #endif
  204. oleautomation
  205. ]
  206. interface IAcadTool : IUnknown
  207. {
  208. [propget, id(1), helpstring("property EditMode")] HRESULT EditMode([out, retval] long* pVal);
  209. [id(2), helpstring("method GetStockTool")] HRESULT GetStockTool([out, retval] IUnknown** ppToolClass);
  210. [id(3), helpstring("method SetToolProperties")] HRESULT SetToolProperties([in] IUnknown* pProp);
  211. [id(4), helpstring("method Load")] HRESULT Load([in] IUnknown* pXmlElement);
  212. [id(5), helpstring("method Save")] HRESULT Save([in] IUnknown* pXmlElement);
  213. [id(6), helpstring("method Execute")] HRESULT Execute([in] LONG_PTR lFlag, [in] DWORD_PTR /*HWND*/ hWnd, [in] DWORD point, [in] DWORD dwKeyState);
  214. [id(7), helpstring("method GetData")] HRESULT GetData([in] VARIANT *pObjUnkArray, [in] VARIANT *pDynUnkArray);
  215. [id(8), helpstring("method BeginEdit")] HRESULT BeginEdit();
  216. [id(9), helpstring("method Edit")] HRESULT Edit([in] IUnknown* pProp, [in] LONG_PTR /*HWND*/ hWndParent, [out] VARIANT_BOOL* pRet);
  217. [id(10), helpstring("method EndEdit")] HRESULT EndEdit([in] VARIANT_BOOL bEditCancelled);
  218. [id(11), helpstring("method New")] HRESULT New();
  219. [id(12), helpstring("method GetDropTarget")] HRESULT GetDropTarget([out, retval] IUnknown** ppDropTarget);
  220. [id(13), helpstring("method GetContextMenu")] HRESULT GetContextMenu([in] INT_PTR nContextFlag, [in] DWORD_PTR/*HMENU*/ hMenu, [in] UINT idCmdFirst,[in] UINT idCmdLast, [out, retval] DWORD_PTR* pFlag);
  221. [id(14), helpstring("method GetCommandString")] HRESULT GetCommandString([in] UINT idCmd, [out, retval]BSTR* pbstrHelpText);
  222. [id(15), helpstring("method InvokeCommand")] HRESULT InvokeCommand([in] UINT idCmd, [in] DWORD_PTR /*HWND*/ hWnd);
  223. [id(16), helpstring("method GetDragDropContextInfo")] HRESULT GetDragDropContextInfo([in] IUnknown* pIUnknown, [out]BSTR* pbstrText, [out] DWORD* pFlag);
  224. [id(17), helpstring("method Dropped")] HRESULT Dropped([in] BSTR bstrUrl);
  225. [id(18), helpstring("method Refreshed")] HRESULT Refreshed([in] BSTR bstrUrl);
  226. [id(19), helpstring("method SetEditorWindow")] HRESULT SetEditorWindow([in] LONG_PTR /*HWND*/ hWndEditor, [in] IUnknown* pPropInspector);
  227. [id(20), helpstring("method ValidateEditChanges")] HRESULT ValidateEditChanges();
  228. [id(21), helpstring("method GetToolProperties")] HRESULT GetToolProperties([out, retval] IUnknown** pToolProp);
  229. [id(22), helpstring("method BeginMultipleEdit")] HRESULT BeginMultipleEdit([in] VARIANT tools, [in] VARIANT stockToolIds);
  230. [id(23), helpstring("method EndMultipleEdit")] HRESULT EndMultipleEdit([in] VARIANT tools, [in] VARIANT stockToolIds, [in] VARIANT_BOOL bEditCancelled);
  231. [id(24), helpstring("method MultipleEdit")] HRESULT MultipleEdit([in] VARIANT tools, [in] VARIANT stockToolIds, [in] LONG_PTR /*HWND*/ hWndParent, [out] VARIANT_BOOL* pRet);
  232. };
  233. //*************************************************************************
  234. // IAcadTool2
  235. //*************************************************************************
  236. [
  237. object,
  238. uuid(CB0E3669-222E-46AB-9DD0-9876E6D052AD),
  239. helpstring("IAcadTool2"),
  240. pointer_default(unique),
  241. local,
  242. #ifdef FOR_RDFTOOL
  243. custom(CUSTATTR_DONOTREGISTER,0),
  244. #endif
  245. oleautomation
  246. ]
  247. interface IAcadTool2 : IUnknown
  248. {
  249. [id(1), helpstring("method UpdateImage")] HRESULT UpdateImage();
  250. };
  251. //*************************************************************************
  252. // IAcadToolFlyoutShape
  253. //*************************************************************************
  254. [ object, uuid(2F1A2EE9-32C3-489A-A29E-08851FC927DA),
  255. helpstring("IAcadToolFlyoutShape"),
  256. pointer_default(unique),
  257. local,
  258. #ifdef FOR_RDFTOOL
  259. custom(CUSTATTR_DONOTREGISTER,0),
  260. #endif
  261. oleautomation
  262. ]
  263. interface IAcadToolFlyoutShape : IUnknown
  264. {
  265. [id(1), helpstring("method SetFlyoutTools")] HRESULT SetFlyoutTools([in] VARIANT* pFlyoutToolIds);
  266. };
  267. //*************************************************************************
  268. // IAcadToolSort
  269. //*************************************************************************
  270. [
  271. object,
  272. uuid(AF6D759E-0EDD-46DF-9E0B-8DC01A206CF7),
  273. helpstring("IAcadToolSort"),
  274. pointer_default(unique),
  275. local,
  276. #ifdef FOR_RDFTOOL
  277. custom(CUSTATTR_DONOTREGISTER,0),
  278. #endif
  279. oleautomation
  280. ]
  281. interface IAcadToolSort : IUnknown
  282. {
  283. [id(1), helpstring("method Compare")] HRESULT Compare([in] IUnknown* pTool,
  284. [in] long lSortOption, [out, retval] long* pResult);
  285. };
  286. //*************************************************************************
  287. // IAcadToolDropTarget
  288. //*************************************************************************
  289. [
  290. object,
  291. uuid(76B9A439-B3BF-4346-8001-74EBFAD3113A),
  292. helpstring("IAcadToolDropTarget"),
  293. pointer_default(unique),
  294. local,
  295. #ifdef FOR_RDFTOOL
  296. custom(CUSTATTR_DONOTREGISTER,0),
  297. #endif
  298. oleautomation
  299. ]
  300. interface IAcadToolDropTarget : IUnknown
  301. {
  302. [id(1), helpstring("method DragEnter")] HRESULT DragEnter([in] IDataObject* pDataObj,
  303. [in] DWORD grfKeyState, [in] POINTL pt, [in, out] DWORD* pdwEffect);
  304. [id(2), helpstring("method DragOver")] HRESULT DragOver([in] DWORD grfKeyState,
  305. [in] POINTL pt, [in, out] DWORD* pdwEffect);
  306. [id(3), helpstring("method DragLeave")] HRESULT DragLeave(void);
  307. [id(4), helpstring("method Drop")] HRESULT Drop([in] IDataObject* pDataObj,
  308. [in] DWORD grfKeyState, [in] POINTL pt, [in, out] DWORD* pdwEffect,
  309. [in] GUID* pCurrentStockToolId, [in] GUID* pParentId, [out, retval] VARIANT* pNewToolIds);
  310. [id(5), helpstring("method GetDragDropContextMenuItem")] HRESULT GetDragDropContextMenuItem([in] IUnknown* pIUnknown,
  311. [out] BSTR* pbstrText, [out] DWORD* pFlag);
  312. };
  313. //*************************************************************************
  314. // IAcadToolDragSource
  315. //*************************************************************************
  316. [
  317. object,
  318. uuid(C8C6D2B1-A430-4949-8F5A-FF3C3533CF00),
  319. helpstring("IAcadToolDragSource"),
  320. pointer_default(unique),
  321. local,
  322. #ifdef FOR_RDFTOOL
  323. custom(CUSTATTR_DONOTREGISTER,0),
  324. #endif
  325. oleautomation
  326. ]
  327. interface IAcadToolDragSource : IUnknown
  328. {
  329. [id(1), helpstring("method BeginDrag")] HRESULT BeginDrag([in] VARIANT* pToolIds,
  330. [in] VARIANT* pAllStockToolIds, [in] GUID* pCurrentStockToolId, [in] IDataObject* pDataObject,
  331. [in] DWORD dwKeyState);
  332. [id(2), helpstring("method DragInProgress")] HRESULT DragInProgress([in] DWORD dwDropEffect);
  333. [id(3), helpstring("method EndDrag")] HRESULT EndDrag([in] DWORD dwDropEffect);
  334. [id(4), helpstring("method DragEnterDrawing")] HRESULT DragEnterDrawing([in] IDataObject* pDataObject,
  335. [in] DWORD grfKeyState, [in] POINTL pt, [out, retval] DWORD* pDropEffect);
  336. [id(5), helpstring("method DragOverDrawing")] HRESULT DragOverDrawing([in] DWORD grfKeyState,
  337. [in] POINTL pt, [out, retval] DWORD* pDropEffect);
  338. [id(6), helpstring("method DragLeaveDrawing")] HRESULT DragLeaveDrawing(void);
  339. [id(7), helpstring("method DropInDrawing")] HRESULT DropInDrawing([in] IDataObject* pDataObject,
  340. [in] DWORD grfKeyState, [in] POINTL pt, [out, retval] DWORD* pDropEffect);
  341. };
  342. //*************************************************************************
  343. // IAcadToolCopyPaste
  344. //*************************************************************************
  345. [
  346. object,
  347. uuid(5E32FE25-7769-4C8E-9447-DB921D1D249E),
  348. helpstring("IAcadToolCopyPaste"),
  349. pointer_default(unique),
  350. local,
  351. #ifdef FOR_RDFTOOL
  352. custom(CUSTATTR_DONOTREGISTER,0),
  353. #endif
  354. oleautomation
  355. ]
  356. interface IAcadToolCopyPaste : IUnknown
  357. {
  358. [id(1), helpstring("method Copy")] HRESULT Copy([in] VARIANT* pToolIds,
  359. [in] VARIANT* pAllStockToolIds, [in] GUID* pCurrentStockToolId, [in] IDataObject* pDataObject);
  360. [id(2), helpstring("method Paste")] HRESULT Paste([in] GUID* pCurrentStockToolId,
  361. [in] GUID* pParentId, [in] IDataObject* pDataObject, [out, retval] VARIANT* pNewToolIds);
  362. [id(3), helpstring("method CanPaste")] HRESULT CanPaste([in] IDataObject* pDataObject,
  363. [out, retval] VARIANT_BOOL* pCanPaste);
  364. };
  365. //*************************************************************************
  366. // IAcadToolImage
  367. //*************************************************************************
  368. [
  369. object,
  370. uuid(74009B5D-217A-44B6-8271-3A439851EAB5),
  371. helpstring("IAcadToolImage Interface"),
  372. pointer_default(unique),
  373. #ifdef FOR_RDFTOOL
  374. custom(CUSTATTR_DONOTREGISTER,0),
  375. #endif
  376. local
  377. ]
  378. interface IAcadToolImage : IUnknown
  379. {
  380. [id(1), helpstring("method Load")] HRESULT Load([in] BSTR bsFileName);
  381. [id(2), helpstring("method Save")] HRESULT Save([in] BSTR bsFileName);
  382. [id(3), helpstring("method Render")] HRESULT Render([in] HDC hdc, [in] long x, [in] long y, [in] long cx, [in] long cy, [in] long nStyle, [in] VARIANT_BOOL bTransparentBitmap);
  383. [id(4), helpstring("method GetSize")] HRESULT GetSize([out] long* pWidth, [out] long* pHeight);
  384. [id(5), helpstring("method GetType")] HRESULT GetType([out] short* pType);
  385. [id(6), helpstring("method IsImageLoaded")] HRESULT IsImageLoaded([out] BOOL *pVal);
  386. };
  387. //*************************************************************************
  388. // AcTcLib
  389. //*************************************************************************
  390. [
  391. #if !defined(_WIN64) && !defined (_AC64)
  392. uuid(C723B587-FDC4-465F-B26A-BCF7BEFE7691),
  393. #else
  394. uuid(76017700-FD9C-4FB8-B00A-7A51359BDD7E),
  395. #endif
  396. version(1.0),
  397. #ifdef FOR_RDFTOOL
  398. custom(CUSTATTR_DONOTREGISTER,0),
  399. #endif
  400. helpstring("AcTc 1.0 Type Library")
  401. ]
  402. library AcTcLib
  403. {
  404. importlib("stdole32.tlb");
  405. importlib("stdole2.tlb");
  406. [
  407. uuid(8C7C7AB1-0466-4FEB-B15A-5DF69318A043),
  408. helpstring("AcadToolProperties Class"),
  409. #ifdef FOR_RDFTOOL
  410. custom(CUSTATTR_DONOTREGISTER,0),
  411. #endif
  412. noncreatable
  413. ]
  414. coclass AcadToolProperties
  415. {
  416. [default] interface IAcadToolProperties;
  417. };
  418. [
  419. uuid(79DC18B6-B07B-4559-BFB9-3DD88D9E8A5A),
  420. helpstring("AcadToolImage Class")
  421. ]
  422. coclass AcadToolImage
  423. {
  424. [default] interface IAcadToolImage;
  425. };
  426. };