-
Notifications
You must be signed in to change notification settings - Fork 2
/
CudaTextContextMenuHandler_TLB.pas
129 lines (96 loc) · 4.77 KB
/
CudaTextContextMenuHandler_TLB.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
unit CudaTextContextMenuHandler_TLB;
{$MODE Delphi}
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// $Rev: 45604 $
// File generated on 11/24/2019 12:59:37 AM from Type Library described below.
// ************************************************************************ //
// Type Lib: S:\Dev\_src\CudaTextContextMenuHandler\CudaTextContextMenuHandler (1)
// LIBID: {9F5022BF-4CDB-4F5A-B9BE-7971D91B954F}
// LCID: 0
// Helpfile:
// HelpString:
// DepndLst:
// (1) v2.0 stdole, (C:\Windows\SysWOW64\stdole2.tlb)
// SYS_KIND: SYS_WIN32
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
{$ALIGN 4}
interface
uses
Windows, Classes, Variants, Graphics;
const
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
// TypeLibrary Major and minor versions
CudaTextContextMenuHandlerMajorVersion = 1;
CudaTextContextMenuHandlerMinorVersion = 0;
LIBID_CudaTextContextMenuHandler: TGUID = '{9F5022BF-4CDB-4F5A-B9BE-7971D91B954F}';
IID_ICudaTextContextMenuHandler: TGUID = '{2C7271F7-C5F5-4E97-BE65-93552CEB96D1}';
CLASS_CudaTextContextMenuHandler: TGUID = '{424D212F-385A-45BD-B844-12DE48079799}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
ICudaTextContextMenuHandler = interface;
ICudaTextContextMenuHandlerDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
CudaTextContextMenuHandler = ICudaTextContextMenuHandler;
// *********************************************************************//
// Interface: ICudaTextContextMenuHandler
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {2C7271F7-C5F5-4E97-BE65-93552CEB96D1}
// *********************************************************************//
ICudaTextContextMenuHandler = interface(IDispatch)
['{2C7271F7-C5F5-4E97-BE65-93552CEB96D1}']
end;
// *********************************************************************//
// DispIntf: ICudaTextContextMenuHandlerDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {2C7271F7-C5F5-4E97-BE65-93552CEB96D1}
// *********************************************************************//
ICudaTextContextMenuHandlerDisp = dispinterface
['{2C7271F7-C5F5-4E97-BE65-93552CEB96D1}']
end;
// *********************************************************************//
// The Class CoCudaTextContextMenuHandler provides a Create and CreateRemote method to
// create instances of the default interface ICudaTextContextMenuHandler exposed by
// the CoClass CudaTextContextMenuHandler. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoCudaTextContextMenuHandler = class
class function Create: ICudaTextContextMenuHandler;
class function CreateRemote(const MachineName: WideString): ICudaTextContextMenuHandler;
end;
implementation
uses
ComObj;
class function CoCudaTextContextMenuHandler.Create: ICudaTextContextMenuHandler;
begin
Result := CreateComObject(CLASS_CudaTextContextMenuHandler) as ICudaTextContextMenuHandler;
end;
class function CoCudaTextContextMenuHandler.CreateRemote(const MachineName: WideString): ICudaTextContextMenuHandler;
begin
Result := CreateRemoteComObject(MachineName, CLASS_CudaTextContextMenuHandler) as ICudaTextContextMenuHandler;
end;
end.