IUnknown_ProfferService (SHLWAPI.514)
HRESULT IUnknown_ProfferService ( IUnknown* lpUnknown, REFGUID service, IServiceProvider* pService, DWORD* pCookie )
Calls IProfferService methods to proffer/revoke specified service.
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. |
Success: S_OK. IProffer method returns S_OK
Failure: An HRESULT error code.
lpUnknown is expected to support the IServiceProvider interface.
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 Dec 2024.