使用 API 开始屏幕保护
*---------------------------------------------------------------------
Declare integer SendMessage in user32 integer,integer,integer,integer
Declare integer GetDesktopWindow in WIN32API
lnHwnd = GetDesktopWindow()
#Define wMsg 0x0112 && 274
#Define wPsave 0xF140 && 61760
*---------------------------------------------------------------------
Declare integer SendMessage in user32 integer,integer,integer,integer
Declare integer GetDesktopWindow in WIN32API
lnHwnd = GetDesktopWindow()
#Define wMsg 0x0112 && 274
#Define wPsave 0xF140 && 61760
? SendMessage(lnHwnd, wMsg, wPsave, 0) && 开始屏幕保护
Clea dlls
Return
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14884692/viewspace-406661/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14884692/viewspace-406661/