home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2002 March / PCWMAR02.iso / software / turbocad / v8trial / TurboCADv8ProfessionalNoReg.exe / Data.Cab / F43814_tcintf.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-11-30  |  55.7 KB  |  2,039 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 5.01.0164 */
  5. /* at Fri Nov 30 19:08:28 2001
  6.  */
  7. /* Compiler settings for D:\tc80\tcintf\TCINTF.IDL:
  8.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: allocation ref bounds_check enum stub_data 
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __tcintf_h__
  32. #define __tcintf_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __ITcDrawing_FWD_DEFINED__
  41. #define __ITcDrawing_FWD_DEFINED__
  42. typedef interface ITcDrawing ITcDrawing;
  43. #endif     /* __ITcDrawing_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __ITcView_FWD_DEFINED__
  47. #define __ITcView_FWD_DEFINED__
  48. typedef interface ITcView ITcView;
  49. #endif     /* __ITcView_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __ITcApp_FWD_DEFINED__
  53. #define __ITcApp_FWD_DEFINED__
  54. typedef interface ITcApp ITcApp;
  55. #endif     /* __ITcApp_FWD_DEFINED__ */
  56.  
  57.  
  58. /* header files for imported files */
  59. #include "oaidl.h"
  60. #include "gxtypes.h"
  61.  
  62. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  63. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  64.  
  65. /* interface __MIDL_itf_TCINTF_0000 */
  66. /* [local] */ 
  67.  
  68. #if 0
  69. typedef void __RPC_FAR *hDrawing;
  70.  
  71. typedef void __RPC_FAR *hGraphic;
  72.  
  73. typedef void __RPC_FAR *hViewport;
  74.  
  75. typedef void __RPC_FAR *hExtents;
  76.  
  77. typedef void __RPC_FAR *hApp;
  78.  
  79. typedef void __RPC_FAR *hVertex;
  80.  
  81. typedef void __RPC_FAR *LPMENUITEMINFO;
  82.  
  83. #endif
  84.  
  85.  
  86.  
  87. extern RPC_IF_HANDLE __MIDL_itf_TCINTF_0000_v0_0_c_ifspec;
  88. extern RPC_IF_HANDLE __MIDL_itf_TCINTF_0000_v0_0_s_ifspec;
  89.  
  90. #ifndef __ITcDrawing_INTERFACE_DEFINED__
  91. #define __ITcDrawing_INTERFACE_DEFINED__
  92.  
  93. /* interface ITcDrawing */
  94. /* [unique][helpstring][helpcontext][uuid][local][object] */ 
  95.  
  96.  
  97. EXTERN_C const IID IID_ITcDrawing;
  98.  
  99. #if defined(__cplusplus) && !defined(CINTERFACE)
  100.     
  101.     MIDL_INTERFACE("6A481201-E531-11CF-A115-00A024158DAF")
  102.     ITcDrawing : public IUnknown
  103.     {
  104.     public:
  105.         virtual HRESULT __stdcall Save( 
  106.             LPCTSTR pszPathName,
  107.             LPCTSTR cszFDesc,
  108.             BOOL bReplace,
  109.             BOOL bSelection) = 0;
  110.         
  111.         virtual HRESULT __stdcall Close( 
  112.             BOOL bSaveChanges) = 0;
  113.         
  114.         virtual HRESULT __stdcall Print( 
  115.             BOOL bShowDialog) = 0;
  116.         
  117.         virtual HRESULT __stdcall SetPageSetup( 
  118.             const PAGESETUPPARAMS __RPC_FAR *pSetup) = 0;
  119.         
  120.         virtual HRESULT __stdcall GetPageSetup( 
  121.             PAGESETUPPARAMS __RPC_FAR *pSetup) = 0;
  122.         
  123.         virtual HRESULT __stdcall GetRelativeOrigin( 
  124.             hVertex v) = 0;
  125.         
  126.         virtual HRESULT __stdcall CameraUpdateViewport( 
  127.             DWORD GraphicID) = 0;
  128.         
  129.         virtual HRESULT __stdcall CreateWindowByCamera( 
  130.             DWORD CameraID) = 0;
  131.         
  132.         virtual HRESULT __stdcall ActivateWindowByCamera( 
  133.             DWORD CameraID) = 0;
  134.         
  135.         virtual HRESULT __stdcall CreateCameraByActiveView( void) = 0;
  136.         
  137.         virtual HRESULT __stdcall UpdateRenderViewport( 
  138.             int SceneID) = 0;
  139.         
  140.         virtual HRESULT __stdcall GetSaved( 
  141.             BOOL __RPC_FAR *pbSaved) = 0;
  142.         
  143.         virtual HRESULT __stdcall SetSaved( 
  144.             BOOL bSaved) = 0;
  145.         
  146.         virtual HRESULT __stdcall RenderScenesGraphicsUpdate( 
  147.             IDispatch __RPC_FAR *pDisp,
  148.             ImsiRenderGraphicUpdate flag) = 0;
  149.         
  150.         virtual HRESULT __stdcall RenderScenesUpdateChanges( void) = 0;
  151.         
  152.         virtual HRESULT __stdcall ActivatePaperSpace( 
  153.             UINT nID) = 0;
  154.         
  155.         virtual HRESULT __stdcall AddNewPaperSpace( 
  156.             LPCSTR PaperSpaceName,
  157.             int __RPC_FAR *pID) = 0;
  158.         
  159.     };
  160.     
  161. #else     /* C style interface */
  162.  
  163.     typedef struct ITcDrawingVtbl
  164.     {
  165.         BEGIN_INTERFACE
  166.         
  167.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  168.             ITcDrawing __RPC_FAR * This,
  169.             /* [in] */ REFIID riid,
  170.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  171.         
  172.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  173.             ITcDrawing __RPC_FAR * This);
  174.         
  175.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  176.             ITcDrawing __RPC_FAR * This);
  177.         
  178.         HRESULT ( __stdcall __RPC_FAR *Save )( 
  179.             ITcDrawing __RPC_FAR * This,
  180.             LPCTSTR pszPathName,
  181.             LPCTSTR cszFDesc,
  182.             BOOL bReplace,
  183.             BOOL bSelection);
  184.         
  185.         HRESULT ( __stdcall __RPC_FAR *Close )( 
  186.             ITcDrawing __RPC_FAR * This,
  187.             BOOL bSaveChanges);
  188.         
  189.         HRESULT ( __stdcall __RPC_FAR *Print )( 
  190.             ITcDrawing __RPC_FAR * This,
  191.             BOOL bShowDialog);
  192.         
  193.         HRESULT ( __stdcall __RPC_FAR *SetPageSetup )( 
  194.             ITcDrawing __RPC_FAR * This,
  195.             const PAGESETUPPARAMS __RPC_FAR *pSetup);
  196.         
  197.         HRESULT ( __stdcall __RPC_FAR *GetPageSetup )( 
  198.             ITcDrawing __RPC_FAR * This,
  199.             PAGESETUPPARAMS __RPC_FAR *pSetup);
  200.         
  201.         HRESULT ( __stdcall __RPC_FAR *GetRelativeOrigin )( 
  202.             ITcDrawing __RPC_FAR * This,
  203.             hVertex v);
  204.         
  205.         HRESULT ( __stdcall __RPC_FAR *CameraUpdateViewport )( 
  206.             ITcDrawing __RPC_FAR * This,
  207.             DWORD GraphicID);
  208.         
  209.         HRESULT ( __stdcall __RPC_FAR *CreateWindowByCamera )( 
  210.             ITcDrawing __RPC_FAR * This,
  211.             DWORD CameraID);
  212.         
  213.         HRESULT ( __stdcall __RPC_FAR *ActivateWindowByCamera )( 
  214.             ITcDrawing __RPC_FAR * This,
  215.             DWORD CameraID);
  216.         
  217.         HRESULT ( __stdcall __RPC_FAR *CreateCameraByActiveView )( 
  218.             ITcDrawing __RPC_FAR * This);
  219.         
  220.         HRESULT ( __stdcall __RPC_FAR *UpdateRenderViewport )( 
  221.             ITcDrawing __RPC_FAR * This,
  222.             int SceneID);
  223.         
  224.         HRESULT ( __stdcall __RPC_FAR *GetSaved )( 
  225.             ITcDrawing __RPC_FAR * This,
  226.             BOOL __RPC_FAR *pbSaved);
  227.         
  228.         HRESULT ( __stdcall __RPC_FAR *SetSaved )( 
  229.             ITcDrawing __RPC_FAR * This,
  230.             BOOL bSaved);
  231.         
  232.         HRESULT ( __stdcall __RPC_FAR *RenderScenesGraphicsUpdate )( 
  233.             ITcDrawing __RPC_FAR * This,
  234.             IDispatch __RPC_FAR *pDisp,
  235.             ImsiRenderGraphicUpdate flag);
  236.         
  237.         HRESULT ( __stdcall __RPC_FAR *RenderScenesUpdateChanges )( 
  238.             ITcDrawing __RPC_FAR * This);
  239.         
  240.         HRESULT ( __stdcall __RPC_FAR *ActivatePaperSpace )( 
  241.             ITcDrawing __RPC_FAR * This,
  242.             UINT nID);
  243.         
  244.         HRESULT ( __stdcall __RPC_FAR *AddNewPaperSpace )( 
  245.             ITcDrawing __RPC_FAR * This,
  246.             LPCSTR PaperSpaceName,
  247.             int __RPC_FAR *pID);
  248.         
  249.         END_INTERFACE
  250.     } ITcDrawingVtbl;
  251.  
  252.     interface ITcDrawing
  253.     {
  254.         CONST_VTBL struct ITcDrawingVtbl __RPC_FAR *lpVtbl;
  255.     };
  256.  
  257.     
  258.  
  259. #ifdef COBJMACROS
  260.  
  261.  
  262. #define ITcDrawing_QueryInterface(This,riid,ppvObject)    \
  263.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  264.  
  265. #define ITcDrawing_AddRef(This)    \
  266.     (This)->lpVtbl -> AddRef(This)
  267.  
  268. #define ITcDrawing_Release(This)    \
  269.     (This)->lpVtbl -> Release(This)
  270.  
  271.  
  272. #define ITcDrawing_Save(This,pszPathName,cszFDesc,bReplace,bSelection)    \
  273.     (This)->lpVtbl -> Save(This,pszPathName,cszFDesc,bReplace,bSelection)
  274.  
  275. #define ITcDrawing_Close(This,bSaveChanges)    \
  276.     (This)->lpVtbl -> Close(This,bSaveChanges)
  277.  
  278. #define ITcDrawing_Print(This,bShowDialog)    \
  279.     (This)->lpVtbl -> Print(This,bShowDialog)
  280.  
  281. #define ITcDrawing_SetPageSetup(This,pSetup)    \
  282.     (This)->lpVtbl -> SetPageSetup(This,pSetup)
  283.  
  284. #define ITcDrawing_GetPageSetup(This,pSetup)    \
  285.     (This)->lpVtbl -> GetPageSetup(This,pSetup)
  286.  
  287. #define ITcDrawing_GetRelativeOrigin(This,v)    \
  288.     (This)->lpVtbl -> GetRelativeOrigin(This,v)
  289.  
  290. #define ITcDrawing_CameraUpdateViewport(This,GraphicID)    \
  291.     (This)->lpVtbl -> CameraUpdateViewport(This,GraphicID)
  292.  
  293. #define ITcDrawing_CreateWindowByCamera(This,CameraID)    \
  294.     (This)->lpVtbl -> CreateWindowByCamera(This,CameraID)
  295.  
  296. #define ITcDrawing_ActivateWindowByCamera(This,CameraID)    \
  297.     (This)->lpVtbl -> ActivateWindowByCamera(This,CameraID)
  298.  
  299. #define ITcDrawing_CreateCameraByActiveView(This)    \
  300.     (This)->lpVtbl -> CreateCameraByActiveView(This)
  301.  
  302. #define ITcDrawing_UpdateRenderViewport(This,SceneID)    \
  303.     (This)->lpVtbl -> UpdateRenderViewport(This,SceneID)
  304.  
  305. #define ITcDrawing_GetSaved(This,pbSaved)    \
  306.     (This)->lpVtbl -> GetSaved(This,pbSaved)
  307.  
  308. #define ITcDrawing_SetSaved(This,bSaved)    \
  309.     (This)->lpVtbl -> SetSaved(This,bSaved)
  310.  
  311. #define ITcDrawing_RenderScenesGraphicsUpdate(This,pDisp,flag)    \
  312.     (This)->lpVtbl -> RenderScenesGraphicsUpdate(This,pDisp,flag)
  313.  
  314. #define ITcDrawing_RenderScenesUpdateChanges(This)    \
  315.     (This)->lpVtbl -> RenderScenesUpdateChanges(This)
  316.  
  317. #define ITcDrawing_ActivatePaperSpace(This,nID)    \
  318.     (This)->lpVtbl -> ActivatePaperSpace(This,nID)
  319.  
  320. #define ITcDrawing_AddNewPaperSpace(This,PaperSpaceName,pID)    \
  321.     (This)->lpVtbl -> AddNewPaperSpace(This,PaperSpaceName,pID)
  322.  
  323. #endif /* COBJMACROS */
  324.  
  325.  
  326. #endif     /* C style interface */
  327.  
  328.  
  329.  
  330. HRESULT __stdcall ITcDrawing_Save_Proxy( 
  331.     ITcDrawing __RPC_FAR * This,
  332.     LPCTSTR pszPathName,
  333.     LPCTSTR cszFDesc,
  334.     BOOL bReplace,
  335.     BOOL bSelection);
  336.  
  337.  
  338. void __RPC_STUB ITcDrawing_Save_Stub(
  339.     IRpcStubBuffer *This,
  340.     IRpcChannelBuffer *_pRpcChannelBuffer,
  341.     PRPC_MESSAGE _pRpcMessage,
  342.     DWORD *_pdwStubPhase);
  343.  
  344.  
  345. HRESULT __stdcall ITcDrawing_Close_Proxy( 
  346.     ITcDrawing __RPC_FAR * This,
  347.     BOOL bSaveChanges);
  348.  
  349.  
  350. void __RPC_STUB ITcDrawing_Close_Stub(
  351.     IRpcStubBuffer *This,
  352.     IRpcChannelBuffer *_pRpcChannelBuffer,
  353.     PRPC_MESSAGE _pRpcMessage,
  354.     DWORD *_pdwStubPhase);
  355.  
  356.  
  357. HRESULT __stdcall ITcDrawing_Print_Proxy( 
  358.     ITcDrawing __RPC_FAR * This,
  359.     BOOL bShowDialog);
  360.  
  361.  
  362. void __RPC_STUB ITcDrawing_Print_Stub(
  363.     IRpcStubBuffer *This,
  364.     IRpcChannelBuffer *_pRpcChannelBuffer,
  365.     PRPC_MESSAGE _pRpcMessage,
  366.     DWORD *_pdwStubPhase);
  367.  
  368.  
  369. HRESULT __stdcall ITcDrawing_SetPageSetup_Proxy( 
  370.     ITcDrawing __RPC_FAR * This,
  371.     const PAGESETUPPARAMS __RPC_FAR *pSetup);
  372.  
  373.  
  374. void __RPC_STUB ITcDrawing_SetPageSetup_Stub(
  375.     IRpcStubBuffer *This,
  376.     IRpcChannelBuffer *_pRpcChannelBuffer,
  377.     PRPC_MESSAGE _pRpcMessage,
  378.     DWORD *_pdwStubPhase);
  379.  
  380.  
  381. HRESULT __stdcall ITcDrawing_GetPageSetup_Proxy( 
  382.     ITcDrawing __RPC_FAR * This,
  383.     PAGESETUPPARAMS __RPC_FAR *pSetup);
  384.  
  385.  
  386. void __RPC_STUB ITcDrawing_GetPageSetup_Stub(
  387.     IRpcStubBuffer *This,
  388.     IRpcChannelBuffer *_pRpcChannelBuffer,
  389.     PRPC_MESSAGE _pRpcMessage,
  390.     DWORD *_pdwStubPhase);
  391.  
  392.  
  393. HRESULT __stdcall ITcDrawing_GetRelativeOrigin_Proxy( 
  394.     ITcDrawing __RPC_FAR * This,
  395.     hVertex v);
  396.  
  397.  
  398. void __RPC_STUB ITcDrawing_GetRelativeOrigin_Stub(
  399.     IRpcStubBuffer *This,
  400.     IRpcChannelBuffer *_pRpcChannelBuffer,
  401.     PRPC_MESSAGE _pRpcMessage,
  402.     DWORD *_pdwStubPhase);
  403.  
  404.  
  405. HRESULT __stdcall ITcDrawing_CameraUpdateViewport_Proxy( 
  406.     ITcDrawing __RPC_FAR * This,
  407.     DWORD GraphicID);
  408.  
  409.  
  410. void __RPC_STUB ITcDrawing_CameraUpdateViewport_Stub(
  411.     IRpcStubBuffer *This,
  412.     IRpcChannelBuffer *_pRpcChannelBuffer,
  413.     PRPC_MESSAGE _pRpcMessage,
  414.     DWORD *_pdwStubPhase);
  415.  
  416.  
  417. HRESULT __stdcall ITcDrawing_CreateWindowByCamera_Proxy( 
  418.     ITcDrawing __RPC_FAR * This,
  419.     DWORD CameraID);
  420.  
  421.  
  422. void __RPC_STUB ITcDrawing_CreateWindowByCamera_Stub(
  423.     IRpcStubBuffer *This,
  424.     IRpcChannelBuffer *_pRpcChannelBuffer,
  425.     PRPC_MESSAGE _pRpcMessage,
  426.     DWORD *_pdwStubPhase);
  427.  
  428.  
  429. HRESULT __stdcall ITcDrawing_ActivateWindowByCamera_Proxy( 
  430.     ITcDrawing __RPC_FAR * This,
  431.     DWORD CameraID);
  432.  
  433.  
  434. void __RPC_STUB ITcDrawing_ActivateWindowByCamera_Stub(
  435.     IRpcStubBuffer *This,
  436.     IRpcChannelBuffer *_pRpcChannelBuffer,
  437.     PRPC_MESSAGE _pRpcMessage,
  438.     DWORD *_pdwStubPhase);
  439.  
  440.  
  441. HRESULT __stdcall ITcDrawing_CreateCameraByActiveView_Proxy( 
  442.     ITcDrawing __RPC_FAR * This);
  443.  
  444.  
  445. void __RPC_STUB ITcDrawing_CreateCameraByActiveView_Stub(
  446.     IRpcStubBuffer *This,
  447.     IRpcChannelBuffer *_pRpcChannelBuffer,
  448.     PRPC_MESSAGE _pRpcMessage,
  449.     DWORD *_pdwStubPhase);
  450.  
  451.  
  452. HRESULT __stdcall ITcDrawing_UpdateRenderViewport_Proxy( 
  453.     ITcDrawing __RPC_FAR * This,
  454.     int SceneID);
  455.  
  456.  
  457. void __RPC_STUB ITcDrawing_UpdateRenderViewport_Stub(
  458.     IRpcStubBuffer *This,
  459.     IRpcChannelBuffer *_pRpcChannelBuffer,
  460.     PRPC_MESSAGE _pRpcMessage,
  461.     DWORD *_pdwStubPhase);
  462.  
  463.  
  464. HRESULT __stdcall ITcDrawing_GetSaved_Proxy( 
  465.     ITcDrawing __RPC_FAR * This,
  466.     BOOL __RPC_FAR *pbSaved);
  467.  
  468.  
  469. void __RPC_STUB ITcDrawing_GetSaved_Stub(
  470.     IRpcStubBuffer *This,
  471.     IRpcChannelBuffer *_pRpcChannelBuffer,
  472.     PRPC_MESSAGE _pRpcMessage,
  473.     DWORD *_pdwStubPhase);
  474.  
  475.  
  476. HRESULT __stdcall ITcDrawing_SetSaved_Proxy( 
  477.     ITcDrawing __RPC_FAR * This,
  478.     BOOL bSaved);
  479.  
  480.  
  481. void __RPC_STUB ITcDrawing_SetSaved_Stub(
  482.     IRpcStubBuffer *This,
  483.     IRpcChannelBuffer *_pRpcChannelBuffer,
  484.     PRPC_MESSAGE _pRpcMessage,
  485.     DWORD *_pdwStubPhase);
  486.  
  487.  
  488. HRESULT __stdcall ITcDrawing_RenderScenesGraphicsUpdate_Proxy( 
  489.     ITcDrawing __RPC_FAR * This,
  490.     IDispatch __RPC_FAR *pDisp,
  491.     ImsiRenderGraphicUpdate flag);
  492.  
  493.  
  494. void __RPC_STUB ITcDrawing_RenderScenesGraphicsUpdate_Stub(
  495.     IRpcStubBuffer *This,
  496.     IRpcChannelBuffer *_pRpcChannelBuffer,
  497.     PRPC_MESSAGE _pRpcMessage,
  498.     DWORD *_pdwStubPhase);
  499.  
  500.  
  501. HRESULT __stdcall ITcDrawing_RenderScenesUpdateChanges_Proxy( 
  502.     ITcDrawing __RPC_FAR * This);
  503.  
  504.  
  505. void __RPC_STUB ITcDrawing_RenderScenesUpdateChanges_Stub(
  506.     IRpcStubBuffer *This,
  507.     IRpcChannelBuffer *_pRpcChannelBuffer,
  508.     PRPC_MESSAGE _pRpcMessage,
  509.     DWORD *_pdwStubPhase);
  510.  
  511.  
  512. HRESULT __stdcall ITcDrawing_ActivatePaperSpace_Proxy( 
  513.     ITcDrawing __RPC_FAR * This,
  514.     UINT nID);
  515.  
  516.  
  517. void __RPC_STUB ITcDrawing_ActivatePaperSpace_Stub(
  518.     IRpcStubBuffer *This,
  519.     IRpcChannelBuffer *_pRpcChannelBuffer,
  520.     PRPC_MESSAGE _pRpcMessage,
  521.     DWORD *_pdwStubPhase);
  522.  
  523.  
  524. HRESULT __stdcall ITcDrawing_AddNewPaperSpace_Proxy( 
  525.     ITcDrawing __RPC_FAR * This,
  526.     LPCSTR PaperSpaceName,
  527.     int __RPC_FAR *pID);
  528.  
  529.  
  530. void __RPC_STUB ITcDrawing_AddNewPaperSpace_Stub(
  531.     IRpcStubBuffer *This,
  532.     IRpcChannelBuffer *_pRpcChannelBuffer,
  533.     PRPC_MESSAGE _pRpcMessage,
  534.     DWORD *_pdwStubPhase);
  535.  
  536.  
  537.  
  538. #endif     /* __ITcDrawing_INTERFACE_DEFINED__ */
  539.  
  540.  
  541. #ifndef __ITcView_INTERFACE_DEFINED__
  542. #define __ITcView_INTERFACE_DEFINED__
  543.  
  544. /* interface ITcView */
  545. /* [unique][helpstring][helpcontext][uuid][local][object] */ 
  546.  
  547.  
  548. EXTERN_C const IID IID_ITcView;
  549.  
  550. #if defined(__cplusplus) && !defined(CINTERFACE)
  551.     
  552.     MIDL_INTERFACE("6A481202-E531-11CF-A115-00A024158DAF")
  553.     ITcView : public IUnknown
  554.     {
  555.     public:
  556.         virtual HRESULT __stdcall Refresh( void) = 0;
  557.         
  558.         virtual HRESULT __stdcall OnRender( 
  559.             UINT nID) = 0;
  560.         
  561.         virtual HRESULT __stdcall RenderFinish( 
  562.             BOOL bWalkFinish,
  563.             BOOL bWorldChange) = 0;
  564.         
  565.     };
  566.     
  567. #else     /* C style interface */
  568.  
  569.     typedef struct ITcViewVtbl
  570.     {
  571.         BEGIN_INTERFACE
  572.         
  573.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  574.             ITcView __RPC_FAR * This,
  575.             /* [in] */ REFIID riid,
  576.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  577.         
  578.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  579.             ITcView __RPC_FAR * This);
  580.         
  581.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  582.             ITcView __RPC_FAR * This);
  583.         
  584.         HRESULT ( __stdcall __RPC_FAR *Refresh )( 
  585.             ITcView __RPC_FAR * This);
  586.         
  587.         HRESULT ( __stdcall __RPC_FAR *OnRender )( 
  588.             ITcView __RPC_FAR * This,
  589.             UINT nID);
  590.         
  591.         HRESULT ( __stdcall __RPC_FAR *RenderFinish )( 
  592.             ITcView __RPC_FAR * This,
  593.             BOOL bWalkFinish,
  594.             BOOL bWorldChange);
  595.         
  596.         END_INTERFACE
  597.     } ITcViewVtbl;
  598.  
  599.     interface ITcView
  600.     {
  601.         CONST_VTBL struct ITcViewVtbl __RPC_FAR *lpVtbl;
  602.     };
  603.  
  604.     
  605.  
  606. #ifdef COBJMACROS
  607.  
  608.  
  609. #define ITcView_QueryInterface(This,riid,ppvObject)    \
  610.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  611.  
  612. #define ITcView_AddRef(This)    \
  613.     (This)->lpVtbl -> AddRef(This)
  614.  
  615. #define ITcView_Release(This)    \
  616.     (This)->lpVtbl -> Release(This)
  617.  
  618.  
  619. #define ITcView_Refresh(This)    \
  620.     (This)->lpVtbl -> Refresh(This)
  621.  
  622. #define ITcView_OnRender(This,nID)    \
  623.     (This)->lpVtbl -> OnRender(This,nID)
  624.  
  625. #define ITcView_RenderFinish(This,bWalkFinish,bWorldChange)    \
  626.     (This)->lpVtbl -> RenderFinish(This,bWalkFinish,bWorldChange)
  627.  
  628. #endif /* COBJMACROS */
  629.  
  630.  
  631. #endif     /* C style interface */
  632.  
  633.  
  634.  
  635. HRESULT __stdcall ITcView_Refresh_Proxy( 
  636.     ITcView __RPC_FAR * This);
  637.  
  638.  
  639. void __RPC_STUB ITcView_Refresh_Stub(
  640.     IRpcStubBuffer *This,
  641.     IRpcChannelBuffer *_pRpcChannelBuffer,
  642.     PRPC_MESSAGE _pRpcMessage,
  643.     DWORD *_pdwStubPhase);
  644.  
  645.  
  646. HRESULT __stdcall ITcView_OnRender_Proxy( 
  647.     ITcView __RPC_FAR * This,
  648.     UINT nID);
  649.  
  650.  
  651. void __RPC_STUB ITcView_OnRender_Stub(
  652.     IRpcStubBuffer *This,
  653.     IRpcChannelBuffer *_pRpcChannelBuffer,
  654.     PRPC_MESSAGE _pRpcMessage,
  655.     DWORD *_pdwStubPhase);
  656.  
  657.  
  658. HRESULT __stdcall ITcView_RenderFinish_Proxy( 
  659.     ITcView __RPC_FAR * This,
  660.     BOOL bWalkFinish,
  661.     BOOL bWorldChange);
  662.  
  663.  
  664. void __RPC_STUB ITcView_RenderFinish_Stub(
  665.     IRpcStubBuffer *This,
  666.     IRpcChannelBuffer *_pRpcChannelBuffer,
  667.     PRPC_MESSAGE _pRpcMessage,
  668.     DWORD *_pdwStubPhase);
  669.  
  670.  
  671.  
  672. #endif     /* __ITcView_INTERFACE_DEFINED__ */
  673.  
  674.  
  675.  
  676. #ifndef __TCGX_LIBRARY_DEFINED__
  677. #define __TCGX_LIBRARY_DEFINED__
  678.  
  679. /* library TCGX */
  680. /* [helpstring][helpcontext][version][uuid] */ 
  681.  
  682.  
  683. EXTERN_C const IID LIBID_TCGX;
  684.  
  685. #ifndef __ITcApp_INTERFACE_DEFINED__
  686. #define __ITcApp_INTERFACE_DEFINED__
  687.  
  688. /* interface ITcApp */
  689. /* [unique][helpstring][helpcontext][uuid][local][object] */ 
  690.  
  691.  
  692. EXTERN_C const IID IID_ITcApp;
  693.  
  694. #if defined(__cplusplus) && !defined(CINTERFACE)
  695.     
  696.     MIDL_INTERFACE("6A481200-E531-11CF-A115-00A024158DAF")
  697.     ITcApp : public IUnknown
  698.     {
  699.     public:
  700.         virtual HRESULT __stdcall GetTcDrawing( 
  701.             hDrawing d,
  702.             long nDrawing,
  703.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing,
  704.             BOOL Activate) = 0;
  705.         
  706.         virtual HRESULT __stdcall SetActiveDrawing( 
  707.             hDrawing d,
  708.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing) = 0;
  709.         
  710.         virtual HRESULT __stdcall GetActiveDrawing( 
  711.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing) = 0;
  712.         
  713.         virtual HRESULT __stdcall AbortScript( void) = 0;
  714.         
  715.         virtual HRESULT __stdcall FileOpen( 
  716.             LPCTSTR pszPathName,
  717.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing) = 0;
  718.         
  719.         virtual HRESULT __stdcall FileNew( 
  720.             LPCTSTR pszTemplate,
  721.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing) = 0;
  722.         
  723.         virtual HRESULT __stdcall Exit( void) = 0;
  724.         
  725.         virtual HRESULT __stdcall DragNew( 
  726.             UINT nDraggerKind) = 0;
  727.         
  728.         virtual HRESULT __stdcall DragNextPointDown( 
  729.             UINT DraggerKind,
  730.             LONG x,
  731.             LONG y) = 0;
  732.         
  733.         virtual HRESULT __stdcall DragNextPointUp( 
  734.             UINT DraggerKind,
  735.             LONG x,
  736.             LONG y) = 0;
  737.         
  738.         virtual HRESULT __stdcall DragReset( 
  739.             UINT nFlags) = 0;
  740.         
  741.         virtual HRESULT __stdcall DragDraw( 
  742.             LONG x,
  743.             LONG y) = 0;
  744.         
  745.         virtual HRESULT __stdcall DragLocalMenu( 
  746.             UINT nID) = 0;
  747.         
  748.         virtual HRESULT __stdcall DragLocalMenuIndex( 
  749.             int nItem) = 0;
  750.         
  751.         virtual HRESULT __stdcall DragGetLocalMenuSize( 
  752.             int nItem,
  753.             UINT __RPC_FAR *pSize) = 0;
  754.         
  755.         virtual HRESULT __stdcall DragOnEnterKey( 
  756.             UINT __RPC_FAR *pResult) = 0;
  757.         
  758.         virtual HRESULT __stdcall DragOnCtrlEnterKey( 
  759.             UINT __RPC_FAR *pResult) = 0;
  760.         
  761.         virtual HRESULT __stdcall DragEditFieldChanged( 
  762.             int nField,
  763.             LPCSTR str,
  764.             UINT __RPC_FAR *pResult) = 0;
  765.         
  766.         virtual HRESULT __stdcall DragEditFieldLock( 
  767.             UINT nField) = 0;
  768.         
  769.         virtual HRESULT __stdcall DragEditFieldUnlock( 
  770.             UINT nField) = 0;
  771.         
  772.         virtual HRESULT __stdcall DragGetAddedGraphic( 
  773.             hGraphic __RPC_FAR *pg) = 0;
  774.         
  775.         virtual HRESULT __stdcall DragGetKind( 
  776.             UINT __RPC_FAR *pKind) = 0;
  777.         
  778.         virtual HRESULT __stdcall SetSnapMode( 
  779.             UINT nSnaps) = 0;
  780.         
  781.         virtual HRESULT __stdcall GetSnapMode( 
  782.             UINT __RPC_FAR *pSnaps) = 0;
  783.         
  784.         virtual HRESULT __stdcall SelectGraphic( 
  785.             hGraphic g,
  786.             BOOL bAddToSel) = 0;
  787.         
  788.         virtual HRESULT __stdcall GetUserControl( 
  789.             BOOL __RPC_FAR *userControl) = 0;
  790.         
  791.         virtual HRESULT __stdcall SetUserControl( 
  792.             BOOL userControl) = 0;
  793.         
  794.         virtual HRESULT __stdcall GetVisible( 
  795.             BOOL __RPC_FAR *visible) = 0;
  796.         
  797.         virtual HRESULT __stdcall SetVisible( 
  798.             BOOL visible) = 0;
  799.         
  800.         virtual HRESULT __stdcall GetToolID( 
  801.             LPCTSTR name,
  802.             UINT __RPC_FAR *pToolID) = 0;
  803.         
  804.         virtual HRESULT __stdcall RunTool( 
  805.             UINT nToolID) = 0;
  806.         
  807.         virtual HRESULT __stdcall ToolGetInt( 
  808.             int findex,
  809.             int sindex,
  810.             int WhichInt,
  811.             long __RPC_FAR *prop) = 0;
  812.         
  813.         virtual HRESULT __stdcall ToolSetInt( 
  814.             int findex,
  815.             int sindex,
  816.             int WhichInt,
  817.             long prop) = 0;
  818.         
  819.         virtual HRESULT __stdcall ToolGetString( 
  820.             int findex,
  821.             int sindex,
  822.             int WhichString,
  823.             long lcid,
  824.             BSTR __RPC_FAR *prop) = 0;
  825.         
  826.         virtual HRESULT __stdcall ToolSetString( 
  827.             int findex,
  828.             int sindex,
  829.             int WhichString,
  830.             long lcid,
  831.             BSTR prop) = 0;
  832.         
  833.         virtual HRESULT __stdcall ToolGetActive( 
  834.             int findex,
  835.             int sindex,
  836.             BOOL __RPC_FAR *prop) = 0;
  837.         
  838.         virtual HRESULT __stdcall ToolActivate( 
  839.             int findex,
  840.             int sindex) = 0;
  841.         
  842.         virtual HRESULT __stdcall DoPick( 
  843.             int pickType,
  844.             int __RPC_FAR *nAction,
  845.             hDrawing __RPC_FAR *dPick,
  846.             hViewport __RPC_FAR *vpPick,
  847.             hExtents __RPC_FAR *ePick,
  848.             long __RPC_FAR *snapModes) = 0;
  849.         
  850.         virtual HRESULT __stdcall GetCommandBarInfo( 
  851.             COMMANDBARINFO __RPC_FAR *__RPC_FAR *ppRoot,
  852.             BOOL __RPC_FAR *pbDirty) = 0;
  853.         
  854.         virtual HRESULT __stdcall ConnectEvents( 
  855.             IDispatch __RPC_FAR *EventSink,
  856.             DWORD EventMask,
  857.             long __RPC_FAR *ConnectionID) = 0;
  858.         
  859.         virtual HRESULT __stdcall DisconnectEvents( 
  860.             long ConnectionID) = 0;
  861.         
  862.         virtual HRESULT __stdcall QueryMenu( 
  863.             COMMANDBARINFO __RPC_FAR *pItem,
  864.             LPMENUITEMINFO lpmii) = 0;
  865.         
  866.         virtual HRESULT __stdcall ModifyMenu( 
  867.             short what,
  868.             COMMANDBARINFO __RPC_FAR *__RPC_FAR *ppItem,
  869.             LPARAM lParam) = 0;
  870.         
  871.         virtual HRESULT __stdcall OnSelectionChange( 
  872.             BOOL bCreateSelector) = 0;
  873.         
  874.         virtual HRESULT __stdcall OpenCommandBarCfg( 
  875.             LPCTSTR pszFileName,
  876.             long sections) = 0;
  877.         
  878.         virtual HRESULT __stdcall SaveCommandBarCfg( 
  879.             LPCTSTR pszFileName,
  880.             long sections) = 0;
  881.         
  882.         virtual HRESULT __stdcall OnTurboLISP( 
  883.             BOOL bActivate) = 0;
  884.         
  885.         virtual HRESULT __stdcall GoToURL( 
  886.             LPCTSTR pszPath) = 0;
  887.         
  888.         virtual HRESULT __stdcall CloseAll( 
  889.             BOOL __RPC_FAR *bCancel) = 0;
  890.         
  891.         virtual HRESULT __stdcall Help( 
  892.             long lHelpID) = 0;
  893.         
  894.         virtual HRESULT __stdcall UpdateBlocksView( void) = 0;
  895.         
  896.         virtual HRESULT __stdcall OnMessageLoop( 
  897.             BOOL __RPC_FAR *pbContinue,
  898.             BOOL __RPC_FAR *pbRes) = 0;
  899.         
  900.     };
  901.     
  902. #else     /* C style interface */
  903.  
  904.     typedef struct ITcAppVtbl
  905.     {
  906.         BEGIN_INTERFACE
  907.         
  908.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  909.             ITcApp __RPC_FAR * This,
  910.             /* [in] */ REFIID riid,
  911.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  912.         
  913.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  914.             ITcApp __RPC_FAR * This);
  915.         
  916.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  917.             ITcApp __RPC_FAR * This);
  918.         
  919.         HRESULT ( __stdcall __RPC_FAR *GetTcDrawing )( 
  920.             ITcApp __RPC_FAR * This,
  921.             hDrawing d,
  922.             long nDrawing,
  923.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing,
  924.             BOOL Activate);
  925.         
  926.         HRESULT ( __stdcall __RPC_FAR *SetActiveDrawing )( 
  927.             ITcApp __RPC_FAR * This,
  928.             hDrawing d,
  929.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  930.         
  931.         HRESULT ( __stdcall __RPC_FAR *GetActiveDrawing )( 
  932.             ITcApp __RPC_FAR * This,
  933.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  934.         
  935.         HRESULT ( __stdcall __RPC_FAR *AbortScript )( 
  936.             ITcApp __RPC_FAR * This);
  937.         
  938.         HRESULT ( __stdcall __RPC_FAR *FileOpen )( 
  939.             ITcApp __RPC_FAR * This,
  940.             LPCTSTR pszPathName,
  941.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  942.         
  943.         HRESULT ( __stdcall __RPC_FAR *FileNew )( 
  944.             ITcApp __RPC_FAR * This,
  945.             LPCTSTR pszTemplate,
  946.             ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  947.         
  948.         HRESULT ( __stdcall __RPC_FAR *Exit )( 
  949.             ITcApp __RPC_FAR * This);
  950.         
  951.         HRESULT ( __stdcall __RPC_FAR *DragNew )( 
  952.             ITcApp __RPC_FAR * This,
  953.             UINT nDraggerKind);
  954.         
  955.         HRESULT ( __stdcall __RPC_FAR *DragNextPointDown )( 
  956.             ITcApp __RPC_FAR * This,
  957.             UINT DraggerKind,
  958.             LONG x,
  959.             LONG y);
  960.         
  961.         HRESULT ( __stdcall __RPC_FAR *DragNextPointUp )( 
  962.             ITcApp __RPC_FAR * This,
  963.             UINT DraggerKind,
  964.             LONG x,
  965.             LONG y);
  966.         
  967.         HRESULT ( __stdcall __RPC_FAR *DragReset )( 
  968.             ITcApp __RPC_FAR * This,
  969.             UINT nFlags);
  970.         
  971.         HRESULT ( __stdcall __RPC_FAR *DragDraw )( 
  972.             ITcApp __RPC_FAR * This,
  973.             LONG x,
  974.             LONG y);
  975.         
  976.         HRESULT ( __stdcall __RPC_FAR *DragLocalMenu )( 
  977.             ITcApp __RPC_FAR * This,
  978.             UINT nID);
  979.         
  980.         HRESULT ( __stdcall __RPC_FAR *DragLocalMenuIndex )( 
  981.             ITcApp __RPC_FAR * This,
  982.             int nItem);
  983.         
  984.         HRESULT ( __stdcall __RPC_FAR *DragGetLocalMenuSize )( 
  985.             ITcApp __RPC_FAR * This,
  986.             int nItem,
  987.             UINT __RPC_FAR *pSize);
  988.         
  989.         HRESULT ( __stdcall __RPC_FAR *DragOnEnterKey )( 
  990.             ITcApp __RPC_FAR * This,
  991.             UINT __RPC_FAR *pResult);
  992.         
  993.         HRESULT ( __stdcall __RPC_FAR *DragOnCtrlEnterKey )( 
  994.             ITcApp __RPC_FAR * This,
  995.             UINT __RPC_FAR *pResult);
  996.         
  997.         HRESULT ( __stdcall __RPC_FAR *DragEditFieldChanged )( 
  998.             ITcApp __RPC_FAR * This,
  999.             int nField,
  1000.             LPCSTR str,
  1001.             UINT __RPC_FAR *pResult);
  1002.         
  1003.         HRESULT ( __stdcall __RPC_FAR *DragEditFieldLock )( 
  1004.             ITcApp __RPC_FAR * This,
  1005.             UINT nField);
  1006.         
  1007.         HRESULT ( __stdcall __RPC_FAR *DragEditFieldUnlock )( 
  1008.             ITcApp __RPC_FAR * This,
  1009.             UINT nField);
  1010.         
  1011.         HRESULT ( __stdcall __RPC_FAR *DragGetAddedGraphic )( 
  1012.             ITcApp __RPC_FAR * This,
  1013.             hGraphic __RPC_FAR *pg);
  1014.         
  1015.         HRESULT ( __stdcall __RPC_FAR *DragGetKind )( 
  1016.             ITcApp __RPC_FAR * This,
  1017.             UINT __RPC_FAR *pKind);
  1018.         
  1019.         HRESULT ( __stdcall __RPC_FAR *SetSnapMode )( 
  1020.             ITcApp __RPC_FAR * This,
  1021.             UINT nSnaps);
  1022.         
  1023.         HRESULT ( __stdcall __RPC_FAR *GetSnapMode )( 
  1024.             ITcApp __RPC_FAR * This,
  1025.             UINT __RPC_FAR *pSnaps);
  1026.         
  1027.         HRESULT ( __stdcall __RPC_FAR *SelectGraphic )( 
  1028.             ITcApp __RPC_FAR * This,
  1029.             hGraphic g,
  1030.             BOOL bAddToSel);
  1031.         
  1032.         HRESULT ( __stdcall __RPC_FAR *GetUserControl )( 
  1033.             ITcApp __RPC_FAR * This,
  1034.             BOOL __RPC_FAR *userControl);
  1035.         
  1036.         HRESULT ( __stdcall __RPC_FAR *SetUserControl )( 
  1037.             ITcApp __RPC_FAR * This,
  1038.             BOOL userControl);
  1039.         
  1040.         HRESULT ( __stdcall __RPC_FAR *GetVisible )( 
  1041.             ITcApp __RPC_FAR * This,
  1042.             BOOL __RPC_FAR *visible);
  1043.         
  1044.         HRESULT ( __stdcall __RPC_FAR *SetVisible )( 
  1045.             ITcApp __RPC_FAR * This,
  1046.             BOOL visible);
  1047.         
  1048.         HRESULT ( __stdcall __RPC_FAR *GetToolID )( 
  1049.             ITcApp __RPC_FAR * This,
  1050.             LPCTSTR name,
  1051.             UINT __RPC_FAR *pToolID);
  1052.         
  1053.         HRESULT ( __stdcall __RPC_FAR *RunTool )( 
  1054.             ITcApp __RPC_FAR * This,
  1055.             UINT nToolID);
  1056.         
  1057.         HRESULT ( __stdcall __RPC_FAR *ToolGetInt )( 
  1058.             ITcApp __RPC_FAR * This,
  1059.             int findex,
  1060.             int sindex,
  1061.             int WhichInt,
  1062.             long __RPC_FAR *prop);
  1063.         
  1064.         HRESULT ( __stdcall __RPC_FAR *ToolSetInt )( 
  1065.             ITcApp __RPC_FAR * This,
  1066.             int findex,
  1067.             int sindex,
  1068.             int WhichInt,
  1069.             long prop);
  1070.         
  1071.         HRESULT ( __stdcall __RPC_FAR *ToolGetString )( 
  1072.             ITcApp __RPC_FAR * This,
  1073.             int findex,
  1074.             int sindex,
  1075.             int WhichString,
  1076.             long lcid,
  1077.             BSTR __RPC_FAR *prop);
  1078.         
  1079.         HRESULT ( __stdcall __RPC_FAR *ToolSetString )( 
  1080.             ITcApp __RPC_FAR * This,
  1081.             int findex,
  1082.             int sindex,
  1083.             int WhichString,
  1084.             long lcid,
  1085.             BSTR prop);
  1086.         
  1087.         HRESULT ( __stdcall __RPC_FAR *ToolGetActive )( 
  1088.             ITcApp __RPC_FAR * This,
  1089.             int findex,
  1090.             int sindex,
  1091.             BOOL __RPC_FAR *prop);
  1092.         
  1093.         HRESULT ( __stdcall __RPC_FAR *ToolActivate )( 
  1094.             ITcApp __RPC_FAR * This,
  1095.             int findex,
  1096.             int sindex);
  1097.         
  1098.         HRESULT ( __stdcall __RPC_FAR *DoPick )( 
  1099.             ITcApp __RPC_FAR * This,
  1100.             int pickType,
  1101.             int __RPC_FAR *nAction,
  1102.             hDrawing __RPC_FAR *dPick,
  1103.             hViewport __RPC_FAR *vpPick,
  1104.             hExtents __RPC_FAR *ePick,
  1105.             long __RPC_FAR *snapModes);
  1106.         
  1107.         HRESULT ( __stdcall __RPC_FAR *GetCommandBarInfo )( 
  1108.             ITcApp __RPC_FAR * This,
  1109.             COMMANDBARINFO __RPC_FAR *__RPC_FAR *ppRoot,
  1110.             BOOL __RPC_FAR *pbDirty);
  1111.         
  1112.         HRESULT ( __stdcall __RPC_FAR *ConnectEvents )( 
  1113.             ITcApp __RPC_FAR * This,
  1114.             IDispatch __RPC_FAR *EventSink,
  1115.             DWORD EventMask,
  1116.             long __RPC_FAR *ConnectionID);
  1117.         
  1118.         HRESULT ( __stdcall __RPC_FAR *DisconnectEvents )( 
  1119.             ITcApp __RPC_FAR * This,
  1120.             long ConnectionID);
  1121.         
  1122.         HRESULT ( __stdcall __RPC_FAR *QueryMenu )( 
  1123.             ITcApp __RPC_FAR * This,
  1124.             COMMANDBARINFO __RPC_FAR *pItem,
  1125.             LPMENUITEMINFO lpmii);
  1126.         
  1127.         HRESULT ( __stdcall __RPC_FAR *ModifyMenu )( 
  1128.             ITcApp __RPC_FAR * This,
  1129.             short what,
  1130.             COMMANDBARINFO __RPC_FAR *__RPC_FAR *ppItem,
  1131.             LPARAM lParam);
  1132.         
  1133.         HRESULT ( __stdcall __RPC_FAR *OnSelectionChange )( 
  1134.             ITcApp __RPC_FAR * This,
  1135.             BOOL bCreateSelector);
  1136.         
  1137.         HRESULT ( __stdcall __RPC_FAR *OpenCommandBarCfg )( 
  1138.             ITcApp __RPC_FAR * This,
  1139.             LPCTSTR pszFileName,
  1140.             long sections);
  1141.         
  1142.         HRESULT ( __stdcall __RPC_FAR *SaveCommandBarCfg )( 
  1143.             ITcApp __RPC_FAR * This,
  1144.             LPCTSTR pszFileName,
  1145.             long sections);
  1146.         
  1147.         HRESULT ( __stdcall __RPC_FAR *OnTurboLISP )( 
  1148.             ITcApp __RPC_FAR * This,
  1149.             BOOL bActivate);
  1150.         
  1151.         HRESULT ( __stdcall __RPC_FAR *GoToURL )( 
  1152.             ITcApp __RPC_FAR * This,
  1153.             LPCTSTR pszPath);
  1154.         
  1155.         HRESULT ( __stdcall __RPC_FAR *CloseAll )( 
  1156.             ITcApp __RPC_FAR * This,
  1157.             BOOL __RPC_FAR *bCancel);
  1158.         
  1159.         HRESULT ( __stdcall __RPC_FAR *Help )( 
  1160.             ITcApp __RPC_FAR * This,
  1161.             long lHelpID);
  1162.         
  1163.         HRESULT ( __stdcall __RPC_FAR *UpdateBlocksView )( 
  1164.             ITcApp __RPC_FAR * This);
  1165.         
  1166.         HRESULT ( __stdcall __RPC_FAR *OnMessageLoop )( 
  1167.             ITcApp __RPC_FAR * This,
  1168.             BOOL __RPC_FAR *pbContinue,
  1169.             BOOL __RPC_FAR *pbRes);
  1170.         
  1171.         END_INTERFACE
  1172.     } ITcAppVtbl;
  1173.  
  1174.     interface ITcApp
  1175.     {
  1176.         CONST_VTBL struct ITcAppVtbl __RPC_FAR *lpVtbl;
  1177.     };
  1178.  
  1179.     
  1180.  
  1181. #ifdef COBJMACROS
  1182.  
  1183.  
  1184. #define ITcApp_QueryInterface(This,riid,ppvObject)    \
  1185.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1186.  
  1187. #define ITcApp_AddRef(This)    \
  1188.     (This)->lpVtbl -> AddRef(This)
  1189.  
  1190. #define ITcApp_Release(This)    \
  1191.     (This)->lpVtbl -> Release(This)
  1192.  
  1193.  
  1194. #define ITcApp_GetTcDrawing(This,d,nDrawing,ppTcDrawing,Activate)    \
  1195.     (This)->lpVtbl -> GetTcDrawing(This,d,nDrawing,ppTcDrawing,Activate)
  1196.  
  1197. #define ITcApp_SetActiveDrawing(This,d,ppTcDrawing)    \
  1198.     (This)->lpVtbl -> SetActiveDrawing(This,d,ppTcDrawing)
  1199.  
  1200. #define ITcApp_GetActiveDrawing(This,ppTcDrawing)    \
  1201.     (This)->lpVtbl -> GetActiveDrawing(This,ppTcDrawing)
  1202.  
  1203. #define ITcApp_AbortScript(This)    \
  1204.     (This)->lpVtbl -> AbortScript(This)
  1205.  
  1206. #define ITcApp_FileOpen(This,pszPathName,ppTcDrawing)    \
  1207.     (This)->lpVtbl -> FileOpen(This,pszPathName,ppTcDrawing)
  1208.  
  1209. #define ITcApp_FileNew(This,pszTemplate,ppTcDrawing)    \
  1210.     (This)->lpVtbl -> FileNew(This,pszTemplate,ppTcDrawing)
  1211.  
  1212. #define ITcApp_Exit(This)    \
  1213.     (This)->lpVtbl -> Exit(This)
  1214.  
  1215. #define ITcApp_DragNew(This,nDraggerKind)    \
  1216.     (This)->lpVtbl -> DragNew(This,nDraggerKind)
  1217.  
  1218. #define ITcApp_DragNextPointDown(This,DraggerKind,x,y)    \
  1219.     (This)->lpVtbl -> DragNextPointDown(This,DraggerKind,x,y)
  1220.  
  1221. #define ITcApp_DragNextPointUp(This,DraggerKind,x,y)    \
  1222.     (This)->lpVtbl -> DragNextPointUp(This,DraggerKind,x,y)
  1223.  
  1224. #define ITcApp_DragReset(This,nFlags)    \
  1225.     (This)->lpVtbl -> DragReset(This,nFlags)
  1226.  
  1227. #define ITcApp_DragDraw(This,x,y)    \
  1228.     (This)->lpVtbl -> DragDraw(This,x,y)
  1229.  
  1230. #define ITcApp_DragLocalMenu(This,nID)    \
  1231.     (This)->lpVtbl -> DragLocalMenu(This,nID)
  1232.  
  1233. #define ITcApp_DragLocalMenuIndex(This,nItem)    \
  1234.     (This)->lpVtbl -> DragLocalMenuIndex(This,nItem)
  1235.  
  1236. #define ITcApp_DragGetLocalMenuSize(This,nItem,pSize)    \
  1237.     (This)->lpVtbl -> DragGetLocalMenuSize(This,nItem,pSize)
  1238.  
  1239. #define ITcApp_DragOnEnterKey(This,pResult)    \
  1240.     (This)->lpVtbl -> DragOnEnterKey(This,pResult)
  1241.  
  1242. #define ITcApp_DragOnCtrlEnterKey(This,pResult)    \
  1243.     (This)->lpVtbl -> DragOnCtrlEnterKey(This,pResult)
  1244.  
  1245. #define ITcApp_DragEditFieldChanged(This,nField,str,pResult)    \
  1246.     (This)->lpVtbl -> DragEditFieldChanged(This,nField,str,pResult)
  1247.  
  1248. #define ITcApp_DragEditFieldLock(This,nField)    \
  1249.     (This)->lpVtbl -> DragEditFieldLock(This,nField)
  1250.  
  1251. #define ITcApp_DragEditFieldUnlock(This,nField)    \
  1252.     (This)->lpVtbl -> DragEditFieldUnlock(This,nField)
  1253.  
  1254. #define ITcApp_DragGetAddedGraphic(This,pg)    \
  1255.     (This)->lpVtbl -> DragGetAddedGraphic(This,pg)
  1256.  
  1257. #define ITcApp_DragGetKind(This,pKind)    \
  1258.     (This)->lpVtbl -> DragGetKind(This,pKind)
  1259.  
  1260. #define ITcApp_SetSnapMode(This,nSnaps)    \
  1261.     (This)->lpVtbl -> SetSnapMode(This,nSnaps)
  1262.  
  1263. #define ITcApp_GetSnapMode(This,pSnaps)    \
  1264.     (This)->lpVtbl -> GetSnapMode(This,pSnaps)
  1265.  
  1266. #define ITcApp_SelectGraphic(This,g,bAddToSel)    \
  1267.     (This)->lpVtbl -> SelectGraphic(This,g,bAddToSel)
  1268.  
  1269. #define ITcApp_GetUserControl(This,userControl)    \
  1270.     (This)->lpVtbl -> GetUserControl(This,userControl)
  1271.  
  1272. #define ITcApp_SetUserControl(This,userControl)    \
  1273.     (This)->lpVtbl -> SetUserControl(This,userControl)
  1274.  
  1275. #define ITcApp_GetVisible(This,visible)    \
  1276.     (This)->lpVtbl -> GetVisible(This,visible)
  1277.  
  1278. #define ITcApp_SetVisible(This,visible)    \
  1279.     (This)->lpVtbl -> SetVisible(This,visible)
  1280.  
  1281. #define ITcApp_GetToolID(This,name,pToolID)    \
  1282.     (This)->lpVtbl -> GetToolID(This,name,pToolID)
  1283.  
  1284. #define ITcApp_RunTool(This,nToolID)    \
  1285.     (This)->lpVtbl -> RunTool(This,nToolID)
  1286.  
  1287. #define ITcApp_ToolGetInt(This,findex,sindex,WhichInt,prop)    \
  1288.     (This)->lpVtbl -> ToolGetInt(This,findex,sindex,WhichInt,prop)
  1289.  
  1290. #define ITcApp_ToolSetInt(This,findex,sindex,WhichInt,prop)    \
  1291.     (This)->lpVtbl -> ToolSetInt(This,findex,sindex,WhichInt,prop)
  1292.  
  1293. #define ITcApp_ToolGetString(This,findex,sindex,WhichString,lcid,prop)    \
  1294.     (This)->lpVtbl -> ToolGetString(This,findex,sindex,WhichString,lcid,prop)
  1295.  
  1296. #define ITcApp_ToolSetString(This,findex,sindex,WhichString,lcid,prop)    \
  1297.     (This)->lpVtbl -> ToolSetString(This,findex,sindex,WhichString,lcid,prop)
  1298.  
  1299. #define ITcApp_ToolGetActive(This,findex,sindex,prop)    \
  1300.     (This)->lpVtbl -> ToolGetActive(This,findex,sindex,prop)
  1301.  
  1302. #define ITcApp_ToolActivate(This,findex,sindex)    \
  1303.     (This)->lpVtbl -> ToolActivate(This,findex,sindex)
  1304.  
  1305. #define ITcApp_DoPick(This,pickType,nAction,dPick,vpPick,ePick,snapModes)    \
  1306.     (This)->lpVtbl -> DoPick(This,pickType,nAction,dPick,vpPick,ePick,snapModes)
  1307.  
  1308. #define ITcApp_GetCommandBarInfo(This,ppRoot,pbDirty)    \
  1309.     (This)->lpVtbl -> GetCommandBarInfo(This,ppRoot,pbDirty)
  1310.  
  1311. #define ITcApp_ConnectEvents(This,EventSink,EventMask,ConnectionID)    \
  1312.     (This)->lpVtbl -> ConnectEvents(This,EventSink,EventMask,ConnectionID)
  1313.  
  1314. #define ITcApp_DisconnectEvents(This,ConnectionID)    \
  1315.     (This)->lpVtbl -> DisconnectEvents(This,ConnectionID)
  1316.  
  1317. #define ITcApp_QueryMenu(This,pItem,lpmii)    \
  1318.     (This)->lpVtbl -> QueryMenu(This,pItem,lpmii)
  1319.  
  1320. #define ITcApp_ModifyMenu(This,what,ppItem,lParam)    \
  1321.     (This)->lpVtbl -> ModifyMenu(This,what,ppItem,lParam)
  1322.  
  1323. #define ITcApp_OnSelectionChange(This,bCreateSelector)    \
  1324.     (This)->lpVtbl -> OnSelectionChange(This,bCreateSelector)
  1325.  
  1326. #define ITcApp_OpenCommandBarCfg(This,pszFileName,sections)    \
  1327.     (This)->lpVtbl -> OpenCommandBarCfg(This,pszFileName,sections)
  1328.  
  1329. #define ITcApp_SaveCommandBarCfg(This,pszFileName,sections)    \
  1330.     (This)->lpVtbl -> SaveCommandBarCfg(This,pszFileName,sections)
  1331.  
  1332. #define ITcApp_OnTurboLISP(This,bActivate)    \
  1333.     (This)->lpVtbl -> OnTurboLISP(This,bActivate)
  1334.  
  1335. #define ITcApp_GoToURL(This,pszPath)    \
  1336.     (This)->lpVtbl -> GoToURL(This,pszPath)
  1337.  
  1338. #define ITcApp_CloseAll(This,bCancel)    \
  1339.     (This)->lpVtbl -> CloseAll(This,bCancel)
  1340.  
  1341. #define ITcApp_Help(This,lHelpID)    \
  1342.     (This)->lpVtbl -> Help(This,lHelpID)
  1343.  
  1344. #define ITcApp_UpdateBlocksView(This)    \
  1345.     (This)->lpVtbl -> UpdateBlocksView(This)
  1346.  
  1347. #define ITcApp_OnMessageLoop(This,pbContinue,pbRes)    \
  1348.     (This)->lpVtbl -> OnMessageLoop(This,pbContinue,pbRes)
  1349.  
  1350. #endif /* COBJMACROS */
  1351.  
  1352.  
  1353. #endif     /* C style interface */
  1354.  
  1355.  
  1356.  
  1357. HRESULT __stdcall ITcApp_GetTcDrawing_Proxy( 
  1358.     ITcApp __RPC_FAR * This,
  1359.     hDrawing d,
  1360.     long nDrawing,
  1361.     ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing,
  1362.     BOOL Activate);
  1363.  
  1364.  
  1365. void __RPC_STUB ITcApp_GetTcDrawing_Stub(
  1366.     IRpcStubBuffer *This,
  1367.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1368.     PRPC_MESSAGE _pRpcMessage,
  1369.     DWORD *_pdwStubPhase);
  1370.  
  1371.  
  1372. HRESULT __stdcall ITcApp_SetActiveDrawing_Proxy( 
  1373.     ITcApp __RPC_FAR * This,
  1374.     hDrawing d,
  1375.     ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  1376.  
  1377.  
  1378. void __RPC_STUB ITcApp_SetActiveDrawing_Stub(
  1379.     IRpcStubBuffer *This,
  1380.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1381.     PRPC_MESSAGE _pRpcMessage,
  1382.     DWORD *_pdwStubPhase);
  1383.  
  1384.  
  1385. HRESULT __stdcall ITcApp_GetActiveDrawing_Proxy( 
  1386.     ITcApp __RPC_FAR * This,
  1387.     ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  1388.  
  1389.  
  1390. void __RPC_STUB ITcApp_GetActiveDrawing_Stub(
  1391.     IRpcStubBuffer *This,
  1392.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1393.     PRPC_MESSAGE _pRpcMessage,
  1394.     DWORD *_pdwStubPhase);
  1395.  
  1396.  
  1397. HRESULT __stdcall ITcApp_AbortScript_Proxy( 
  1398.     ITcApp __RPC_FAR * This);
  1399.  
  1400.  
  1401. void __RPC_STUB ITcApp_AbortScript_Stub(
  1402.     IRpcStubBuffer *This,
  1403.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1404.     PRPC_MESSAGE _pRpcMessage,
  1405.     DWORD *_pdwStubPhase);
  1406.  
  1407.  
  1408. HRESULT __stdcall ITcApp_FileOpen_Proxy( 
  1409.     ITcApp __RPC_FAR * This,
  1410.     LPCTSTR pszPathName,
  1411.     ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  1412.  
  1413.  
  1414. void __RPC_STUB ITcApp_FileOpen_Stub(
  1415.     IRpcStubBuffer *This,
  1416.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1417.     PRPC_MESSAGE _pRpcMessage,
  1418.     DWORD *_pdwStubPhase);
  1419.  
  1420.  
  1421. HRESULT __stdcall ITcApp_FileNew_Proxy( 
  1422.     ITcApp __RPC_FAR * This,
  1423.     LPCTSTR pszTemplate,
  1424.     ITcDrawing __RPC_FAR *__RPC_FAR *ppTcDrawing);
  1425.  
  1426.  
  1427. void __RPC_STUB ITcApp_FileNew_Stub(
  1428.     IRpcStubBuffer *This,
  1429.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1430.     PRPC_MESSAGE _pRpcMessage,
  1431.     DWORD *_pdwStubPhase);
  1432.  
  1433.  
  1434. HRESULT __stdcall ITcApp_Exit_Proxy( 
  1435.     ITcApp __RPC_FAR * This);
  1436.  
  1437.  
  1438. void __RPC_STUB ITcApp_Exit_Stub(
  1439.     IRpcStubBuffer *This,
  1440.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1441.     PRPC_MESSAGE _pRpcMessage,
  1442.     DWORD *_pdwStubPhase);
  1443.  
  1444.  
  1445. HRESULT __stdcall ITcApp_DragNew_Proxy( 
  1446.     ITcApp __RPC_FAR * This,
  1447.     UINT nDraggerKind);
  1448.  
  1449.  
  1450. void __RPC_STUB ITcApp_DragNew_Stub(
  1451.     IRpcStubBuffer *This,
  1452.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1453.     PRPC_MESSAGE _pRpcMessage,
  1454.     DWORD *_pdwStubPhase);
  1455.  
  1456.  
  1457. HRESULT __stdcall ITcApp_DragNextPointDown_Proxy( 
  1458.     ITcApp __RPC_FAR * This,
  1459.     UINT DraggerKind,
  1460.     LONG x,
  1461.     LONG y);
  1462.  
  1463.  
  1464. void __RPC_STUB ITcApp_DragNextPointDown_Stub(
  1465.     IRpcStubBuffer *This,
  1466.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1467.     PRPC_MESSAGE _pRpcMessage,
  1468.     DWORD *_pdwStubPhase);
  1469.  
  1470.  
  1471. HRESULT __stdcall ITcApp_DragNextPointUp_Proxy( 
  1472.     ITcApp __RPC_FAR * This,
  1473.     UINT DraggerKind,
  1474.     LONG x,
  1475.     LONG y);
  1476.  
  1477.  
  1478. void __RPC_STUB ITcApp_DragNextPointUp_Stub(
  1479.     IRpcStubBuffer *This,
  1480.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1481.     PRPC_MESSAGE _pRpcMessage,
  1482.     DWORD *_pdwStubPhase);
  1483.  
  1484.  
  1485. HRESULT __stdcall ITcApp_DragReset_Proxy( 
  1486.     ITcApp __RPC_FAR * This,
  1487.     UINT nFlags);
  1488.  
  1489.  
  1490. void __RPC_STUB ITcApp_DragReset_Stub(
  1491.     IRpcStubBuffer *This,
  1492.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1493.     PRPC_MESSAGE _pRpcMessage,
  1494.     DWORD *_pdwStubPhase);
  1495.  
  1496.  
  1497. HRESULT __stdcall ITcApp_DragDraw_Proxy( 
  1498.     ITcApp __RPC_FAR * This,
  1499.     LONG x,
  1500.     LONG y);
  1501.  
  1502.  
  1503. void __RPC_STUB ITcApp_DragDraw_Stub(
  1504.     IRpcStubBuffer *This,
  1505.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1506.     PRPC_MESSAGE _pRpcMessage,
  1507.     DWORD *_pdwStubPhase);
  1508.  
  1509.  
  1510. HRESULT __stdcall ITcApp_DragLocalMenu_Proxy( 
  1511.     ITcApp __RPC_FAR * This,
  1512.     UINT nID);
  1513.  
  1514.  
  1515. void __RPC_STUB ITcApp_DragLocalMenu_Stub(
  1516.     IRpcStubBuffer *This,
  1517.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1518.     PRPC_MESSAGE _pRpcMessage,
  1519.     DWORD *_pdwStubPhase);
  1520.  
  1521.  
  1522. HRESULT __stdcall ITcApp_DragLocalMenuIndex_Proxy( 
  1523.     ITcApp __RPC_FAR * This,
  1524.     int nItem);
  1525.  
  1526.  
  1527. void __RPC_STUB ITcApp_DragLocalMenuIndex_Stub(
  1528.     IRpcStubBuffer *This,
  1529.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1530.     PRPC_MESSAGE _pRpcMessage,
  1531.     DWORD *_pdwStubPhase);
  1532.  
  1533.  
  1534. HRESULT __stdcall ITcApp_DragGetLocalMenuSize_Proxy( 
  1535.     ITcApp __RPC_FAR * This,
  1536.     int nItem,
  1537.     UINT __RPC_FAR *pSize);
  1538.  
  1539.  
  1540. void __RPC_STUB ITcApp_DragGetLocalMenuSize_Stub(
  1541.     IRpcStubBuffer *This,
  1542.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1543.     PRPC_MESSAGE _pRpcMessage,
  1544.     DWORD *_pdwStubPhase);
  1545.  
  1546.  
  1547. HRESULT __stdcall ITcApp_DragOnEnterKey_Proxy( 
  1548.     ITcApp __RPC_FAR * This,
  1549.     UINT __RPC_FAR *pResult);
  1550.  
  1551.  
  1552. void __RPC_STUB ITcApp_DragOnEnterKey_Stub(
  1553.     IRpcStubBuffer *This,
  1554.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1555.     PRPC_MESSAGE _pRpcMessage,
  1556.     DWORD *_pdwStubPhase);
  1557.  
  1558.  
  1559. HRESULT __stdcall ITcApp_DragOnCtrlEnterKey_Proxy( 
  1560.     ITcApp __RPC_FAR * This,
  1561.     UINT __RPC_FAR *pResult);
  1562.  
  1563.  
  1564. void __RPC_STUB ITcApp_DragOnCtrlEnterKey_Stub(
  1565.     IRpcStubBuffer *This,
  1566.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1567.     PRPC_MESSAGE _pRpcMessage,
  1568.     DWORD *_pdwStubPhase);
  1569.  
  1570.  
  1571. HRESULT __stdcall ITcApp_DragEditFieldChanged_Proxy( 
  1572.     ITcApp __RPC_FAR * This,
  1573.     int nField,
  1574.     LPCSTR str,
  1575.     UINT __RPC_FAR *pResult);
  1576.  
  1577.  
  1578. void __RPC_STUB ITcApp_DragEditFieldChanged_Stub(
  1579.     IRpcStubBuffer *This,
  1580.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1581.     PRPC_MESSAGE _pRpcMessage,
  1582.     DWORD *_pdwStubPhase);
  1583.  
  1584.  
  1585. HRESULT __stdcall ITcApp_DragEditFieldLock_Proxy( 
  1586.     ITcApp __RPC_FAR * This,
  1587.     UINT nField);
  1588.  
  1589.  
  1590. void __RPC_STUB ITcApp_DragEditFieldLock_Stub(
  1591.     IRpcStubBuffer *This,
  1592.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1593.     PRPC_MESSAGE _pRpcMessage,
  1594.     DWORD *_pdwStubPhase);
  1595.  
  1596.  
  1597. HRESULT __stdcall ITcApp_DragEditFieldUnlock_Proxy( 
  1598.     ITcApp __RPC_FAR * This,
  1599.     UINT nField);
  1600.  
  1601.  
  1602. void __RPC_STUB ITcApp_DragEditFieldUnlock_Stub(
  1603.     IRpcStubBuffer *This,
  1604.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1605.     PRPC_MESSAGE _pRpcMessage,
  1606.     DWORD *_pdwStubPhase);
  1607.  
  1608.  
  1609. HRESULT __stdcall ITcApp_DragGetAddedGraphic_Proxy( 
  1610.     ITcApp __RPC_FAR * This,
  1611.     hGraphic __RPC_FAR *pg);
  1612.  
  1613.  
  1614. void __RPC_STUB ITcApp_DragGetAddedGraphic_Stub(
  1615.     IRpcStubBuffer *This,
  1616.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1617.     PRPC_MESSAGE _pRpcMessage,
  1618.     DWORD *_pdwStubPhase);
  1619.  
  1620.  
  1621. HRESULT __stdcall ITcApp_DragGetKind_Proxy( 
  1622.     ITcApp __RPC_FAR * This,
  1623.     UINT __RPC_FAR *pKind);
  1624.  
  1625.  
  1626. void __RPC_STUB ITcApp_DragGetKind_Stub(
  1627.     IRpcStubBuffer *This,
  1628.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1629.     PRPC_MESSAGE _pRpcMessage,
  1630.     DWORD *_pdwStubPhase);
  1631.  
  1632.  
  1633. HRESULT __stdcall ITcApp_SetSnapMode_Proxy( 
  1634.     ITcApp __RPC_FAR * This,
  1635.     UINT nSnaps);
  1636.  
  1637.  
  1638. void __RPC_STUB ITcApp_SetSnapMode_Stub(
  1639.     IRpcStubBuffer *This,
  1640.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1641.     PRPC_MESSAGE _pRpcMessage,
  1642.     DWORD *_pdwStubPhase);
  1643.  
  1644.  
  1645. HRESULT __stdcall ITcApp_GetSnapMode_Proxy( 
  1646.     ITcApp __RPC_FAR * This,
  1647.     UINT __RPC_FAR *pSnaps);
  1648.  
  1649.  
  1650. void __RPC_STUB ITcApp_GetSnapMode_Stub(
  1651.     IRpcStubBuffer *This,
  1652.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1653.     PRPC_MESSAGE _pRpcMessage,
  1654.     DWORD *_pdwStubPhase);
  1655.  
  1656.  
  1657. HRESULT __stdcall ITcApp_SelectGraphic_Proxy( 
  1658.     ITcApp __RPC_FAR * This,
  1659.     hGraphic g,
  1660.     BOOL bAddToSel);
  1661.  
  1662.  
  1663. void __RPC_STUB ITcApp_SelectGraphic_Stub(
  1664.     IRpcStubBuffer *This,
  1665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1666.     PRPC_MESSAGE _pRpcMessage,
  1667.     DWORD *_pdwStubPhase);
  1668.  
  1669.  
  1670. HRESULT __stdcall ITcApp_GetUserControl_Proxy( 
  1671.     ITcApp __RPC_FAR * This,
  1672.     BOOL __RPC_FAR *userControl);
  1673.  
  1674.  
  1675. void __RPC_STUB ITcApp_GetUserControl_Stub(
  1676.     IRpcStubBuffer *This,
  1677.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1678.     PRPC_MESSAGE _pRpcMessage,
  1679.     DWORD *_pdwStubPhase);
  1680.  
  1681.  
  1682. HRESULT __stdcall ITcApp_SetUserControl_Proxy( 
  1683.     ITcApp __RPC_FAR * This,
  1684.     BOOL userControl);
  1685.  
  1686.  
  1687. void __RPC_STUB ITcApp_SetUserControl_Stub(
  1688.     IRpcStubBuffer *This,
  1689.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1690.     PRPC_MESSAGE _pRpcMessage,
  1691.     DWORD *_pdwStubPhase);
  1692.  
  1693.  
  1694. HRESULT __stdcall ITcApp_GetVisible_Proxy( 
  1695.     ITcApp __RPC_FAR * This,
  1696.     BOOL __RPC_FAR *visible);
  1697.  
  1698.  
  1699. void __RPC_STUB ITcApp_GetVisible_Stub(
  1700.     IRpcStubBuffer *This,
  1701.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1702.     PRPC_MESSAGE _pRpcMessage,
  1703.     DWORD *_pdwStubPhase);
  1704.  
  1705.  
  1706. HRESULT __stdcall ITcApp_SetVisible_Proxy( 
  1707.     ITcApp __RPC_FAR * This,
  1708.     BOOL visible);
  1709.  
  1710.  
  1711. void __RPC_STUB ITcApp_SetVisible_Stub(
  1712.     IRpcStubBuffer *This,
  1713.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1714.     PRPC_MESSAGE _pRpcMessage,
  1715.     DWORD *_pdwStubPhase);
  1716.  
  1717.  
  1718. HRESULT __stdcall ITcApp_GetToolID_Proxy( 
  1719.     ITcApp __RPC_FAR * This,
  1720.     LPCTSTR name,
  1721.     UINT __RPC_FAR *pToolID);
  1722.  
  1723.  
  1724. void __RPC_STUB ITcApp_GetToolID_Stub(
  1725.     IRpcStubBuffer *This,
  1726.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1727.     PRPC_MESSAGE _pRpcMessage,
  1728.     DWORD *_pdwStubPhase);
  1729.  
  1730.  
  1731. HRESULT __stdcall ITcApp_RunTool_Proxy( 
  1732.     ITcApp __RPC_FAR * This,
  1733.     UINT nToolID);
  1734.  
  1735.  
  1736. void __RPC_STUB ITcApp_RunTool_Stub(
  1737.     IRpcStubBuffer *This,
  1738.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1739.     PRPC_MESSAGE _pRpcMessage,
  1740.     DWORD *_pdwStubPhase);
  1741.  
  1742.  
  1743. HRESULT __stdcall ITcApp_ToolGetInt_Proxy( 
  1744.     ITcApp __RPC_FAR * This,
  1745.     int findex,
  1746.     int sindex,
  1747.     int WhichInt,
  1748.     long __RPC_FAR *prop);
  1749.  
  1750.  
  1751. void __RPC_STUB ITcApp_ToolGetInt_Stub(
  1752.     IRpcStubBuffer *This,
  1753.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1754.     PRPC_MESSAGE _pRpcMessage,
  1755.     DWORD *_pdwStubPhase);
  1756.  
  1757.  
  1758. HRESULT __stdcall ITcApp_ToolSetInt_Proxy( 
  1759.     ITcApp __RPC_FAR * This,
  1760.     int findex,
  1761.     int sindex,
  1762.     int WhichInt,
  1763.     long prop);
  1764.  
  1765.  
  1766. void __RPC_STUB ITcApp_ToolSetInt_Stub(
  1767.     IRpcStubBuffer *This,
  1768.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1769.     PRPC_MESSAGE _pRpcMessage,
  1770.     DWORD *_pdwStubPhase);
  1771.  
  1772.  
  1773. HRESULT __stdcall ITcApp_ToolGetString_Proxy( 
  1774.     ITcApp __RPC_FAR * This,
  1775.     int findex,
  1776.     int sindex,
  1777.     int WhichString,
  1778.     long lcid,
  1779.     BSTR __RPC_FAR *prop);
  1780.  
  1781.  
  1782. void __RPC_STUB ITcApp_ToolGetString_Stub(
  1783.     IRpcStubBuffer *This,
  1784.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1785.     PRPC_MESSAGE _pRpcMessage,
  1786.     DWORD *_pdwStubPhase);
  1787.  
  1788.  
  1789. HRESULT __stdcall ITcApp_ToolSetString_Proxy( 
  1790.     ITcApp __RPC_FAR * This,
  1791.     int findex,
  1792.     int sindex,
  1793.     int WhichString,
  1794.     long lcid,
  1795.     BSTR prop);
  1796.  
  1797.  
  1798. void __RPC_STUB ITcApp_ToolSetString_Stub(
  1799.     IRpcStubBuffer *This,
  1800.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1801.     PRPC_MESSAGE _pRpcMessage,
  1802.     DWORD *_pdwStubPhase);
  1803.  
  1804.  
  1805. HRESULT __stdcall ITcApp_ToolGetActive_Proxy( 
  1806.     ITcApp __RPC_FAR * This,
  1807.     int findex,
  1808.     int sindex,
  1809.     BOOL __RPC_FAR *prop);
  1810.  
  1811.  
  1812. void __RPC_STUB ITcApp_ToolGetActive_Stub(
  1813.     IRpcStubBuffer *This,
  1814.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1815.     PRPC_MESSAGE _pRpcMessage,
  1816.     DWORD *_pdwStubPhase);
  1817.  
  1818.  
  1819. HRESULT __stdcall ITcApp_ToolActivate_Proxy( 
  1820.     ITcApp __RPC_FAR * This,
  1821.     int findex,
  1822.     int sindex);
  1823.  
  1824.  
  1825. void __RPC_STUB ITcApp_ToolActivate_Stub(
  1826.     IRpcStubBuffer *This,
  1827.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1828.     PRPC_MESSAGE _pRpcMessage,
  1829.     DWORD *_pdwStubPhase);
  1830.  
  1831.  
  1832. HRESULT __stdcall ITcApp_DoPick_Proxy( 
  1833.     ITcApp __RPC_FAR * This,
  1834.     int pickType,
  1835.     int __RPC_FAR *nAction,
  1836.     hDrawing __RPC_FAR *dPick,
  1837.     hViewport __RPC_FAR *vpPick,
  1838.     hExtents __RPC_FAR *ePick,
  1839.     long __RPC_FAR *snapModes);
  1840.  
  1841.  
  1842. void __RPC_STUB ITcApp_DoPick_Stub(
  1843.     IRpcStubBuffer *This,
  1844.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1845.     PRPC_MESSAGE _pRpcMessage,
  1846.     DWORD *_pdwStubPhase);
  1847.  
  1848.  
  1849. HRESULT __stdcall ITcApp_GetCommandBarInfo_Proxy( 
  1850.     ITcApp __RPC_FAR * This,
  1851.     COMMANDBARINFO __RPC_FAR *__RPC_FAR *ppRoot,
  1852.     BOOL __RPC_FAR *pbDirty);
  1853.  
  1854.  
  1855. void __RPC_STUB ITcApp_GetCommandBarInfo_Stub(
  1856.     IRpcStubBuffer *This,
  1857.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1858.     PRPC_MESSAGE _pRpcMessage,
  1859.     DWORD *_pdwStubPhase);
  1860.  
  1861.  
  1862. HRESULT __stdcall ITcApp_ConnectEvents_Proxy( 
  1863.     ITcApp __RPC_FAR * This,
  1864.     IDispatch __RPC_FAR *EventSink,
  1865.     DWORD EventMask,
  1866.     long __RPC_FAR *ConnectionID);
  1867.  
  1868.  
  1869. void __RPC_STUB ITcApp_ConnectEvents_Stub(
  1870.     IRpcStubBuffer *This,
  1871.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1872.     PRPC_MESSAGE _pRpcMessage,
  1873.     DWORD *_pdwStubPhase);
  1874.  
  1875.  
  1876. HRESULT __stdcall ITcApp_DisconnectEvents_Proxy( 
  1877.     ITcApp __RPC_FAR * This,
  1878.     long ConnectionID);
  1879.  
  1880.  
  1881. void __RPC_STUB ITcApp_DisconnectEvents_Stub(
  1882.     IRpcStubBuffer *This,
  1883.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1884.     PRPC_MESSAGE _pRpcMessage,
  1885.     DWORD *_pdwStubPhase);
  1886.  
  1887.  
  1888. HRESULT __stdcall ITcApp_QueryMenu_Proxy( 
  1889.     ITcApp __RPC_FAR * This,
  1890.     COMMANDBARINFO __RPC_FAR *pItem,
  1891.     LPMENUITEMINFO lpmii);
  1892.  
  1893.  
  1894. void __RPC_STUB ITcApp_QueryMenu_Stub(
  1895.     IRpcStubBuffer *This,
  1896.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1897.     PRPC_MESSAGE _pRpcMessage,
  1898.     DWORD *_pdwStubPhase);
  1899.  
  1900.  
  1901. HRESULT __stdcall ITcApp_ModifyMenu_Proxy( 
  1902.     ITcApp __RPC_FAR * This,
  1903.     short what,
  1904.     COMMANDBARINFO __RPC_FAR *__RPC_FAR *ppItem,
  1905.     LPARAM lParam);
  1906.  
  1907.  
  1908. void __RPC_STUB ITcApp_ModifyMenu_Stub(
  1909.     IRpcStubBuffer *This,
  1910.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1911.     PRPC_MESSAGE _pRpcMessage,
  1912.     DWORD *_pdwStubPhase);
  1913.  
  1914.  
  1915. HRESULT __stdcall ITcApp_OnSelectionChange_Proxy( 
  1916.     ITcApp __RPC_FAR * This,
  1917.     BOOL bCreateSelector);
  1918.  
  1919.  
  1920. void __RPC_STUB ITcApp_OnSelectionChange_Stub(
  1921.     IRpcStubBuffer *This,
  1922.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1923.     PRPC_MESSAGE _pRpcMessage,
  1924.     DWORD *_pdwStubPhase);
  1925.  
  1926.  
  1927. HRESULT __stdcall ITcApp_OpenCommandBarCfg_Proxy( 
  1928.     ITcApp __RPC_FAR * This,
  1929.     LPCTSTR pszFileName,
  1930.     long sections);
  1931.  
  1932.  
  1933. void __RPC_STUB ITcApp_OpenCommandBarCfg_Stub(
  1934.     IRpcStubBuffer *This,
  1935.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1936.     PRPC_MESSAGE _pRpcMessage,
  1937.     DWORD *_pdwStubPhase);
  1938.  
  1939.  
  1940. HRESULT __stdcall ITcApp_SaveCommandBarCfg_Proxy( 
  1941.     ITcApp __RPC_FAR * This,
  1942.     LPCTSTR pszFileName,
  1943.     long sections);
  1944.  
  1945.  
  1946. void __RPC_STUB ITcApp_SaveCommandBarCfg_Stub(
  1947.     IRpcStubBuffer *This,
  1948.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1949.     PRPC_MESSAGE _pRpcMessage,
  1950.     DWORD *_pdwStubPhase);
  1951.  
  1952.  
  1953. HRESULT __stdcall ITcApp_OnTurboLISP_Proxy( 
  1954.     ITcApp __RPC_FAR * This,
  1955.     BOOL bActivate);
  1956.  
  1957.  
  1958. void __RPC_STUB ITcApp_OnTurboLISP_Stub(
  1959.     IRpcStubBuffer *This,
  1960.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1961.     PRPC_MESSAGE _pRpcMessage,
  1962.     DWORD *_pdwStubPhase);
  1963.  
  1964.  
  1965. HRESULT __stdcall ITcApp_GoToURL_Proxy( 
  1966.     ITcApp __RPC_FAR * This,
  1967.     LPCTSTR pszPath);
  1968.  
  1969.  
  1970. void __RPC_STUB ITcApp_GoToURL_Stub(
  1971.     IRpcStubBuffer *This,
  1972.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1973.     PRPC_MESSAGE _pRpcMessage,
  1974.     DWORD *_pdwStubPhase);
  1975.  
  1976.  
  1977. HRESULT __stdcall ITcApp_CloseAll_Proxy( 
  1978.     ITcApp __RPC_FAR * This,
  1979.     BOOL __RPC_FAR *bCancel);
  1980.  
  1981.  
  1982. void __RPC_STUB ITcApp_CloseAll_Stub(
  1983.     IRpcStubBuffer *This,
  1984.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1985.     PRPC_MESSAGE _pRpcMessage,
  1986.     DWORD *_pdwStubPhase);
  1987.  
  1988.  
  1989. HRESULT __stdcall ITcApp_Help_Proxy( 
  1990.     ITcApp __RPC_FAR * This,
  1991.     long lHelpID);
  1992.  
  1993.  
  1994. void __RPC_STUB ITcApp_Help_Stub(
  1995.     IRpcStubBuffer *This,
  1996.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1997.     PRPC_MESSAGE _pRpcMessage,
  1998.     DWORD *_pdwStubPhase);
  1999.  
  2000.  
  2001. HRESULT __stdcall ITcApp_UpdateBlocksView_Proxy( 
  2002.     ITcApp __RPC_FAR * This);
  2003.  
  2004.  
  2005. void __RPC_STUB ITcApp_UpdateBlocksView_Stub(
  2006.     IRpcStubBuffer *This,
  2007.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2008.     PRPC_MESSAGE _pRpcMessage,
  2009.     DWORD *_pdwStubPhase);
  2010.  
  2011.  
  2012. HRESULT __stdcall ITcApp_OnMessageLoop_Proxy( 
  2013.     ITcApp __RPC_FAR * This,
  2014.     BOOL __RPC_FAR *pbContinue,
  2015.     BOOL __RPC_FAR *pbRes);
  2016.  
  2017.  
  2018. void __RPC_STUB ITcApp_OnMessageLoop_Stub(
  2019.     IRpcStubBuffer *This,
  2020.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2021.     PRPC_MESSAGE _pRpcMessage,
  2022.     DWORD *_pdwStubPhase);
  2023.  
  2024.  
  2025.  
  2026. #endif     /* __ITcApp_INTERFACE_DEFINED__ */
  2027.  
  2028. #endif /* __TCGX_LIBRARY_DEFINED__ */
  2029.  
  2030. /* Additional Prototypes for ALL interfaces */
  2031.  
  2032. /* end of Additional Prototypes */
  2033.  
  2034. #ifdef __cplusplus
  2035. }
  2036. #endif
  2037.  
  2038. #endif
  2039.