Package::IServiceProvider::QueryService Method (Guid, Guid, IntPtr)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Internal IServiceProvider implementation.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private: virtual int QueryService( Guid% sid, Guid% iid, [OutAttribute] IntPtr% ppvObj ) sealed = IServiceProvider::QueryService
Parameters
- sid
-
Type:
System::Guid
GUID of the service.
- iid
-
Type:
System::Guid
GUID of the requested interface
- ppvObj
-
Type:
System::IntPtr
Pointer to the object requested.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK, otherwise it returns an error code.
Show: