int GetErrorCount(void)
Returns the number of errors encountered during the last read or write operation.