HResult Enumeration

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Fields
 
Name Value Description
E_ABORT 2147500036
E_ACCESS_DENIED 2147942405
E_FAIL 2147500037
E_HANDLE 2147942406
E_INVALID_ARG 2147942487
E_NO_INTERFACE 2147500034
E_NO_TIMPL 2147500033
E_OUT_OF_MEMORY 2147942414
E_POINTER 2147500035
E_UNEXPECTED 2147549183
S_OK 0
[Flags]
 public enum HResult : uint
 {
     S_OK = 0x00000000,
     E_ABORT = 0x80004004,
     E_ACCESS_DENIED = 0x80070005,
     E_FAIL = 0x80004005,
     E_HANDLE = 0x80070006,
     E_INVALID_ARG = 0x80070057,
     E_NO_INTERFACE = 0x80004002,
     E_NO_TIMPL = 0x80004001,
     E_OUT_OF_MEMORY = 0x8007000E,
     E_POINTER = 0x80004003,
     E_UNEXPECTED = 0x8000FFFF,
 }
					
This language is not supported or no code example is available.

In this article

Definition