WaitAsyncLoadFile

Waits for an async file load operation to complete.

Synopsis

Err WaitAsyncLoadFile(LoadFileInfo *lf)

Description

Waits for completion of an async file load started earlier.

Do not call FinishAsyncLoadFile() after calling this function; this function performs the Finish actions internally.

Arguments

lf
Pointer to the LoadFileInfo structure for the load operation.

Return Value

Returns zero on success or a negative error code.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, blockfile.h

See Also

AsyncLoadFile