《雅奇MIS》里可以通过“调用动态链接库文件”执行指定格式的函数。对于系统功能,使用“调用可执行文件”调用系统中的rundll32.exe就可以了。
如:
显示格式化软盘窗口:
rundll32.exe shell32.dll,SHFormatDrive
控制面板中的日期时间属性窗口:
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl
显示属性窗口:
rundll32.exe shell32.dll,Control_RunDLL desk.cpl
显示属性窗口,切换到第3页: (第一页的序号是0):
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,@0,2
显示控制面板中的网络:
rundll32.exe shell32.dll,Control_RunDLL netcpl.cpl
显示控制面板中系统属性:
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl
关闭Windows
rundll32 user.exe,#7
响一声:
rundll user,messagebeep
rundll32 user.exe,messagebeep
rundll32 user.exe,#104
Shuts off COM2 serial port if the port was opened under the Windows 3.1 API
rundll user,closecomm
rundll32 user.exe,closecomm
rundll32 user.exe,#207
Polite windows restart
rundll user,exitwindowsexec
Polite power off
rundll user,exitwindows
rundll32 user.exe,exitwindows
rundll32 user.exe,#7
Forced immediate logoff
rundll32 user32.dll,ExitWindowsEx
Open DUN (dial up networking exported file):
rundll32.exe rnaui.dll,RnaRunImport
Start a dialup connection [...]
