OpenDOF Project
PCRStatus PCREvent_Wait ( PCREvent  evt,
uint32  time 
)

Wait for an event to occur.

If the event is already signaled, this operation will return without blocking.

The event must be a valid PCREvent. The event must not be destroyed while it is being waited upon.

Parameters
evtThe event for which to wait. This may not be NULL.
timeMaximum time to wait, in milliseconds, or PCRTIMEOUT_FOREVER to wait indefinitely.
Returns
Returns a status code:
  • PCRSTATUS_OK if the event was signaled before the timeout expired.
  • PCRSTATUS_TIMEOUT if the event was not signaled prior to the timeout.
core-c-dof-pcr-dev Version 7.0.1 Build 0
2017-04-11