2OO1, 17 January
NtWaitForMultipleObjects
NtWaitForMultipleObjects
NTSYSAPI
NTSTATUS
NTAPI
NtWaitForMultipleObjects(
IN ULONG ObjectCount,
IN PHANDLE ObjectsArray,
IN OBJECT_WAIT_TYPE WaitType,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER TimeOut OPTIONAL );
- ObjectCount Number of objects in
ObjectsArray array.
- ObjectsArray Pointer to array of
HANDLE. Each must be opened with SYNCHRONIZE
access.
- Alertable If set, thread is signaled
(APC routines queued for this thread are executed).
- TimeOut Time-out interval.
NtWaitForMultipleObjects is used typically to
response for notyfications. For synchronization purposes you should
use NtWaitForSingleObject.
- Documented by:
- Tomasz Nowak
Requirements:
- Library: ntdll.lib
See also:
- NtSignalAndWaitForSingleObject
- NtWaitForSingleObject
- OBJECT_WAIT_TYPE