在程序运行过程中启动控制面板的各个设置功能:
varx:cardinal;
begin
{启动控制面板}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLL,9);
{辅助选项属性-键盘}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLaccess.cpl,,1,9);
{辅助选项属性-声音}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLaccess.cpl,,2,9);
{辅助选项属性-显示}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLaccess.cpl,,3,9);
{辅助选项属性-鼠标}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLaccess.cpl,,4,9);
{辅助选项属性-常规}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLaccess.cpl,,5,9);
{添加/删除程序属性-安装/卸载}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLAppwiz.cpl,,1,9);
{添加/删除程序属性-Windows安装程序}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLAppwiz.cpl,,2,9);
{添加/删除程序属性-启动盘}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLAppwiz.cpl,,3,9);
{显示属性-背景}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLdesk.cpl,,0,9);
{显示属性-屏幕保护程序}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLdesk.cpl,,1,9);
{显示属性-外观}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLdesk.cpl,,2,9);
{显示属性-设置}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLdesk.cpl,,3,9);
{Internet属性-常规}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLInetcpl.cpl,,0,9);
{Internet属性-安全}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLInetcpl.cpl,,1,9);
{Internet属性-内容}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLInetcpl.cpl,,2,9);
{Internet属性-连接}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLInetcpl.cpl,,3,9);
{Internet属性-程序}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLInetcpl.cpl,,4,9);
{Internet属性-高级}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLInetcpl.cpl,,5,9);
{区域设置属性-区域设置}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLIntl.cpl,,0,9);
{区域设置属性-数字}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLIntl.cpl,,1,9);
{区域设置属性-货币}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLIntl.cpl,,2,9);
{区域设置属性-时间}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLIntl.cpl,,3,9);
{区域设置属性-日期}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLIntl.cpl,,4,9);
{游戏控制器-一般}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLJoy.cpl,,0,9);
{游戏控制器-高级}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLJoy.cpl,,1,9);
{鼠标属性}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLMain.cpl,9);
{多媒体属性-音频}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLMmsys.cpl,,0,9);
{多媒体属性-视频}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLMmsys.cpl,,1,9);
{多媒体属性-MIDI}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLMmsys.cpl,,2,9);
{多媒体属性-CD音乐}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLMmsys.cpl,,3,9);
{多媒体属性-设备}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLMmsys.cpl,,4,9);
{调制解调器属性}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLModem.cpl,9);
{网络}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLNetcpl.cpl,9);
{密码属性}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLPassword.cpl,9);
{扫描仪与数字相机属性}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLSticpl.cpl,9);
{系统属性-常规}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLSysdm.cpl,,0,9);
{系统属性-设备管理器}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLSysdm.cpl,,1,9);
{系统属性-硬件配置文件}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLSysdm.cpl,,2,9);
{系统属性-性能}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLSysdm.cpl,,3,9);
{日期/时间属性}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLtimedate.cpl,9);
{电源管理属性}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLPowercfg.cpl,9);
{拨号属性}
x:=winexec(rundll32.exeshell32.dll,Control_RunDLLTelephon.cpl,9);
将图表变为真彩色
HKEY——CURRENT——USER
ControlPanel
ControlPanel
windowmetrics 新建字符串值SHELLICONBPP“16”
上一篇: 详解Win XP控制台命令
下一篇:开始→运行→输入的命令集锦