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.

64 lines
1.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 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. cpp_quote("//+-------------------------------------------------------------------------")
  18. cpp_quote("//")
  19. cpp_quote("// Microsoft Windows")
  20. cpp_quote("// Copyright 1995 - 1996 Microsoft Corporation. All Rights Reserved.")
  21. cpp_quote("//")
  22. cpp_quote("// File: servprov.h")
  23. cpp_quote("//")
  24. cpp_quote("//--------------------------------------------------------------------------")
  25. cpp_quote("")
  26. cpp_quote("#pragma comment(lib,\"uuid3.lib\")")
  27. cpp_quote("")
  28. import "objidl.idl";
  29. import "oleidl.idl";
  30. //+---------------------------------------------------------------------------
  31. //
  32. // Copyright (C) Microsoft Corporation, 1995 - 1996.
  33. //
  34. // Contents: IServiceProvoder interface definition
  35. //
  36. //----------------------------------------------------------------------------
  37. cpp_quote("#ifndef _LPSERVICEPROVIDER_DEFINED")
  38. cpp_quote("#define _LPSERVICEPROVIDER_DEFINED")
  39. [
  40. object,
  41. local,
  42. uuid(6d5140c1-7436-11ce-8034-00aa006009fa),
  43. pointer_default(unique)
  44. ]
  45. interface IServiceProvider : IUnknown
  46. {
  47. typedef [unique] IServiceProvider *LPSERVICEPROVIDER;
  48. HRESULT QueryService(
  49. [in] REFGUID rsid,
  50. [in] REFIID iid,
  51. [out] void ** ppvObj);
  52. }
  53. cpp_quote("#endif")