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

Definition

Internal IServiceProvider implementation.

 virtual int Microsoft.VisualStudio.OLE.Interop.IServiceProvider.QueryService(Guid % sid, Guid % iid, [Runtime::InteropServices::Out] IntPtr % ppvObj) = Microsoft::VisualStudio::OLE::Interop::IServiceProvider::QueryService;
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

GUID of the service.

iid
Guid Guid Guid

GUID of the requested interface

ppvObj
IntPtr IntPtr IntPtr

Pointer to the object requested.

Returns

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

Implements

Applies to