Επεξεργασία

Κοινή χρήση μέσω


Codec Error Codes

This document contains a list of the Windows Imaging Component (WIC) defined error codes.

WIC Errors by Code

The following table is a list of the error codes used by the WICAPIs sorted in alphabetical order.

Error Code Error Value
WINCODEC_ERR_ABORTED 0x80004004 (E_ABORT)
WINCODEC_ERR_ACCESSDENIED 0x80070005 (E_ACCESSDENIED)
WINCODEC_ERR_ALREADYLOCKED 0x88982f0D
WINCODEC_ERR_BADHEADER 0x88982f61
WINCODEC_ERR_BADIMAGE 0x88982f60
WINCODEC_ERR_BADMETADATAHEADER 0x88982f63
WINCODEC_ERR_BADSTREAMDATA 0x88982f70
WINCODEC_ERR_CODECNOTHUMBNAIL 0x88982f44
WINCODEC_ERR_CODECPRESENT 0x88982f43
WINCODEC_ERR_CODECTOOMANYSCANLINES 0x88982f46
WINCODEC_ERR_COMPONENTINITIALIZEFAILURE 0x88982f8B
WINCODEC_ERR_COMPONENTNOTFOUND 0x88982f50
WINCODEC_ERR_DUPLICATEMETADATAPRESENT 0x88982f8D
WINCODEC_ERR_FRAMEMISSING 0x88982f62
WINCODEC_ERR_GENERIC_ERROR 0x80004005 (E_FAIL)
WINCODEC_ERR_IMAGESIZEOUTOFRANGE 0x88982f51
WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8C
WINCODEC_ERR_INTERNALERROR 0x88982f48
WINCODEC_ERR_INVALIDPARAMETER 0x80070057 (E_INVALIDARG)
WINCODEC_ERR_INVALIDQUERYCHARACTER 0x88982f93
WINCODEC_ERR_INVALIDQUERYREQUEST 0x88982f90
WINCODEC_ERR_INVALIDREGISTRATION 0x88982f8A
WINCODEC_ERR_NOTIMPLEMENTED 0x80004001 (E_NOTIMPL)
WINCODEC_ERR_NOTINITIALIZED 0x88982f0C
WINCODEC_ERR_OUTOFMEMORY 0x8007000E (E_OUTOFMEMORY)
WINCODEC_ERR_PALETTEUNAVAILABLE 0x88982f45
WINCODEC_ERR_PROPERTYNOTFOUND 0x88982f40
WINCODEC_ERR_PROPERTYNOTSUPPORTED 0x88982f41
WINCODEC_ERR_PROPERTYSIZE 0x88982f42
WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE 0x88982f8E
WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT 0x88982f92
WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS 0x88982f49
WINCODEC_ERR_STREAMWRITE 0x88982f71
WINCODEC_ERR_STREAMREAD 0x88982f72
WINCODEC_ERR_STREAMNOTAVAILABLE 0x88982f73
WINCODEC_ERR_TOOMUCHMETADATA 0x88982f52
WINCODEC_ERR_UNKNOWNIMAGEFORMAT 0x88982f07
WINCODEC_ERR_UNEXPECTEDMETADATATYPE 0x88982f91
WINCODEC_ERR_UNEXPECTEDSIZE 0x88982f8F
WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81
WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT 0x88982f80
WINCODEC_ERR_UNSUPPORTEDVERSION 0x88982f0B
WINCODEC_ERR_VALUEOUTOFRANGE 0x88982f05
WINCODEC_ERR_VALUEOVERFLOW INTSAFE_E_ARITHMETIC_OVERFLOW
WINCODEC_ERR_WRONGSTATE 0x88982f04

 

WIC Errors by Value

The following table is a list of the error codes used by the WICAPIs sorted in numerical order.

Error Code Error Value
0x80004005 (E_FAIL) WINCODEC_ERR_GENERIC_ERROR
0x80070057 (E_INVALIDARG) WINCODEC_ERR_INVALIDPARAMETER
0x8007000E (E_OUTOFMEMORY) WINCODEC_ERR_OUTOFMEMORY
0x80004001 (E_NOTIMPL) WINCODEC_ERR_NOTIMPLEMENTED
0x80004004 (E_ABORT) WINCODEC_ERR_ABORTED
0x80070005 (E_ACCESSDENIED) WINCODEC_ERR_ACCESSDENIED
INTSAFE_E_ARITHMETIC_OVERFLOW WINCODEC_ERR_VALUEOVERFLOW
0x88982f04 WINCODEC_ERR_WRONGSTATE
0x88982f05 WINCODEC_ERR_VALUEOUTOFRANGE
0x88982f07 WINCODEC_ERR_UNKNOWNIMAGEFORMAT
0x88982f0B WINCODEC_ERR_UNSUPPORTEDVERSION
0x88982f0C WINCODEC_ERR_NOTINITIALIZED
0x88982f0D WINCODEC_ERR_ALREADYLOCKED
0x88982f40 WINCODEC_ERR_PROPERTYNOTFOUND
0x88982f41 WINCODEC_ERR_PROPERTYNOTSUPPORTED
0x88982f42 WINCODEC_ERR_PROPERTYSIZE
0x88982f43 WINCODEC_ERR_CODECPRESENT
0x88982f44 WINCODEC_ERR_CODECNOTHUMBNAIL
0x88982f45 WINCODEC_ERR_PALETTEUNAVAILABLE
0x88982f46 WINCODEC_ERR_CODECTOOMANYSCANLINES
0x88982f48 WINCODEC_ERR_INTERNALERROR
0x88982f49 WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS
0x88982f50 WINCODEC_ERR_COMPONENTNOTFOUND
0x88982f51 WINCODEC_ERR_IMAGESIZEOUTOFRANGE
0x88982f52 WINCODEC_ERR_TOOMUCHMETADATA
0x88982f60 WINCODEC_ERR_BADIMAGE
0x88982f61 WINCODEC_ERR_BADHEADER
0x88982f62 WINCODEC_ERR_FRAMEMISSING
0x88982f63 WINCODEC_ERR_BADMETADATAHEADER
0x88982f70 WINCODEC_ERR_BADSTREAMDATA
0x88982f71 WINCODEC_ERR_STREAMWRITE
0x88982f72 WINCODEC_ERR_STREAMREAD
0x88982f73 WINCODEC_ERR_STREAMNOTAVAILABLE
0x88982f80 WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT
0x88982f81 WINCODEC_ERR_UNSUPPORTEDOPERATION
0x88982f8A WINCODEC_ERR_INVALIDREGISTRATION
0x88982f8B WINCODEC_ERR_COMPONENTINITIALIZEFAILURE
0x88982f8C WINCODEC_ERR_INSUFFICIENTBUFFER
0x88982f8D WINCODEC_ERR_DUPLICATEMETADATAPRESENT
0x88982f8E WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE
0x88982f8F WINCODEC_ERR_UNEXPECTEDSIZE
0x88982f90 WINCODEC_ERR_INVALIDQUERYREQUEST
0x88982f91 WINCODEC_ERR_UNEXPECTEDMETADATATYPE
0x88982f92 WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT
0x88982f93 WINCODEC_ERR_INVALIDQUERYCHARACTER