Microsoft DirectX 9.0

CAMEvent::Wait

The Wait method blocks until the event is signaled, or until a time-out occurs.

Syntax

BOOL Wait(
    DWORD dwTimeout = INFINITE
);

Parameters

dwTimeout

Optional time-out value, represented in milliseconds.

Return Value

Returns TRUE if the event is signaled. Otherwise, returns FALSE.

Remarks

For auto-reset events, the event is reset to a nonsignaled state when this method returns.

See Also