Package.IServiceProvider.QueryService(Guid, Guid, IntPtr) Package.IServiceProvider.QueryService(Guid, Guid, IntPtr) Method

Definition

Internal IServiceProvider implementation.

int IServiceProvider.QueryService (ref Guid sid, ref Guid iid, out IntPtr ppvObj);
Function QueryService (ByRef sid As Guid, ByRef iid As Guid, ByRef ppvObj As IntPtr) As Integer Implements IServiceProvider.QueryService
Parameters
sid
Guid Guid

GUID of the service.

iid
Guid Guid

GUID of the requested interface

ppvObj
IntPtr IntPtr

Pointer to the object requested.

Returns

If the method succeeds, it returns S_OK, otherwise it returns an error code.

Applies to