Scroll to navigation

IUnknown_ProfferService(3w) Wine API IUnknown_ProfferService(3w)

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(3w) to obtain a pointer to the function.
Implemented in "dlls/shlwapi/ordinal.c".
Debug channel "shell".
Oct 2012 Wine API