78 references to WinCodecErrors
PresentationCore (78)
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
435
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (4)
605
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_PALETTEUNAVAILABLE)
660
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_CODECNOTHUMBNAIL)
731
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION)
835
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION)
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
596
if (hr == (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION)
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (3)
649
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_CODECNOTHUMBNAIL)
715
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION)
754
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_NOTINITIALIZED);
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (13)
239
return (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTFOUND;
378
return (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTFOUND;
404
return (int)
WinCodecErrors
.WINCODEC_ERR_INVALIDPARAMETER;
409
return (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION;
436
return (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTFOUND;
441
return (int)
WinCodecErrors
.WINCODEC_ERR_INVALIDPARAMETER;
446
return (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION;
464
return (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTFOUND;
469
return (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION;
562
return (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION;
638
return (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION;
1239
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTFOUND)
1300
if (hr != (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTFOUND)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (4)
722
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW);
1924
return (int)
WinCodecErrors
.WINCODEC_ERR_PALETTEUNAVAILABLE;
1982
return (int)(
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT);
1990
return (int)(
WinCodecErrors
.WINCODEC_ERR_INSUFFICIENTBUFFER);
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (7)
122
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW);
134
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW);
845
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW);
851
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW);
986
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW);
1010
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW);
1066
HRESULT.Check((int)
WinCodecErrors
.WINCODEC_ERR_INSUFFICIENTBUFFER);
Core\CSharp\System\Windows\Media\PixelFormat.cs (2)
614
if (hr == (int)
WinCodecErrors
.WINCODEC_ERR_COMPONENTINITIALIZEFAILURE ||
615
hr == (int)
WinCodecErrors
.WINCODEC_ERR_COMPONENTNOTFOUND)
Graphics\include\wgx_error.cs (6)
75
WGXERR_WRONGSTATE =
WinCodecErrors
.WINCODEC_ERR_WRONGSTATE,
76
WGXERR_UNSUPPORTEDVERSION =
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDVERSION,
77
WGXERR_NOTINITIALIZED =
WinCodecErrors
.WINCODEC_ERR_NOTINITIALIZED,
78
WGXERR_UNSUPPORTEDPIXELFORMAT =
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT,
79
WGXERR_UNSUPPORTED_OPERATION =
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION,
80
WGXERR_PALETTEUNAVAILABLE =
WinCodecErrors
.WINCODEC_ERR_PALETTEUNAVAILABLE,
Graphics\include\wgx_render.cs (37)
818
case (int)
WinCodecErrors
.WINCODEC_ERR_WRONGSTATE:
821
case (int)
WinCodecErrors
.WINCODEC_ERR_VALUEOUTOFRANGE:
822
case (int)
WinCodecErrors
.WINCODEC_ERR_VALUEOVERFLOW:
825
case (int)
WinCodecErrors
.WINCODEC_ERR_UNKNOWNIMAGEFORMAT:
828
case (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDVERSION:
831
case (int)
WinCodecErrors
.WINCODEC_ERR_NOTINITIALIZED:
834
case (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTFOUND:
837
case (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYNOTSUPPORTED:
840
case (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYSIZE:
843
case (int)
WinCodecErrors
.WINCODEC_ERR_CODECPRESENT:
846
case (int)
WinCodecErrors
.WINCODEC_ERR_CODECNOTHUMBNAIL:
849
case (int)
WinCodecErrors
.WINCODEC_ERR_PALETTEUNAVAILABLE:
852
case (int)
WinCodecErrors
.WINCODEC_ERR_CODECTOOMANYSCANLINES:
855
case (int)
WinCodecErrors
.WINCODEC_ERR_INTERNALERROR:
858
case (int)
WinCodecErrors
.WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS:
861
case (int)
WinCodecErrors
.WINCODEC_ERR_COMPONENTINITIALIZEFAILURE:
862
case (int)
WinCodecErrors
.WINCODEC_ERR_COMPONENTNOTFOUND:
865
case (int)
WinCodecErrors
.WINCODEC_ERR_UNEXPECTEDSIZE:
866
case (int)
WinCodecErrors
.WINCODEC_ERR_BADIMAGE: // error decoding image file
869
case (int)
WinCodecErrors
.WINCODEC_ERR_BADHEADER: // error decoding header
872
case (int)
WinCodecErrors
.WINCODEC_ERR_FRAMEMISSING:
875
case (int)
WinCodecErrors
.WINCODEC_ERR_BADMETADATAHEADER:
878
case (int)
WinCodecErrors
.WINCODEC_ERR_BADSTREAMDATA:
881
case (int)
WinCodecErrors
.WINCODEC_ERR_STREAMWRITE:
884
case (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT:
887
case (int)
WinCodecErrors
.WINCODEC_ERR_UNSUPPORTEDOPERATION:
890
case (int)
WinCodecErrors
.WINCODEC_ERR_IMAGESIZEOUTOFRANGE:
893
case (int)
WinCodecErrors
.WINCODEC_ERR_STREAMREAD:
896
case (int)
WinCodecErrors
.WINCODEC_ERR_INVALIDQUERYREQUEST:
899
case (int)
WinCodecErrors
.WINCODEC_ERR_UNEXPECTEDMETADATATYPE:
902
case (int)
WinCodecErrors
.WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT:
905
case (int)
WinCodecErrors
.WINCODEC_ERR_INVALIDQUERYCHARACTER:
908
case (int)
WinCodecErrors
.WINCODEC_ERR_DUPLICATEMETADATAPRESENT:
911
case (int)
WinCodecErrors
.WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE:
914
case (int)
WinCodecErrors
.WINCODEC_ERR_TOOMUCHMETADATA:
917
case (int)
WinCodecErrors
.WINCODEC_ERR_STREAMNOTAVAILABLE:
920
case (int)
WinCodecErrors
.WINCODEC_ERR_INSUFFICIENTBUFFER: