The PutEvent function can be used to modify certain aspects of a job after the driver has already been initiated. The PutEvent function takes four arguments:
- Type of modifier
- A pointer to the buffer containing the input data for the modifier
- The length of the buffer containing the input data for the modifier
- A target table index. The target table index argument is not currently used by any modifier.
conn->PutEvent(modiferType, ModifierData, modifierDataLen, tableIndex);
The PutEvent function can be called after the driver initiates and before it terminates. Some modifiers require that the job reach a certain point before they can be used to modify a job while others are available right after the driver initiates but become unavailable later in the job. TD_Unavailable is returned when a modifier cannot be used.