IServiceProvider struct IServiceProvider : IVTable<IServiceProvider, Vtbl>, IVTable, IComIID Documentation Code public static void PopulateVTable(Vtbl* vtable) public uint AddRef() public HRESULT QueryInterface(Guid* riid, Void** ppvObject) public HRESULT QueryService(Guid* guidService, Guid* riid, Void** ppvObject) Acts as the factory method for any services exposed through an implementation of IServiceProvider. Accepts a CLSID parameter. public uint Release()