servprov.idl 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (C) 1999 Francois Gouget
  3. * Copyright (C) 2003 Alexandre Julliard
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. */
  19. import "objidl.idl";
  20. /*****************************************************************************
  21. * IServiceProvider interface
  22. */
  23. [
  24. object,
  25. uuid(6d5140c1-7436-11ce-8034-00aa006009fa),
  26. pointer_default(unique)
  27. ]
  28. interface IServiceProvider : IUnknown
  29. {
  30. typedef [unique] IServiceProvider *LPSERVICEPROVIDER;
  31. [local]
  32. HRESULT QueryService(
  33. [in] REFGUID guidService,
  34. [in] REFIID riid,
  35. [out] void ** ppvObject);
  36. [call_as(QueryService)]
  37. HRESULT RemoteQueryService(
  38. [in] REFGUID guidService,
  39. [in] REFIID riid,
  40. [out, iid_is(riid)] IUnknown ** ppvObject);
  41. }