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 |
---|---|
Executes the specified function within an apartment. |
Requirements
Platforms: See .NET Framework System Requirements.
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0