Method ITcFileAccessAsync::Check()
Query the state of the file operation.
Syntax
virtual HRESULT TCOMAPI Check();
Parameters
none
Return value
If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.
Particularly interesting error codes are
- ADSERR_DEVICE_TIMEOUT if the timeout (5 seconds) has elapsed.
- ADSERR_DEVICE_PENDING if the file operation is not completed.
Description
This operation checks the state of the previously called file operation.