home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / mimeinfo.idl < prev    next >
Text File  |  1998-04-25  |  2KB  |  53 lines

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