IUnknown_QueryService.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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(3w) 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(3w) to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".