Serial Framework C++ Edition

◆ Wait() [3/4]

static int Wait ( const unsigned long  Count,
const HANDLE *  Events,
unsigned long &  Index 
)
static

Waits until one or all of the specified objects are in the signaled state or the time-out interval elapses.

Parameters
CountThe number of object handles in the array pointed to by Events. The maximum number of object handles is 64.
EventsAn array of object handles.
IndexIf the function completed with success on output contains the index of the signaled object.
Returns
If the function succeed the returns value is WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.