bump product version to 6.3.0.0.beta1
[LibreOffice.git] / extensions / test / ole / MfcControl / MfcControl.odl
blobf00ebe518179ca98961412991b213a03f75b313f
1 // MfcControl.odl : type library source for ActiveX Control project.
3 // This file will be processed by the Make Type Library (mktyplib) tool to
4 // produce the type library (MfcControl.tlb) that will become a resource in
5 // MfcControl.ocx.
7 #include <olectl.h>
8 #include <idispids.h>
10 [ uuid(AC221FB3-A0D8-11D4-833B-005004526AB4), version(1.0),
11   helpfile("MfcControl.hlp"),
12   helpstring("MfcControl ActiveX Control module"),
13   control ]
14 library MFCCONTROLLib
16         importlib(STDOLE_TLB);
17         importlib(STDTYPE_TLB);
19         //  Primary dispatch interface for CMfcControlCtrl
21         [ uuid(AC221FB4-A0D8-11D4-833B-005004526AB4),
22           helpstring("Dispatch interface for MfcControl Control"), hidden ]
23         dispinterface _DMfcControl
24         {
25                 properties:
26                         // NOTE - ClassWizard will maintain property information here.
27                         //    Use extreme caution when editing this section.
28                         //{{AFX_ODL_PROP(CMfcControlCtrl)
29                         //}}AFX_ODL_PROP
31                 methods:
32                         // NOTE - ClassWizard will maintain method information here.
33                         //    Use extreme caution when editing this section.
34                         //{{AFX_ODL_METHOD(CMfcControlCtrl)
35                         [id(1)] short inShort(short val);
36                         [id(2)] long inLong(long val);
37                         [id(3)] BSTR inString(BSTR* val);
38                         [id(4)] float inFloat(float val);
39                         [id(5)] double inDouble(double val);
40                         [id(6)] VARIANT inVariant(VARIANT val);
41                         [id(7)] IDispatch* inObject(IDispatch* val);
42                         [id(8)] void outShort([out] short* val);
43                         [id(9)] void outLong([out] long* val);
44                         [id(10)] void outString([out] BSTR* val);
45                         [id(11)] void outFloat([out] float* val);
46                         [id(12)] void outDouble([out] double* val);
47                         [id(13)] void outVariant([out] VARIANT* val);
48                         [id(14)] void outObject([out] IDispatch** val);
49                         //}}AFX_ODL_METHOD
50         };
52         //  Event dispatch interface for CMfcControlCtrl
54         [ uuid(AC221FB5-A0D8-11D4-833B-005004526AB4),
55           helpstring("Event interface for MfcControl Control") ]
56         dispinterface _DMfcControlEvents
57         {
58                 properties:
59                         //  Event interface has no properties
61                 methods:
62                         // NOTE - ClassWizard will maintain event information here.
63                         //    Use extreme caution when editing this section.
64                         //{{AFX_ODL_EVENT(CMfcControlCtrl)
65                         //}}AFX_ODL_EVENT
66         };
68         //  Class information for CMfcControlCtrl
70         [ uuid(AC221FB6-A0D8-11D4-833B-005004526AB4),
71           helpstring("MfcControl Control"), control ]
72         coclass MfcControl
73         {
74                 [default] dispinterface _DMfcControl;
75                 [default, source] dispinterface _DMfcControlEvents;
76         };
79         //{{AFX_APPEND_ODL}}
80         //}}AFX_APPEND_ODL}}
82 //VT_I2