什么是 HRESULT

简介: HRESULT 是一种简单的数据类型,通常被属性和 ATL 用作返回值。下表说明各种不同的值。头文件 winerror.h 中包含更多的值。

HRESULT 是一种简单的数据类型,通常被属性和 ATL 用作返回值。下表说明各种不同的值。头文件 winerror.h 中包含更多的值。

名称 说明
S_OK 操作成功 0x00000000
E_UNEXPECTED 意外的失败 0x8000FFFF
E_NOTIMPL 未实现 0x80004001
E_OUTOFMEMORY 未能分配所需的内存 0x8007000E
E_INVALIDARG 一个或多个参数无效 0x80070057
E_NOINTERFACE 不支持此接口 0x80004002
E_POINTER 无效指针 0x80004003
E_HANDLE 无效句柄 0x80070006
E_ABORT 操作已中止 0x80004004
E_FAIL 未指定的失败 0x80004005
E_ACCESSDENIED 一般的访问被拒绝错误 0x80070005
目录
相关文章
|
4月前
|
前端开发 JavaScript 算法
shouldComponentUpdate 是做什么的?
shouldComponentUpdate 是做什么的?
46 0
A. Calculating Function
A. Calculating Function
35 0
Calculating Function
Calculating Function
59 0
Calculating Function
|
算法
HDOJ 1202 The calculation of GPA
HDOJ 1202 The calculation of GPA
73 0
|
缓存 搜索推荐 CDN
RouterModule.forRoot() called twice
RouterModule.forRoot() called twice
109 0
RouterModule.forRoot() called twice
How to resolve error message Pricing procedure could not be determined
How to resolve error message Pricing procedure could not be determined
101 0
How to resolve error message Pricing procedure could not be determined
|
Windows
异常来自 HRESULT:0x80070057 (E_INVALIDARG)
莫名其妙的编译总会报错 异常来自 HRESULT:0x80070057 (E_INVALIDARG) 未能加载程序集....... 几次删除引用然后重新引用程序集还是报错 奔溃中.... 网上搜索还真有解决办法: 解决方法 是 删除 C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary  ASP.NET files 文件夹。
1207 0
TargetNullValue与FallbackValue
原文:TargetNullValue与FallbackValue TargetNullValue与FallbackValue都是BindingBase的属性。  TargetNullValue:获取或设置当源的值为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) 时在目标中使用的值。
936 0
|
JavaScript 安全 前端开发
What Is ElectronJS and Why Should You Use It?
In this three-part tutorial, we will explore how to create a fully functional invoice application using ElectronJS and ApsaraDB for MongoDB.
2615 0
What Is ElectronJS and Why Should You Use It?

热门文章

最新文章