Emulates the next call to
Error and automatically clicks the "OK" button.
// Automatically close the next Error dialog box
EmulateError()
// Process
// ...
Error("An error occurred during the process.")
// The message is automatically closed
Remarks
Difference of message type
The order of the
EmulateXXX functions must respect the display order of
Error,
Info, ... Otherwise, a fatal error will occur.
Component: wd270testexe.dll