Wait Method

Waits for specified period of time (in milliseconds) while overlapped read/write operation is in progress.

Syntax

Delphi function Wait(time: Cardinal): Boolean;
BCBuilder bool Wait(Cardinal time);

Parameters

time

[in] time (in milliseconds) while waiting of overlapped read/write operation.

Return

Returns true if the operation is completed, false otherwise.