Both the Run Commands, Success and Failure, can be used to identify events for the driver to signal.
This is useful for signaling to your own application when the conversion is complete, or when it failed. The driver only opens and signals the events. It is your responsibility to create and block on the events in your own code.
Events are specified using the syntax {EventName}, with Eventname the event that you want to signal. When a run command is an event name, the parameters and start in folder information is ignored.
Below is a code snippet showing the creation of the event and how to wait for the driver to signal the event before continuing the processing of the file.
DWORD dwWait = WAIT_TIMEOUT; |