home *** CD-ROM | disk | FTP | other *** search
- // Simple.odl : type library source for ActiveX Control project.
-
- #include <olectl.h>
- #include <idispids.h>
-
- [ uuid(C48A81E0-4384-11D0-9C9D-000000000000), version(1.0),
- helpfile("Simple.hlp"),
- helpstring("Simple ActiveX Control module"),
- control ]
- library SIMPLELib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
-
- [ uuid(C48A81E1-4384-11D0-9C9D-000000000000),
- helpstring("Dispatch interface for Simple Control"), hidden ]
- dispinterface _DSimple
- {
- properties:
- //{{AFX_ODL_PROP(CSimpleCtrl)
- [id(1)] long P1;
- //}}AFX_ODL_PROP
-
- methods:
- //{{AFX_ODL_METHOD(CSimpleCtrl)
- [id(2)] void M1();
- //}}AFX_ODL_METHOD
- };
-
- [ uuid(C48A81E2-4384-11D0-9C9D-000000000000),
- helpstring("Event interface for Simple Control") ]
- dispinterface _DSimpleEvents
- {
- properties:
- // Event interface has no properties
-
- methods:
- //{{AFX_ODL_EVENT(CSimpleCtrl)
- [id(1)] void E1();
- //}}AFX_ODL_EVENT
- };
-
- [ uuid(26A30A20-42D9-11d0-9C9D-000000000000), oleautomation, dual]
- interface _DSimpleDual : IDispatch
- {
- [propput, id(1)] HRESULT P1([in] long newValue);
- [propget, id(1)] HRESULT P1([out, retval] long* retval);
- [id(2)] HRESULT M1();
- };
-
- [ uuid(C48A81E3-4384-11D0-9C9D-000000000000),
- helpstring("Simple Control"), control ]
- coclass Simple
- {
- dispinterface _DSimple;
- [default] interface _DSimpleDual;
- [default, source] dispinterface _DSimpleEvents;
- };
-
-
- //{{AFX_APPEND_ODL}}
- };
-