|
在程序運(yùn)行過程中啟動控制面板的各個設(shè)置功能:
var x:cardinal; begin {啟動控制面板} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL‘,9); {輔助選項(xiàng) 屬性-鍵盤} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1‘,9); {輔助選項(xiàng) 屬性-聲音} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2‘,9); {輔助選項(xiàng) 屬性-顯示} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3‘,9); {輔助選項(xiàng) 屬性-鼠標(biāo)} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4‘,9); {輔助選項(xiàng) 屬性-常規(guī)} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5‘,9); {添加/刪除程序 屬性-安裝/卸載} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,1‘,9); {添加/刪除程序 屬性-Windows安裝程序} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,2‘,9); {添加/刪除程序 屬性-啟動盤} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,3‘,9); {顯示 屬性-背景} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0‘,9); {顯示 屬性-屏幕保護(hù)程序} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1‘,9); {顯示 屬性-外觀} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2‘,9); {顯示 屬性-設(shè)置} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3‘,9); {Internet 屬性-常規(guī)} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,0‘,9); {Internet 屬性-安全} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,1‘,9); {Internet 屬性-內(nèi)容} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,2‘,9); {Internet 屬性-連接} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,3‘,9); {Internet 屬性-程序} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,4‘,9); {Internet 屬性-高級} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,5‘,9); {區(qū)域設(shè)置 屬性-區(qū)域設(shè)置} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,0‘,9); {區(qū)域設(shè)置 屬性-數(shù)字} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,1‘,9); {區(qū)域設(shè)置 屬性-貨幣} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,2‘,9); {區(qū)域設(shè)置 屬性-時間} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,3‘,9); {區(qū)域設(shè)置 屬性-日期} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,4‘,9); {游戲控制器-一般} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Joy.cpl,,0‘,9); {游戲控制器-高級} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Joy.cpl,,1‘,9); {鼠標(biāo) 屬性} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Main.cpl‘,9); {多媒體 屬性-音頻} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,0‘,9); {多媒體 屬性-視頻} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,1‘,9); {多媒體 屬性-MIDI} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,2‘,9); {多媒體 屬性-CD音樂} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,3‘,9); {多媒體 屬性-設(shè)備} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,4‘,9); {調(diào)制解調(diào)器 屬性} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Modem.cpl‘,9); {網(wǎng)絡(luò)} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Netcpl.cpl‘,9); {密碼 屬性} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Password.cpl‘,9); {掃描儀與數(shù)字相機(jī) 屬性} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Sticpl.cpl‘,9); {系統(tǒng) 屬性-常規(guī)} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,0‘,9); {系統(tǒng) 屬性-設(shè)備管理器} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,1‘,9); {系統(tǒng) 屬性-硬件配置文件} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,2‘,9); {系統(tǒng) 屬性-性能} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,3‘,9); {日期/時間 屬性} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL timedate.cpl‘,9); {電源管理 屬性} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Powercfg.cpl‘,9); {撥號屬性} x:=winexec(‘rundll32.exe shell32.dll,Control_RunDLL Telephon.cpl‘,9); 將圖表變?yōu)檎娌噬? HKEY——CURRENT——USER Control Panel Control Panel windowmetrics 新建字符串值 SHELL ICON BPP “16” |
|
|