.在windowsmobile中 cplmain.cpl,0......cplmain.cpl,30分別對應的程式如下:
ctlpnl.exe cplmain.cpl,0 – 對比度調整
ctlpnl.exe cplmain.cpl,1 - set password (鎖定:設定密碼)
ctlpnl.exe cplmain.cpl,2 - set ownerinfo (主人資訊)
ctlpnl.exe cplmain.cpl,3 - battery status (電源)
ctlpnl.exe cplmain.cpl,4 - memory status (記憶體)
ctlpnl.exe cplmain.cpl,5 - about (關於)
ctlpnl.exe cplmain.cpl,6 - backlight (背光)
ctlpnl.exe cplmain.cpl,7 - align (調整螢幕)
ctlpnl.exe cplmain.cpl,8 - keyboard settings (輸入)
ctlpnl.exe cplmain.cpl,9 - sound (聲音和提醒)
ctlpnl.exe cplmain.cpl,10- remove programs (刪除程式)
ctlpnl.exe cplmain.cpl,11- start menu (選單)
ctlpnl.exe cplmain.cpl,12- button assignments (按鍵)
ctlpnl.exe cplmain.cpl,13- today screen (今日)
ctlpnl.exe cplmain.cpl,14- today screen (域註冊)
ctlpnl.exe cplmain.cpl,15- beam settings (無線收發)
ctlpnl.exe cplmain.cpl,16- clock (時鐘和鬧鐘)
ctlpnl.exe cplmain.cpl,17- network adapters (wifi)無線
ctlpnl.exe cplmain.cpl,18- regional settings (區域設定)
ctlpnl.exe cplmain.cpl,19- connections (連線)
ctlpnl.exe cplmain.cpl,20- phone settings (**)
ctlpnl.exe cplmain.cpl,22- manage certificates (證書管理)
ctlpnl.exe cplmain.cpl,23- bluetooth (藍芽)
ctlpnl.exe cplmain.cpl,24-錯誤報告
ctlpnl.exe cplmain.cpl,25-外部gps
ctlpnl.exe cplmain.cpl,26-無線管理器
ctlpnl.exe cplmain.cpl,27-儲存卡加密
ctlpnl.exe cplmain.cpl,28-由usb鏈結pc
ctlpnl.exe cplmain.cpl,29-客戶反饋
ctlpnl.exe cplmain.cpl,30-任務管理器
2.那麼在windowsmobile中如何在自己的應用程式中呼叫.cpl檔案呢?
就像pc機中.dll檔案不能直接執行,需要借助rundll32.exe來執行一樣,wince下的.cpl也需要相應的程式來呼叫,這個程式就是:"ctlpnl.exe".
shellexecuteinfo info;
tchar szcontrolpanelcmdline[ 200 ];
swprintf( szcontrolpanelcmdline, l"\\windows\\cplmain.cpl,5");
info.cbsize = sizeof( info );
info.fmask = see_mask_nocloseprocess | see_mask_flag_no_ui;
info.lpverb = null;
info.lpfile = text("ctlpnl.exe");
info.lpparameters = szcontrolpanelcmdline;
info.lpdirectory = null;
info.nshow = sw_show;
shellexecuteex( &info );
**
詳解WINCE的控制面板
extern c message case cpl dblclk case cpl stop called once for each dialog box.used for cleanup.case default return 0 return codearea codearea pre lin...
WinCE 控制面板和驅動通訊
2.在驅動執行緒內部的死迴圈體呼叫waitforsingleobject 函式進行等待 dword winapi soclcd mybacklightchangethreadproc pvoid parg closehandle hevent return 0 3.接下來,我們來看看控制面板如何傳送...
WinCE 控制面板和驅動通訊
驅動初始化函式 mydriver myinit 2.在驅動執行緒內部的死迴圈體呼叫waitforsingleobject 函式進行等待 dword winapi soclcd mybacklightchangethreadproc pvoid parg closehandle hevent retu...