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
10 [ uuid(AC221FB3-A0D8-11D4-833B-005004526AB4), version(1.0),
11 helpfile("MfcControl.hlp"),
12 helpstring("MfcControl ActiveX Control module"),
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
26 // NOTE - ClassWizard will maintain property information here.
27 // Use extreme caution when editing this section.
28 //{{AFX_ODL_PROP(CMfcControlCtrl)
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);
52 // Event dispatch interface for CMfcControlCtrl
54 [ uuid(AC221FB5-A0D8-11D4-833B-005004526AB4),
55 helpstring("Event interface for MfcControl Control") ]
56 dispinterface _DMfcControlEvents
59 // Event interface has no properties
62 // NOTE - ClassWizard will maintain event information here.
63 // Use extreme caution when editing this section.
64 //{{AFX_ODL_EVENT(CMfcControlCtrl)
68 // Class information for CMfcControlCtrl
70 [ uuid(AC221FB6-A0D8-11D4-833B-005004526AB4),
71 helpstring("MfcControl Control"), control ]
74 [default] dispinterface _DMfcControl;
75 [default, source] dispinterface _DMfcControlEvents;