# comtypes.hresult
# COM success and error codes
#
# Note that the codes should be written in decimal notation!

S_OK = 0
S_FALSE = 1

E_UNEXPECTED = -2147418113 #0x8000FFFFL

E_NOTIMPL = -2147467263 #0x80004001L
E_NOINTERFACE = -2147467262 #0x80004002L
E_POINTER = -2147467261 #0x80004003L
E_FAIL = -2147467259 #0x80004005L
E_INVALIDARG = -2147024809 #0x80070057L

CLASS_E_NOAGGREGATION = -2147221232 #0x80040110L
CLASS_E_CLASSNOTAVAILABLE = -2147221231 #0x80040111L

TYPE_E_ELEMENTNOTFOUND = -2147352077 #0x8002802BL

CO_E_CLASSSTRING = -2147221005 #0x800401F3L

# connection point error codes
CONNECT_E_CANNOTCONNECT = -2147220990
CONNECT_E_ADVISELIMIT = -2147220991
CONNECT_E_NOCONNECTION = -2147220992

# DISP_E_... constants are in comtypes.automation
