27 Feb
2015
27 Feb
'15
8:49 a.m.
2015-02-26 7:36 GMT-07:00 Nikolay Sivov <bunglehead(a)gmail.com>:
On 26.02.2015 17:01, Robert Naumann wrote:
- FIXME("(%s, %p): stub\n", debugstr_w(commandLine), parent); - return FALSE; + if((int)ShellExecute(parent,NULL,commandLine,NULL,NULL,SW_NORMAL)>32) + return TRUE; + else + return FALSE;
Why 32? Also please don't remove tracing line.
MSDN says that ShellExecute returns a value of 32 or less if it fails, and a value greater than 32 if it succeeds: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762153%28v=vs.85%... -Alex