Leaked source code of windows server 2003
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.

50 lines
1.1 KiB

  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. hidden
  24. ]
  25. HRESULT MD5HashAsp([in] BSTR bstrSource,
  26. [out,retval] BSTR* pbstrDigest
  27. );
  28. };
  29. [
  30. uuid(B8C30799-1B55-11D2-BED2-00C04FB6FA0D),
  31. version(1.0),
  32. helpstring("ComMD5 1.0 Type Library")
  33. ]
  34. library COMMD5Lib
  35. {
  36. importlib("stdole32.tlb");
  37. importlib("stdole2.tlb");
  38. [
  39. uuid(B8C307A7-1B55-11D2-BED2-00C04FB6FA0D),
  40. helpstring("CoMD5 Class")
  41. ]
  42. coclass CoMD5
  43. {
  44. [default] interface IMD5;
  45. };
  46. };