IServiceProvider.QueryService(Guid, Guid, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
int QueryService(Guid % guidService, Guid % riid, [Runtime::InteropServices::Out] IntPtr % ppvObject);
public int QueryService (ref Guid guidService, ref Guid riid, out IntPtr ppvObject);
abstract member QueryService : Guid * Guid * nativeint -> int
Public Function QueryService (ByRef guidService As Guid, ByRef riid As Guid, ByRef ppvObject As IntPtr) As Integer
Parameters
- guidService
- Guid
- riid
- Guid
- ppvObject
-
IntPtr
nativeint
Returns
Remarks
This method is safe to access from any thread.