Home COM GDI+ WebBrowser Data Access

IProfferService Interface

 

IID_IProfferService

{CB728B20-F786-11CE-92AD-00AA00A74CD0}

 

 

This interface provides a general mechanism for objects to offer services to other objects sited on the same host.

 

Remarks

Objects exposing a service first call QueryInterface on their host for this interface, then execute IProfferService::ProfferService.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IProfferService Methods

Description

ProfferService

Makes a service available to other objects cited on the same host.

RevokeService

Makes a service unavailable that was previously available to other objects using IProfferService::ProfferService

 

ProfferService

 

FUNCTION IProfferService_ProfferService ( _
  BYVAL pthis AS DWORD PTR _
, BYREF rguidService AS GUID _
, BYVAL psp AS DWORD _
, BYREF pdwCookie AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IProfferService_ProfferService (pthis, rguidService, psp, pdwCookie) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

RevokeService

 

FUNCTION IProfferService_RevokeService ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL dwCookie AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IProfferService_RevokeService (pthis, dwCookie) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:42:41 +0200