我在哪里可以找到HOST_E_CLRNOTAVAILABLE(类型HRESULT)常量的声明

Where can I find the declaration of HOST_E_CLRNOTAVAILABLE (type HRESULT) constant?

本文关键字:类型 HRESULT 声明 常量 CLRNOTAVAILABLE 在哪里 HOST      更新时间:2023-10-16

谁能帮我找到头文件,其中包含ExecuteInDefaultAppDomain()函数返回的HRESULTs声明。编译器看不到MSDN中记录的值:HOST_E_CLRNOTAVAILABLE, HOST_E_NOT_OWNER等。注意,<MSCorEE.h>包括在内。

这些代码在CorError.h中。只要#include <corerror.h>就可以了。

在corerror.h中定义。