詳解WINCE的控制面板

2021-05-22 16:17:52 字數 714 閱讀 7642

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 .linewrap pre .codearea pre.alt .codearea .lnum

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"

.codearea .codearea pre .linewrap pre .codearea pre.alt .codearea .lnum

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...

WinCE調起控制面板中應用程式

在windowsmobile中 cplmain.cpl,0.cplmain.cpl,30分別對應的程式如下 ctlpnl.exe cplmain.cpl,0 對比度調整 ctlpnl.exe cplmain.cpl,1 set password 鎖定 設定密碼 ctlpnl.exe cplmain....