|
|
|||||||||||||
Interface IServiceProviderpublic interface IServiceProvider extends IUnknown { // Fields public static final _Guid iid; // Methods public void QueryService(_Guid guidService, _Guid riid, Object[] ppvObject); } This interface provides a method that locates a service specified by a GUID and returns the interface pointer for a requested interface on the service. An object that provides services could implement the IServiceProvider interface as a general way to supply its clients with pointers to the interfaces on the service. Sometimes, the QueryService method returns an interface pointer from an object other than the site object. This happens when a service is provided through a separate control or through some other object that the client communicates with. This interface wraps the Component Object Model (COM) IServiceProvider interface. IUnknown | +--IServiceProvider MethodsQueryServicepublic void QueryService(_Guid guidService, _Guid riid, Object[] ppvObject); Fields
|
© 1998 Microsoft Corporation. All rights reserved. Terms of use. |