FirstDemo.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // FirstDemo.idl : IDL source for FirstDemo.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (FirstDemo.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(4EFAC58C-6FBA-4D0F-AB9F-A6F1A85D4E42),
- helpstring("IMyAbc Interface"),
- pointer_default(unique)
- ]
- interface IMyAbc : IUnknown
- {
- [helpstring("adsf")] HRESULT add([in] int a, [in] int b, [out] int* c);
- };
- [
- object,
- uuid(4EFAC58C-6FBA-4D0F-AB9F-A6F1A85D4E43),
- helpstring("asdf")
- ]
- interface IHello:IUnknown
- {
- [helpstring("string")] HRESULT hello([in] BSTR name,[out] BSTR* result);
- };
- [
- uuid(2EA1C91A-F9CF-4D04-997A-742A4A47A467),
- version(1.0),
- helpstring("FirstDemo 1.0 Type Library")
- ]
- library FIRSTDEMOLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(01CC9D46-E9B5-440A-8BB4-4DA413D1B3E7),
- helpstring("MyAbc Class")
- ]
- coclass MyAbc
- {
- [default] interface IMyAbc;
- };
- };