Infosys在阅读器中打开 / AI 翻译

C/C++ · 0 次阅读

Method ITcFileAccessAsync::Check()

Check the status of the previously called file operation.

Syntax

virtual HRESULT TCOMAPI Check(); 

Method ITcFileAccessAsync::Check() 1: 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.

Parameter

none