有:
Waits until another thread or process turns on the signal of the event object.type TWaitResult = (wrSignaled, wrTimeout, wrAbandoned, wrError);
function WaitFor(Timeout: DWORD): TWaitResult;DescriptionCall WaitFor to wait until the signal of the event object is turned on. If the signal is not set after Timeout milliseconds, WaitFor returns anyway. WaitFor returns one of the following values:Value MeaningwrSignaled The signal of the event object was set.
wrTimeout The time specified by the Timeout parameter elapsed without the signal being set.
wrAbandoned The event object was destroyed before the Timeout period elapsed.
wrError An error occurred while waiting. Check the LastError property for an error code giving more information.
Waits until another thread or process turns on the signal of the event object.type TWaitResult = (wrSignaled, wrTimeout, wrAbandoned, wrError);
function WaitFor(Timeout: DWORD): TWaitResult;DescriptionCall WaitFor to wait until the signal of the event object is turned on. If the signal is not set after Timeout milliseconds, WaitFor returns anyway. WaitFor returns one of the following values:Value MeaningwrSignaled The signal of the event object was set.
wrTimeout The time specified by the Timeout parameter elapsed without the signal being set.
wrAbandoned The event object was destroyed before the Timeout period elapsed.
wrError An error occurred while waiting. Check the LastError property for an error code giving more information.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货