A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/windows/win32/api/objidlbase/nn-objidlbase-iagileobject below:

IAgileObject (objidlbase.h) - Win32 apps

IAgileObject interface (objidlbase.h)

In this article

Marks an interface as agile across apartments.

Inheritance

The IAgileObject interface inherits from the IUnknown interface.

The IAgileObject interface is a marker interface that indicates that an object is free threaded and can be called from any apartment.

Unlike what happens when aggregating the Free Threaded Marshaler (FTM), implementing the IAgileObject interface doesn't affect what happens when marshaling a call. Instead, the IAgileObject interface is recognized by the Global Interface Table (GIT). When an object that implements the IAgileObject interface is placed in the GIT and localized to another apartment, the object is called directly in the new apartment, rather than marshaling.

Requirements Requirement Value Minimum supported client Windows 8 [desktop apps | UWP apps] Minimum supported server Windows Server 2012 [desktop apps | UWP apps] Target Platform Windows Header objidlbase.h (include Objidlbase.h) See also

IUnknown

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4