TestATL.idl
上传用户:bjlvip
上传日期:2010-02-08
资源大小:744k
文件大小:1k
- // TestATL.idl : IDL source for TestATL.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (TestATL.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(AD25BF75-A6FB-11D2-BB50-006097B5EAFC),
- dual,
- helpstring("ISum Interface"),
- pointer_default(unique)
- ]
- interface ISum : IDispatch
- {
- [id(1), helpstring("method Sum")] HRESULT Sum(int x, int y, [out, retval] int* sum);
- [id(2), helpstring("method sss")] HRESULT sss(int x, int y, [out, retval] int* sum);
- };
- [
- uuid(AD25BF69-A6FB-11D2-BB50-006097B5EAFC),
- version(1.0),
- helpstring("TestATL 1.0 Type Library")
- ]
- library TESTATLLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(AD25BF76-A6FB-11D2-BB50-006097B5EAFC),
- helpstring("InsideCOM Class")
- ]
- coclass InsideCOM
- {
- [default] interface ISum;
- };
- };