The return value contains the instance of the newly created app. The function returns before the new application has started therfore the app can fail. If ShellExecute determines an error the return value is 0 and an exception is raised.
JwShellExecute runs a process with elevated privileges in Windows Vista. If the current is already elevated the function simply opens the given filename. The verb of shellexecute cannot be changed.
This function only works on Windows Vista and newer OS versions.