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.

52 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-1998.
  5. //
  6. // File: mimeinfo.idl
  7. //
  8. // Contents: IMimeInfo interface definition
  9. //
  10. //
  11. //--------------------------------------------------------------------------
  12. cpp_quote("//=--------------------------------------------------------------------------=")
  13. cpp_quote("// MimeInfo.h")
  14. cpp_quote("//=--------------------------------------------------------------------------=")
  15. cpp_quote("// (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.")
  16. cpp_quote("//")
  17. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  18. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  19. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  20. cpp_quote("// PARTICULAR PURPOSE.")
  21. cpp_quote("//=--------------------------------------------------------------------------=")
  22. cpp_quote("")
  23. cpp_quote("#pragma comment(lib,\"uuid.lib\")")
  24. cpp_quote("")
  25. cpp_quote("//--------------------------------------------------------------------------")
  26. cpp_quote("// IMimeInfo Interfaces.")
  27. cpp_quote("")
  28. import "objidl.idl";
  29. [
  30. local,
  31. object,
  32. uuid(F77459A0-BF9A-11cf-BA4E-00C04FD70816),
  33. pointer_default(unique)
  34. ]
  35. interface IMimeInfo : IUnknown
  36. {
  37. typedef [unique] IMimeInfo *LPMIMEINFO;
  38. HRESULT GetMimeCLSIDMapping
  39. (
  40. [out] UINT *pcTypes,
  41. [out] LPCSTR * *ppszTypes,
  42. [out] CLSID * *ppclsID
  43. );
  44. }
  45. cpp_quote("#define SID_IMimeInfo IID_IMimeInfo")