home *** CD-ROM | disk | FTP | other *** search
- // DES.odl : type library source for ActiveX Control project.
-
- // This file will be processed by the Make Type Library (mktyplib) tool to
- // produce the type library (DES.tlb) that will become a resource in
- // DES.ocx.
-
- #include <olectl.h>
- #include <idispids.h>
-
- [ uuid(07D7C6E4-AE76-11D0-9A6F-000100000000), version(1.0),
- helpfile("DES.hlp"),
- helpstring("DES ActiveX Control module"),
- control ]
- library DESLib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
-
- // Primary dispatch interface for CDESCtrl
-
- [ uuid(07D7C6E5-AE76-11D0-9A6F-000100000000),
- helpstring("Dispatch interface for DES Control"), hidden ]
- dispinterface _DDES
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CDESCtrl)
- [id(1),hidden] VARIANT Key;
- //}}AFX_ODL_PROP
-
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CDESCtrl)
- [id(2)] void EncryptFile(BSTR PlaintextFile, BSTR CrypttextFile, [optional] VARIANT FailIfExists);
- [id(3)] BSTR EncryptString(VARIANT Plaintext);
- [id(4)] BSTR DecryptString(VARIANT Crypttext);
- [id(5)] void DecryptFile(BSTR CrypttextFile, BSTR PlaintextFile, [optional]VARIANT FailIfExists);
- //}}AFX_ODL_METHOD
-
- [id(DISPID_ABOUTBOX)] void AboutBox();
- };
-
- // Event dispatch interface for CDESCtrl
-
- [ uuid(07D7C6E6-AE76-11D0-9A6F-000100000000),
- helpstring("Event interface for DES Control") ]
- dispinterface _DDESEvents
- {
- properties:
- // Event interface has no properties
-
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CDESCtrl)
- //}}AFX_ODL_EVENT
- };
-
- // Class information for CDESCtrl
-
- [ uuid(07D7C6E7-AE76-11D0-9A6F-000100000000), licensed,
- helpstring("DES Control"), control ]
- coclass DES
- {
- [default] dispinterface _DDES;
- [default, source] dispinterface _DDESEvents;
- };
-
-
- //{{AFX_APPEND_ODL}}
- //}}AFX_APPEND_ODL}}
- };
-