home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / vjplusb / activex / inetsdk / include / servprov.idl < prev    next >
Text File  |  1996-06-26  |  2KB  |  68 lines

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1995 - 1996.
  5. //
  6. //  File:       servprov.idl
  7. //
  8. //  Contents:   IServiceProvider description
  9. //
  10. //  Classes:
  11. //
  12. //  Functions:
  13. //
  14. //  History:    02-15-95    JoePe Created
  15. //
  16. //----------------------------------------------------------------------------
  17.  
  18. cpp_quote("//=--------------------------------------------------------------------------=")
  19. cpp_quote("// ServProv.h")
  20. cpp_quote("//=--------------------------------------------------------------------------=")
  21. cpp_quote("// (C) Copyright 1995-1996 Microsoft Corporation.  All Rights Reserved.")
  22. cpp_quote("//")
  23. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  24. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  25. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  26. cpp_quote("// PARTICULAR PURPOSE.")
  27. cpp_quote("//=--------------------------------------------------------------------------=")
  28. cpp_quote("")
  29. cpp_quote("#pragma comment(lib,\"uuid.lib\")")
  30. cpp_quote("")
  31. cpp_quote("//---------------------------------------------------------------------------=")
  32. cpp_quote("// IServiceProvider Interfaces.")
  33. cpp_quote("")
  34.  
  35. import "objidl.idl";
  36. import "oleidl.idl";
  37.  
  38. //+---------------------------------------------------------------------------
  39. //
  40. //  Copyright (C) Microsoft Corporation, 1995 - 1996.
  41. //
  42. //  Contents:  IServiceProvoder interface definition
  43. //
  44. //----------------------------------------------------------------------------
  45.  
  46. cpp_quote("#ifndef _LPSERVICEPROVIDER_DEFINED")
  47. cpp_quote("#define _LPSERVICEPROVIDER_DEFINED")
  48.  
  49. [
  50.         object,
  51.     local,
  52.     uuid(6d5140c1-7436-11ce-8034-00aa006009fa),
  53.         pointer_default(unique)
  54. ]
  55.  
  56.  
  57. interface IServiceProvider : IUnknown
  58. {
  59.     typedef [unique] IServiceProvider *LPSERVICEPROVIDER;
  60.  
  61.     HRESULT QueryService(
  62.                 [in] REFGUID rsid,
  63.                 [in] REFIID iid,
  64.                 [out] void ** ppvObj);
  65. }
  66.  
  67. cpp_quote("#endif")
  68.