Επεξεργασία

Κοινή χρήση μέσω


IProfferService interface (shobjidl_core.h)

Exposes a general mechanism for objects to offer services to other objects on the same host.

Inheritance

The IProfferService interface inherits from the IUnknown interface. IProfferService also has these types of members:

Methods

The IProfferService interface has these methods.

 
IProfferService::ProfferService

Makes a service available to other objects on the same host.
IProfferService::RevokeService

Makes a service unavailable that had previously been available to other objects through IProfferService::ProfferService.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

IObjectWithSite