1// MfcControl.odl : type library source for ActiveX Control project.
2
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.
6
7#include <olectl.h>
8#include <idispids.h>
9
10[ uuid(AC221FB3-A0D8-11D4-833B-005004526AB4), version(1.0),
11  helpfile("MfcControl.hlp"),
12  helpstring("MfcControl ActiveX Control module"),
13  control ]
14library MFCCONTROLLib
15{
16	importlib(STDOLE_TLB);
17	importlib(STDTYPE_TLB);
18
19	//  Primary dispatch interface for CMfcControlCtrl
20
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
30
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	};
51
52	//  Event dispatch interface for CMfcControlCtrl
53
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
60
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	};
67
68	//  Class information for CMfcControlCtrl
69
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	};
77
78
79	//{{AFX_APPEND_ODL}}
80	//}}AFX_APPEND_ODL}}
81};
82//VT_I2
83