Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo036

CheckAsyncLoadFile

Checks for completion of an async file load operation.

Synopsis

Err CheckAsyncLoadFile (LoadFileInfo *lf)

Description

Checks the status of an AsyncLoadFile() started earlier. A zero return value means I/O is still in progress. A negative return value indicates error, and a positive return value indicates successful completion.

You must call FinishAsyncLoadFile() after receiving a non-zero status from this function.

Arguments

  • lf Pointer to the LoadFileInfo structure for the load operation.

Return Value

Returns zero if I/O is still in progress, negative if the I/O failed, or positive if the has I/O completed successfully.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, blockfile.h

See Also

documentation/development/opera/pf25/ppgfldr/smmfldr/ldofldr/01ldo036.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1