Common HRESULT Values
he following HRESULT values are the most common. More values are contained in the header file Winerror.h.
Here are the values listed alphabetically by name.
Name |
Description |
Value |
S_OK |
Operation successful |
0x00000000 |
E_ABORT |
Operation aborted |
0x80004004 |
E_ACCESSDENIED |
General access denied error |
0x80070005 |
E_FAIL |
Unspecified failure |
0x80004005 |
E_HANDLE |
Handle that is not valid |
0x80070006 |
E_INVALIDARG |
One or more arguments are not valid |
0x80070057 |
E_NOINTERFACE |
No such interface supported |
0x80004002 |
E_NOTIMPL |
Not implemented |
0x80004001 |
E_OUTOFMEMORY |
Failed to allocate necessary memory |
0x8007000E |
E_POINTER |
Pointer that is not valid |
0x80004003 |
E_UNEXPECTED |
Unexpected failure |
0x8000FFFF |
Here are the values listed in numerical order by value.
Value |
Name |
Description |
0x00000000 |
S_OK |
Operation successful |
0x80004001 |
E_NOTIMPL |
Not implemented |
0x80004002 |
E_NOINTERFACE |
No such interface supported |
0x80004003 |
E_POINTER |
Pointer that is not valid |
0x80004004 |
E_ABORT |
Operation aborted |
0x80004005 |
E_FAIL |
Unspecified failure |
0x8000FFFF |
E_UNEXPECTED |
Unexpected failure |
0x80070005 |
E_ACCESSDENIED |
General access denied error |
0x80070006 |
E_HANDLE |
Handle that is not valid |
0x8007000E |
E_OUTOFMEMORY |
Failed to allocate necessary memory |
0x80070057 |
E_INVALIDARG |
One or more arguments are not valid |
'3.구현 > VC++' 카테고리의 다른 글
DirectX 간단한 사용 강좌(이준곤님글) (0) | 2007.02.16 |
---|---|
Win32 쓰레드에서 동기화 방법 (0) | 2007.02.16 |
Dialog 기반 프로그램에서 OnIdle (WM_IDLE) 구현하기 (WM_KICKIDLE사용) (2) | 2007.01.30 |
[수정중]윈도우에서 GetWindowRect, GetCllientRect를 통해 크기 얻기 (2) | 2006.11.23 |
자동으로 빌드 넘버 올려주는 매크로 (0) | 2006.11.22 |