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: 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

Concepts

IApartmentCallback Interface