IObjectProvider interface (shobjidl_core.h)

Exposes a method to discover objects that are named with a GUID from another object. Unlike QueryService this interface will not delegate its functionality on to other objects.

Inheritance

The IObjectProvider interface inherits from the IUnknown interface. IObjectProvider also has these types of members:

Methods

The IObjectProvider interface has these methods.

 
IObjectProvider::QueryObject

Queries for a specified object.

Remarks

Similar to IServiceProvider, except that this method does not imply that unhandled or unknown requests should be forwarded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)