Constantes de COM dans le Code managéCOM Constants in Managed Code

Managed Package Framework (MPF) rend certaines constantes COM standards disponibles pour le code managé.The Managed Package Framework (MPF) makes some standard COM constants available to managed code. Ces constantes sont répertoriées ci-dessous pour référence.These constants are listed below for your reference.

Valeurs HRESULT booléenneBoolean HRESULT Values

S_FALSE

S_OK

Valeurs HRESULTHRESULT Values

E_ABORT

E_ACCESSDENIED

E_FAIL

E_HANDLE

E_INVALIDARG

E_NOINTERFACE

E_NOTIMPL

E_OUTOFMEMORY

E_PENDING

E_POINTER

E_UNEXPECTED

UNDO_E_CLIENTABORT

Erreurs OLEOLE Errors

OLE_E_ADVF

OLE_E_ADVISENOTSUPPORTED

OLE_E_BLANK

OLE_E_CANT_BINDTOSOURCE

OLE_E_CANT_GETMONIKER

OLE_E_CANTCONVERT

OLE_E_CLASSDIFF

OLE_E_ENUM_NOMORE

OLE_E_INVALIDHWND

OLE_E_INVALIDRECT

OLE_E_NOCACHE

OLE_E_NOCONNECTION

OLE_E_NOSTORAGE

OLE_E_NOT_INPLACEACTIVE

OLE_E_NOTRUNNING

OLE_E_OLEVERB

OLE_E_PROMPTSAVECANCELLED

OLE_E_STATIC

OLE_E_WRONGCOMPOBJ

Erreurs de Dispatch OLEOLE Dispatch Errors

DISP_E_ARRAYISLOCKED

DISP_E_BADCALLEE

DISP_E_BADINDEX

DISP_E_BADPARAMCOUNT

DISP_E_BADVARTYPE

DISP_E_BUFFERTOOSMALL

DISP_E_DIVBYZERO

DISP_E_EXCEPTION

DISP_E_MEMBERNOTFOUND

DISP_E_NONAMEDARGS

DISP_E_NOTACOLLECTION

DISP_E_OVERFLOW

DISP_E_PARAMNOTFOUND

DISP_E_PARAMNOTOPTIONAL

DISP_E_TYPEMISMATCH

DISP_E_UNKNOWNINTERFACE

DISP_E_UNKNOWNLCID

DISP_E_UNKNOWNNAME

Voir aussiSee Also

Gestion des erreurs et valeurs de retourError Handling and Return Values