Share via


IApartmentCallback::DoCallback Method

Executes the specified function within an apartment.

HRESULT _stdcall DoCallback(
    [in] SIZE_T pFunc,
    [in] SIZE_T pData
);

Parameters

  • pFunc
    [in] A pointer to the function to be executed within the apartment.

  • pData
    [in] A pointer to the function's argument.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

IApartmentCallback Interface