Todd Saylor

Looking at the control panel documents used by settings.exe (for example, rootcdma.cpl.xml), we can see that many control panels use ".cpl.xml" documents but others supply only a clsid value. The file-based control panels can be launched from the command line using a command such as this:

\windows\settings.exe about.cpl.xml

Is there a corresponding command line method that can be used to launch the clsid-based control panels And if not, perhaps there is a COM-based method that can be used

Code Snippet

<stinger-controlpanel-doc>
<cpl-title res="30056"/>
<cpl-link href="telephonygsm.cpl.xml" res="30038"/>
<cpl-link href="soundsgsm.cpl.xml" res="30030"/>
<cpl-link clsid="{4B7CEEDD-7179-4a8b-AB92-340545B0AB07}" res="16330"/>

...

</stinger-controlpanel-doc>





Re: Smart Devices General Launching a clsid-based control panel

Zero Dai - MSFT

Hi Saylor,

Could you please tell us more about clsid-based control panel As far as I know, if you want to open some system pre-defined control panel, you can only launch settings.exe with correspondant .cpl.xml file AS parameter.

Thanks,

Zero Dai - MSFT






Re: Smart Devices General Launching a clsid-based control panel

Todd Saylor

Thanks for responding. I can't tell you much about the clsid option, as I've never found any documentation on this. If there is any documentation available on this I would love to see it. But if you look at the abbreviated file in my initial post, you can see what the root xml file looks like. I've been able to gather that this is the file that drives the menu on the normal settings.exe (when run without parameters). Several of those lines use the familiar .cpl.xml files, but some of them just provide a clsid instead. For example, the Power settings, which is the last one in that example file. There is no .cpl.xml file in that case so I don't know how to launch it (actually there is a power.cpl.xml file on this device, the Vox, but that particular file is not valid and returns an error if you try to load it directly).

<cpl-link clsid="{4B7CEEDD-7179-4a8b-AB92-340545B0AB07}" res="16330"/>

Some recent devices are using this method for certain customized control panels, but I don't know if there is any way to launch those panels directly without going through the settings menu (and for that matter, I don't automatically know which panel to launch since I'm not aware of anything that ties that clsid to the name of the control panel I seek).

- Todd





Re: Smart Devices General Launching a clsid-based control panel

Todd Saylor

Is there any documentation available that discusses the use of a "clsid" control panel (cpl-link definition), or any documentation on the command line options for settings.exe