SmartPtrDemo.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // SmartPtrDemo.idl : IDL source for SmartPtrDemo.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (SmartPtrDemo.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(DA631CA4-7924-44A7-90F3-23B6C0F4004F),
- dual,
- helpstring("IMyAbc Interface"),
- pointer_default(unique)
- ]
- interface IMyAbc : IDispatch
- {
- [id(1), helpstring("method Hello")] HRESULT Hello([in] BSTR name, [out] BSTR* bstrResult);
- };
- [
- uuid(AC4FF44A-3154-4CE9-8022-394A018C2A60),
- version(1.0),
- helpstring("SmartPtrDemo 1.0 Type Library")
- ]
- library SMARTPTRDEMOLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(F1FC69A8-2470-4744-A8BA-705DE4707D09),
- helpstring("MyAbc Class")
- ]
- coclass MyAbc
- {
- [default] interface IMyAbc;
- };
- };