FExecuteInAppDomainCallback 函数指针FExecuteInAppDomainCallback Function Pointer

指向由公共语言运行时(CLR)调用以执行托管代码的函数。Points to a function that is called by the common language runtime (CLR) to execute managed code.

此函数指针在 .NET Framework 4 中已弃用。This function pointer has been deprecated in the .NET Framework 4.


typedef HRESULT (__stdcall *FExecuteInAppDomainCallback) (  
    [in] void  *cookie  


中指向包含要执行的托管代码的不透明调用方分配的内存的指针。[in] A pointer to opaque caller-allocated memory that contains the managed code to be executed.

此内存的分配和生存期由调用方(即 CLR)控制。The allocation and lifetime of this memory are controlled by the caller (that is, the CLR). 这不是 CLR 托管堆内存。This is not CLR managed-heap memory.


平台: 请参阅系统要求Platforms: See System Requirements.

标头: Mscoree.dllHeader: MSCorEE.h

库: Mscorwks.dllLibrary: MSCorWks.dll

.NET Framework 版本:自 2.0 之后可用Available since 2.0.NET Framework Versions: 自 2.0 之后可用Available since 2.0

另请参阅See also