IApartmentCallback Interface

Provides methods for making callbacks within an apartment. An apartment is a logical container within a process for objects that share the same thread access requirements.

interface IApartmentCallback : IUnknown {
    HRESULT _stdcall DoCallback(
        [in] SIZE_T pFunc,
        [in] SIZE_T pData
    );
};

Methods

Method Description

IApartmentCallback::DoCallback Method

Executes the specified function within an apartment.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Other Resources

Hosting Interfaces