TestCom1.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // TestCom1.idl : IDL source for TestCom1.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (TestCom1.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(13597E92-A612-4a6e-908D-2A2F535A267E),
- pointer_default(unique),
- helpstring("adsfdasf")
- ]
- interface IMyAdd: IUnknown
- {
- [helpstring("adsf")]
- HRESULT add([in] int a, [in] int b,[out] int* c);
- };
- [
- uuid(E565170F-79D7-4EFB-9402-4D877139D459),
- version(1.0),
- helpstring("TestCom1 1.0 Type Library")
- ]
- library TESTCOM1Lib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(AAC11C54-F25F-40fe-A4AC-F2829CE37FD7),
- helpstring("asdf")
- ]
- coclass MyTools
- {
- [default] interface IMyAdd;
- };
- };