IApartmentCallback::DoCallback Method

Executes the specified function within an apartment.

Syntax

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 System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also