winapi - How to programmatically open control panel? -


How do I open a custom control panel program like custom.cpl? Specifically, how do I open 64-bit CPL when running as a 32-bit application?

Vista Added support for canonical names so you do not need hard code DL filename and tab index

Example: WinExec ("% systemroot% \ system32 \ control.exe / name Microsoft.WindowsUpdate", SW_NORMAL);

(name is always in English)

See list for

XP / 2000 "control.exe mouse" and some other keywords. , See the same MSDN page for a list (you can possibly control some strata with control .exe)


Comments