When a critical problem occurs in an application, WER is able to restart the application automatically after its termination. For Windows Vista, it is a quality requirement that most of the applications that ship with Windows Vista (such as Windows Explorer, Internet Explorer, RegEdit, and the games) are restart aware. Even better, WER also allows an application to recover any important data before being terminated.
A restart-aware application must register itself with WER by calling the following function:
HRESULT RegisterApplicationRestart( PCWSTR pwzCommandline, DWORD dwFlags);
pwzCommandLine parameter is a Unicode string identifying the command line that WER should use ...