December 21, 2024

Dynamic Windows Function [dw_named_event_wait]

Syntax

int dw_named_event_wait(HEV eve, unsigned long timeout)

Parameters

HEV eve: Handle to the semaphore obtained by an get or new call.
unsigned long timeout: Number of milliseconds before timing out or DW_TIMEOUT_INFINITE to never timeout.

Returns

int DW_ERROR_NONE (0) on success.

Description

Waits on the specified semaphore until it becomes posted, or returns immediately if it already is posted.