NAME

IUnknown_QueryService  (SHLWAPI.176)

SYNOPSIS

 HRESULT IUnknown_QueryService
 (
  IUnknown* lpUnknown,
  REFGUID   sid,
  REFIID    riid,
  LPVOID*   lppOut
 )

DESCRIPTION

Retrieve a Service Interface from an object.

PARAMS

lpUnknown [In] Object to get an IServiceProvider interface from.
sid [In] Service Id for IServiceProvider_QueryService call.
riid [In] Function requested for QueryService call.
lppOut [Out] Destination for the service interface pointer.

RETURNS

Success: S_OK. lppOut contains an object providing the requested service

Failure: An HRESULT error code.

NOTES

lpUnknown is expected to support the IServiceProvider interface.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c". source.winehq.org/source/dlls/shlwapi/ordinal.c

Debug channel "shell".


Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.