SystemParametersinfo 用法
var
BmpPath: PChar;
begin
BmpPath := 'C:\Temp\Test.bmp';
SystemParametersInfo(SPI_SETDESKWALLPAPER, , BmpPath, SPIF_UPDATEINIFILE);
end; 函数原型
BOOL WINAPI SystemParametersInfo(
_In_ UINT uiAction,
_In_ UINT uiParam,
_Inout_ PVOID pvParam,
_In_ UINT fWinIni
); SPI_GETBEEP = ; {}
SPI_SETBEEP = ; {}
SPI_GETMOUSE = ; {}
SPI_SETMOUSE = ; {}
SPI_GETBORDER = ; {}
SPI_SETBORDER = ; {}
SPI_GETKEYBOARDSPEED = ; {}
SPI_SETKEYBOARDSPEED = ; {}
SPI_LANGDRIVER = ; {}
SPI_ICONHORIZONTALSPACING = ; {}
SPI_GETSCREENSAVETIMEOUT = ; {}
SPI_SETSCREENSAVETIMEOUT = ; {}
SPI_GETSCREENSAVEACTIVE = $10; {}
SPI_SETSCREENSAVEACTIVE = ; {}
SPI_GETGRIDGRANULARITY = ; {}
SPI_SETGRIDGRANULARITY = ; {}
SPI_SETDESKWALLPAPER = ; {}
SPI_SETDESKPATTERN = ; {}
SPI_GETKEYBOARDDELAY = ; {}
SPI_SETKEYBOARDDELAY = ; {}
SPI_ICONVERTICALSPACING = ; {}
SPI_GETICONTITLEWRAP = ; {}
SPI_SETICONTITLEWRAP = ; {}
SPI_GETMENUDROPALIGNMENT = ; {}
SPI_SETMENUDROPALIGNMENT = ; {}
SPI_SETDOUBLECLKWIDTH = ; {}
SPI_SETDOUBLECLKHEIGHT = ; {}
SPI_GETICONTITLELOGFONT = ; {}
SPI_SETDOUBLECLICKTIME = $20; {}
SPI_SETMOUSEBUTTONSWAP = ; {}
SPI_SETICONTITLELOGFONT = ; {}
SPI_GETFASTTASKSWITCH = ; {}
SPI_SETFASTTASKSWITCH = ; {}
SPI_SETDRAGFULLWINDOWS = ; {}
SPI_GETDRAGFULLWINDOWS = ; {}
SPI_GETNONCLIENTMETRICS = ; {}
SPI_SETNONCLIENTMETRICS = ; {}
SPI_GETMINIMIZEDMETRICS = ; {}
SPI_SETMINIMIZEDMETRICS = ; {}
SPI_GETICONMETRICS = ; {}
SPI_SETICONMETRICS = ; {}
SPI_SETWORKAREA = ; {}
SPI_GETWORKAREA = ; {}
SPI_SETPENWINDOWS = ; {}
SPI_GETHIGHCONTRAST = ; {}
SPI_SETHIGHCONTRAST = ; {}
SPI_GETKEYBOARDPREF = ; {}
SPI_SETKEYBOARDPREF = ; {}
SPI_GETSCREENREADER = ; {}
SPI_SETSCREENREADER = ; {}
SPI_GETANIMATION = ; {}
SPI_SETANIMATION = ; {}
SPI_GETFONTSMOOTHING = ; {}
SPI_SETFONTSMOOTHING = ; {}
SPI_SETDRAGWIDTH = ; {}
SPI_SETDRAGHEIGHT = ; {}
SPI_SETHANDHELD = ; {}
SPI_GETLOWPOWERTIMEOUT = ; {}
SPI_GETPOWEROFFTIMEOUT = ; {}
SPI_SETLOWPOWERTIMEOUT = ; {}
SPI_SETPOWEROFFTIMEOUT = ; {}
SPI_GETLOWPOWERACTIVE = ; {}
SPI_GETPOWEROFFACTIVE = ; {}
SPI_SETLOWPOWERACTIVE = ; {}
SPI_SETPOWEROFFACTIVE = ; {}
SPI_SETCURSORS = ; {}
SPI_SETICONS = ; {}
SPI_GETDEFAULTINPUTLANG = ; {}
SPI_SETDEFAULTINPUTLANG = ; {}
SPI_SETLANGTOGGLE = ; {}
SPI_GETWINDOWSEXTENSION = ; {}
SPI_SETMOUSETRAILS = ; {}
SPI_GETMOUSETRAILS = ; {}
SPI_SCREENSAVERRUNNING = ; {}
SPI_GETFILTERKEYS = ; {}
SPI_SETFILTERKEYS = ; {}
SPI_GETTOGGLEKEYS = ; {}
SPI_SETTOGGLEKEYS = ; {}
SPI_GETMOUSEKEYS = ; {}
SPI_SETMOUSEKEYS = ; {}
SPI_GETSHOWSOUNDS = ; {}
SPI_SETSHOWSOUNDS = ; {}
SPI_GETSTICKYKEYS = ; {}
SPI_SETSTICKYKEYS = ; {}
SPI_GETACCESSTIMEOUT = ; {}
SPI_SETACCESSTIMEOUT = ; {}
SPI_GETSERIALKEYS = ; {}
SPI_SETSERIALKEYS = ; {}
SPI_GETSOUNDSENTRY = ; {}
SPI_SETSOUNDSENTRY = ; {}
SPI_GETSNAPTODEFBUTTON = ; {}
SPI_SETSNAPTODEFBUTTON = ; {}
SPI_GETMOUSEHOVERWIDTH = ; {}
SPI_SETMOUSEHOVERWIDTH = ; {}
SPI_GETMOUSEHOVERHEIGHT = ; {}
SPI_SETMOUSEHOVERHEIGHT = ; {}
SPI_GETMOUSEHOVERTIME = ; {}
SPI_SETMOUSEHOVERTIME = ; {}
SPI_GETWHEELSCROLLLINES = ; {}
SPI_SETWHEELSCROLLLINES = ; {}
SPI_GETMENUSHOWDELAY = ; {}
SPI_SETMENUSHOWDELAY = ; {}
SPI_GETSHOWIMEUI = ; {}
SPI_SETSHOWIMEUI = ; {}
SPI_GETMOUSESPEED = ; {}
SPI_SETMOUSESPEED = ; {}
SPI_GETSCREENSAVERRUNNING = ; {}
SPI_GETACTIVEWINDOWTRACKING = $1000; {}
SPI_SETACTIVEWINDOWTRACKING = $1001; {}
SPI_GETMENUANIMATION = $1002; {}
SPI_SETMENUANIMATION = $1003; {}
SPI_GETCOMBOBOXANIMATION = $1004; {}
SPI_SETCOMBOBOXANIMATION = $1005; {}
SPI_GETLISTBOXSMOOTHSCROLLING = $1006; {}
SPI_SETLISTBOXSMOOTHSCROLLING = $1007; {}
SPI_GETGRADIENTCAPTIONS = $1008; {}
SPI_SETGRADIENTCAPTIONS = $1009; {}
SPI_GETKEYBOARDCUES = $100A; {}
SPI_SETKEYBOARDCUES = $100B; {}
SPI_GETMENUUNDERLINES = SPI_GETKEYBOARDCUES;
SPI_SETMENUUNDERLINES = SPI_SETKEYBOARDCUES;
SPI_GETACTIVEWNDTRKZORDER = $100C; {}
SPI_SETACTIVEWNDTRKZORDER = $100D; {}
SPI_GETHOTTRACKING = $100E; {}
SPI_SETHOTTRACKING = $100F; {}
SPI_GETMENUFADE = $1012; {}
SPI_SETMENUFADE = $1013; {}
SPI_GETSELECTIONFADE = $1014; {}
SPI_SETSELECTIONFADE = $1015; {}
SPI_GETTOOLTIPANIMATION = $1016; {}
SPI_SETTOOLTIPANIMATION = $1017; {}
SPI_GETTOOLTIPFADE = $1018; {}
SPI_SETTOOLTIPFADE = $1019; {}
SPI_GETCURSORSHADOW = $101A; {}
SPI_SETCURSORSHADOW = $101B; {}
SPI_GETMOUSESONAR = $101C; {}
SPI_SETMOUSESONAR = $101D; {}
SPI_GETMOUSECLICKLOCK = $101E; {}
SPI_SETMOUSECLICKLOCK = $101F; {}
SPI_GETMOUSEVANISH = $1020; {}
SPI_SETMOUSEVANISH = $1021; {}
SPI_GETFLATMENU = $1022; {}
SPI_SETFLATMENU = $1023; {}
SPI_GETDROPSHADOW = $1024; {}
SPI_SETDROPSHADOW = $1025; {}
SPI_GETUIEFFECTS = $103E; {}
SPI_SETUIEFFECTS = $103F; {}
SPI_GETFOREGROUNDLOCKTIMEOUT = $2000; {}
SPI_SETFOREGROUNDLOCKTIMEOUT = $2001; {}
SPI_GETACTIVEWNDTRKTIMEOUT = $2002; {}
SPI_SETACTIVEWNDTRKTIMEOUT = $2003; {}
SPI_GETFOREGROUNDFLASHCOUNT = $2004; {}
SPI_SETFOREGROUNDFLASHCOUNT = $2005; {}
SPI_GETCARETWIDTH = $2006; {}
SPI_SETCARETWIDTH = $2007; {}
SPI_GETMOUSECLICKLOCKTIME = $2008; {}
SPI_SETMOUSECLICKLOCKTIME = $2009; {}
SPI_GETFONTSMOOTHINGTYPE = $200A; {}
SPI_SETFONTSMOOTHINGTYPE = $200B; {} SPIF_UPDATEINIFILE = ; {}
SPIF_SENDWININICHANGE = ; {}
SPIF_SENDCHANGE = SPIF_SENDWININICHANGE;
SystemParametersinfo 用法的更多相关文章
- SystemParametersinfo用法(二)
SystemParametersinfo用法(二) SPI_SETDOUBLECLKHEGHT:将ulParam参数的值设为双击矩形区域的高度.双击矩形区域是指双击中的第2次点击时鼠标指针必须落在的区 ...
- SystemParametersinfo的用法(一)
SystemParametersinfo的用法(一) 函数功能:该函数查询或设置系统级参数.该函数也可以在设置参数中更新用户配置文件. 函数原型:B00L SystemParametersinfo(U ...
- 阻止屏保运行、显示器和系统待机(使用SystemParametersInfo和SetThreadExecutionState两种办法)
最近看了下电脑管家里面修复漏洞时阻止系统进入待机模式的实现,其实很简单,哈哈.可以看一下这个MSDN上对这个API的说明:http://msdn.microsoft.com/en-us/library ...
- EditText 基本用法
title: EditText 基本用法 tags: EditText,编辑框,输入框 --- EditText介绍: EditText 在开发中也是经常用到的控件,也是一个比较必要的组件,可以说它是 ...
- jquery插件的用法之cookie 插件
一.使用cookie 插件 插件官方网站下载地址:http://plugins.jquery.com/cookie/ cookie 插件的用法比较简单,直接粘贴下面代码示例: //生成一个cookie ...
- Java中的Socket的用法
Java中的Socket的用法 Java中的Socket分为普通的Socket和NioSocket. 普通Socket的用法 Java中的 ...
- [转载]C#中MessageBox.Show用法以及VB.NET中MsgBox用法
一.C#中MessageBox.Show用法 MessageBox.Show (String) 显示具有指定文本的消息框. 由 .NET Compact Framework 支持. MessageBo ...
- python enumerate 用法
A new built-in function, enumerate() , will make certain loops a bit clearer. enumerate(thing) , whe ...
- [转载]Jquery中$.get(),$.post(),$.ajax(),$.getJSON()的用法总结
本文对Jquery中$.get(),$.post(),$.ajax(),$.getJSON()的用法进行了详细的总结,需要的朋友可以参考下,希望对大家有所帮助. 详细解读Jquery各Ajax函数: ...
随机推荐
- shell 或 Makefile 学习网站
1.http://man.linuxde.net/ 2.http://www.cnblogs.com/peida/archive/2012/12/05/2803591.html
- WordPress无插件实现SMTP给评论用户发送邮件提醒
wordpress中集成PHPMalier给评论用户发送邮件提醒 首先你得去下载PHPMalier. 注:PHPMailer需PHP的socket扩展支持.如果PHPMailer连接邮箱需要ssl加 ...
- mAP的计算
参加郑良博士的代码: mars_evaluation 其中ap这样算: ap = ap + (recall - old_recall)*((old_precision+precision)/2); ...
- C++指针易错点梳理
1 指针定义 指针是一个变量:指针的值是另一个变量的地址.变量的声明 type *var-name; var-name 是指针变量的名称.星号是用来指定一个变量var-name是指针变量. int * ...
- CodeForces - 1100F:Ivan and Burgers (线性基&贪心)(离线 在线)
题意:给定N个数,Q次询问,求区间最大异或和. 思路:一开始想的线性基+线段树.单次线性基合并的复杂度为20*20,结合线段树,复杂度为O(NlogN*20*20):显然,超时. 超时代码: #inc ...
- ps使用图层合并切图
1.新建图层 2.合并要切的图的图层和新建的空白图层 3用正方形工具圈出来要切得图 4.ctrl+c复制,ctrl+n新建,ctrl+v复制过去 5,切图
- python-基础-文件
一.文件操作 打开文件时,需要指定文件路径和以何等方式打开文件, 对文件操作流程 打开文件,得到文件句柄并赋值给一个变量 通过句柄对文件进行操作 关闭文件 打开文件的模式有: r ,只读模式[默认模式 ...
- hdu4424 Conquer a New Region 并查集/类似最小生成树
The wheel of the history rolling forward, our king conquered a new region in a distant continent.The ...
- Go Example--接口
package main import ( "math" "fmt" ) type geometry interface { area() float64 pe ...
- Go Example--map
package main import "fmt" func main() { //初始化map make(map[类型][类型]) m:= make(map[string]int ...