[Bug 49745] SHRunControlPanel implementation

WineHQ Bugzilla wine-bugs at winehq.org
Mon Oct 12 07:47:25 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49745

Nikolay Sivov <bunglehead at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
     Ever confirmed|0                           |1

--- Comment #6 from Nikolay Sivov <bunglehead at gmail.com> ---
(In reply to Kyle_Katarn from comment #5)
> 
> TRACE("(%s, %p)n", debugstr_w(commandLine), parent);
> WCHAR parameters[MAX_PATH] = L"shell32.dll,Control_RunDLL ";
> wcscat(parameters, commandLine);
> return ((INT_PTR)ShellExecuteW(parent, L"open", L"rundll32.exe", parameters,
> NULL, SW_SHOWNORMAL) > 32);

Yes, that's probably fine. You might as well put whole command line as third
argument. At the same time you might as well use same couple of lines instead
of SHRunControlPanel(), which looks stubbed out in current Windows versions.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list