NAME

IUnknown_ProfferService  (SHLWAPI.514)

SYNOPSIS

 HRESULT IUnknown_ProfferService
 (
  IUnknown*         lpUnknown,
  REFGUID           service,
  IServiceProvider* pService,
  DWORD*            pCookie
 )

DESCRIPTION

Calls IProfferService methods to proffer/revoke specified service.

PARAMS

lpUnknown [In] Object to get an IServiceProvider interface from.
service [In] Service Id for IProfferService::Proffer/Revoke calls.
pService [In] Service to proffer. If NULL::Revoke is called.
pCookie [IO] Group Id for IOleCommandTarget::Exec call.

RETURNS

Success: S_OK. IProffer method returns S_OK

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". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c

Debug channel "shell".


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