Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IServiceProvider (Interfaces)
 
.
Summary
The IServiceProvider interface is a generic access mechanism to locate a globally unique identifier (GUID) identified service

C# Definition:

[ComImport]
[Guid("6d5140c1-7436-11ce-8034-00aa006009fa")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IServiceProvider {
     [return: MarshalAs(UnmanagedType.IUnknown)]
     object QueryService([In] ref Guid guidService, [In] ref Guid riid); }

VB Definition:

<ComImport> _
<Guid("6d5140c1-7436-11ce-8034-00aa006009fa")> _
<InterfaceType(ComInterfaceType.InterfaceIsIUnknown)>
Interface IServiceProvider
   TODO
End Interface

User-Defined Types:

None.

Notes:

The IServiceProvider defined here is different with "System.IServiceProvider". To remove name collisition, rename "IServiceProvider" to other name such as "UCOMIServiceProvider". Otherwise, you should use fully qualified namespace to the interface since you will normally use "using System" directive.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions