This function enables event notification for a particular event.
#include <os2.h> PEVCB pevcb; /* Event type. */ PHEVENT phevent; /* Address. */ ULONG rc; /* Return codes indicating success or the type of failure: */ rc = SpiEnableEvent(pevcb, phevent);