mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 10:07:11 -06:00
21.02
This commit is contained in:
@@ -62,12 +62,21 @@ STREAM_INTERFACE(ISequentialOutStream, 0x02)
|
||||
*/
|
||||
};
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#ifdef __HRESULT_FROM_WIN32
|
||||
#define HRESULT_WIN32_ERROR_NEGATIVE_SEEK __HRESULT_FROM_WIN32(ERROR_NEGATIVE_SEEK)
|
||||
#else
|
||||
#define HRESULT_WIN32_ERROR_NEGATIVE_SEEK HRESULT_FROM_WIN32(ERROR_NEGATIVE_SEEK)
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#define HRESULT_WIN32_ERROR_NEGATIVE_SEEK MY__E_ERROR_NEGATIVE_SEEK
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/* Seek() Function
|
||||
If you seek before the beginning of the stream, Seek() function returns error code:
|
||||
Recommended error code is __HRESULT_FROM_WIN32(ERROR_NEGATIVE_SEEK).
|
||||
|
||||
Reference in New Issue
Block a user