exautoDemo.idl
Upload User: weisheen
Upload Date: 2022-07-09
Package Size: 19390k
Code Size: 1k
Development Platform:

Visual C++

  1. // exautoDemo.idl : IDL source for exautoDemo.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (exautoDemo.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(5254DB61-8E6E-433B-B2CE-16F0DFBD062A),
  10. dual,
  11. helpstring("IMyAdd Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IMyAdd : IDispatch
  15. {
  16. [id(1), helpstring("method add")] HRESULT add([in] int a, [in] int b,[out,retval] int *c);
  17. };
  18. [
  19. uuid(58B6F89B-4F60-415A-B631-35EB19370164),
  20. version(1.0),
  21. helpstring("exautoDemo 1.0 Type Library")
  22. ]
  23. library EXAUTODEMOLib
  24. {
  25. importlib("stdole32.tlb");
  26. importlib("stdole2.tlb");
  27. [
  28. uuid(AFCE06BA-5127-47DE-B8E5-A49620BA1AB8),
  29. helpstring("MyAdd Class")
  30. ]
  31. coclass MyAdd
  32. {
  33. [default] interface IMyAdd;
  34. };
  35. };