MgErr PostLVUserEvent(LVUserEventRef ref, void *data);
Posts the given user event. The event and associated data are queued for all event structures registered for the event.
Name | Type | Description |
---|---|---|
ref | LVUserEventRef | Event refnum for the event for which you want to post data. |
data | void* | Address of the data to post. The data must match the type used to create the user event. |
MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.
Value | Corresponding Error Code or Description |
---|---|
noErr | No error. |
mgArgErr | 1 or not a valid user event. |