/* Back up some bytes */
Size = (BytesRead - Size) - 1;
#if defined(WIN32)
+ SetLastError(NO_ERROR);
(unsigned int)SetFilePointer(FileHandle,
-(long)Size,
NULL,
/* Seek to file table */
#if defined(WIN32)
+ SetLastError(NO_ERROR);
(unsigned int)SetFilePointer(FileHandle,
CABHeader.FileTableOffset,
NULL,
FILE_BEGIN);
if (GetLastError() != NO_ERROR) {
DPRINT(MIN_TRACE, ("SetFilePointer() failed.\n"));
+ DPRINT(MIN_TRACE, ("Error: %lu\n", GetLastError()));
return CAB_STATUS_INVALID_CAB;
}
#else
/* Seek to data block */
#if defined(WIN32)
+ SetLastError(NO_ERROR);
(unsigned int)SetFilePointer(FileHandle,
AbsoluteOffset,
NULL,