Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
974 B

  1. // ComMD5.idl : IDL source for ComMD5.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (ComMD5.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(B8C307A6-1B55-11D2-BED2-00C04FB6FA0D),
  10. dual,
  11. helpstring("IMD5 Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IMD5 : IDispatch
  15. {
  16. HRESULT MD5Hash([in] BSTR bstrSource,
  17. [out,retval] BSTR* pbstrDigest
  18. );
  19. HRESULT MD5HashASCII([in] BSTR bstrSource,
  20. [out,retval] BSTR* pbstrDigest
  21. );
  22. };
  23. [
  24. uuid(B8C30799-1B55-11D2-BED2-00C04FB6FA0D),
  25. version(1.0),
  26. helpstring("ComMD5 1.0 Type Library")
  27. ]
  28. library COMMD5Lib
  29. {
  30. importlib("stdole32.tlb");
  31. importlib("stdole2.tlb");
  32. [
  33. uuid(B8C307A7-1B55-11D2-BED2-00C04FB6FA0D),
  34. helpstring("CoMD5 Class")
  35. ]
  36. coclass CoMD5
  37. {
  38. [default] interface IMD5;
  39. };
  40. };