Mycom.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // Mycom.idl : IDL source for Mycom.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (Mycom.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(91E9CE14-AB34-47A7-9071-94EAB0C2CB69),
-
- helpstring("Imyfirst Interface"),
- pointer_default(unique)
- ]
- interface Imyfirst : IUnknown
- {
- [helpstring("method add")] HRESULT add([in] int a,[in] int b,[out] int* c);
- [helpstring("method sub")] HRESULT sub([in] int a,[in] int b,[in] int* c);
- };
- [
- uuid(99167DC9-9A9B-4B44-94DC-5FC6698C3C9D),
- version(1.0),
- helpstring("Mycom 1.0 Type Library")
- ]
- library MYCOMLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(5032CCB8-EB73-4B87-93CB-3D46CA2CD43E),
- helpstring("myfirst Class")
- ]
- coclass myfirst
- {
- [default] interface Imyfirst;
- };
- };