WinCE/Mobile Control Panel Item List

摘要:WinCE/Mobile Control Panel Item List

VC++
BOOL ShowControlPanelApplet(int id)
{
 TCHAR    szParams[32];
 SHELLEXECUTEINFO execinfo = {0};
 memset(&execinfo, 0, sizeof(execinfo));
 execinfo.cbSize=sizeof(execinfo);
 execinfo.lpFile=TEXT(“\\windows\\ctlpnl.exe”);
 execinfo.lpVerb=TEXT(“open”);


 // Id value determines which control applet will be launched
 // For e.g. 23 for bluetooth applet
 wsprintf(szParams, L”cplmain.cpl,%d”, id);
 execinfo.lpParameters = szParams;
 BOOL bRet=ShellExecuteEx(&execinfo);
 return bRet;
}

VC#
Process.Start(@"\windows\ctlpnl.exe", "cplmain.cpl,19"); 

Windows Mobile

1    Password
2    Owner Information
3    Power
4    Memory
5    About
6    Brightness
7    Screen
8    Input
9    Sounds & Notifications
10    Remove Programs
11    Menus
12    Buttons
13    Today
14   
15    Beam
16    Clocks & Alarms
17    Configure Network Adapters
18    Regional Settings
19    Connections
20   
21   
22    Manage Certificates
23    Bluetooth
24    Error Reporting
25    GPS Settings
26   
27    USB to PC

Windows CE

1     PC Connection -  35#”ctlpnl.exe” \Windows\cplmain.cpl,0
2     Dialing -  35#”ctlpnl.exe” \Windows\cplmain.cpl,1
3     Keyboard -  35#”ctlpnl.exe” \Windows\cplmain.cpl,2
4     Password -  35#”ctlpnl.exe” \Windows\cplmain.cpl,3
5     Owner -  35#”ctlpnl.exe” \Windows\cplmain.cpl,4
6     Power  -  35#”ctlpnl.exe” \Windows\cplmain.cpl,5
7     System -  35#”ctlpnl.exe” \Windows\cplmain.cpl,6
8     Display -  35#”ctlpnl.exe” \Windows\cplmain.cpl,7
9     Mouse -  35#”ctlpnl.exe” \Windows\cplmain.cpl,8
10    Stylus -  35#”ctlpnl.exe” \Windows\cplmain.cpl,9
11    Volume & sounds -  35#”ctlpnl.exe” \Windows\cplmain.cpl,10
12    Input Panel -  35#”ctlpnl.exe” \Windows\cplmain.cpl,11
13    Remove Programs -  35#”ctlpnl.exe” \Windows\cplmain.cpl,12
14    Date/Time -  35#”ctlpnl.exe” \Windows\cplmain.cpl,13
15    Certificates -  35#”ctlpnl.exe” \Windows\cplmain.cpl,14
16    Accessibility -  35#”ctlpnl.exe” \Windows\cplmain.cpl,15

 

勤勞樸實