mpiControlEventNotifySet
Declaration
MPI_RESULT mpiControlEventNotifySet(MPIControl control, const MPIEventMask eventMask, const MPIEventNotifyData *eventNotifyData);
Required Header: stdmpi.h
Change History: Modified in 04.00. Added in 03.02.00.
Description
mpiControEventNotifySet configures the firmware to generate interrupts based on the control events indicated in the eventMask. If eventNotifyData is not NULL (it should be a pointer to a user supplied MPIEventNotifyData structure), then the data in the structure is written to the controller.
control | a handle to the Control object |
---|---|
eventMask | MPIEventMask structure. |
*eventNotifyData | pointer to MPIEventNotifyData structure or NULL. |
Return Values |
---|
MPIMessageOK |
MPIMessageARG_INVALID |
See Also
mpiControlEventNotifyGet | MPIEventNotifyData