Extensible Firmware Interface Specification
36 12/12/00 Version 1.02
3.1.5 CheckEvent()
Summary
Checks whether an event is in the signaled state.
Prototype
EFI_STATUS
CheckEvent (
IN EFI_EVENT Event
);
Parameters
Event The event to check. Type EFI_EVENT is defined in Section 3.1.1.
Description
The CheckEvent() function checks to see whether Event is in the signaled state. If Event is
of type EVT_NOTIFY_SIGNAL, then EFI_INVALID_PARAMETER is returned. If Event is of
type EFI_NOTIFY_WAIT, there are three possibilities:
If Event is in the signaled state, it is cleared and EFI_SUCCESS is returned.
If Event is not in the signaled state and has no notification function, EFI_NOT_READY is
returned.
If Event is not in the signaled state but does have a notification function, the function is
executed. If that causes Event to be signaled, it is cleared and EFI_SUCCESS is returned; if
it does not cause Event to be signaled, EFI_NOT_READY is returned.
Status Codes Returned
EFI_SUCCESS The event is in the signaled state.
EFI_NOT_READY The event is not in the signaled state.