Функция _WinAPI_WaitForSingleObject

 ↑  ←  Описание функции


_WinAPI_WaitForSingleObject

Waits until the specified object is in the signaled state

#include <WinAPI.au3>
_WinAPI_WaitForSingleObject($hHandle [, $iTimeout = -1])

Параметры

$hHandle A handle to the object
$iTimeout [необязательный] The time-out interval, in milliseconds. The function returns if the interval elapses, even if
    the conditions specified by the fWaitAll parameter are not met. If 0, the function tests the states of the
    specified objects and returns immediately. If -1, the function's time-out interval never elapses.

Возвращаемое значение

Успех:Indicates the event that caused the function to return
Ошибка:Возвращает -1

См. также

_WinAPI_WaitForMultipleObjects

См. также

Искать WaitForSingleObject в библиотеке MSDN