function ErrorCodeToStr(Error_Code: HResult): OleVariant; safecall;
Description
The DecodeErrorCode method returns extended error description (see following table):
Error_Code
|
Description
|
PE_Parse_Ok
|
Ok
|
PE_Errors_Ignored
|
Errors were ignored
|
PE_Open_Error
|
Error while opening file
|
PE_Read_Error
|
Error while reading file
|
PE_Not_RIFF_Error
|
File does not match RIFF format
|
PE_Wrong_Size_Error
|
File size is smaller than supposed in RIFF header
|
PE_Not_AVI_Error
|
File does not match AVI format
|
PE_Wrong_Structure_Error
|
Error in AVI structure (wrong chunk size)
|
PE_Close_Error
|
Error while closing file
|
PE_Write_Error
|
Error while writing to file
|
PE_Seek_Error
|
Error while seeking file
|
PE_Memory_Error
|
Memory allocation error
|