LockWorkStation
来源:互联网 发布:程序员基本要求 编辑:程序博客网 时间:2024/05/20 01:11
锁屏的函数
以下是找不到定义的解决方法
http://www.rupeng.com/forum/thread-4007-1-1.html
#ifndef WINVER
#define WINVER 0x0400
/*
* If you need Win32 API features newer the Win95 and WinNT then you must
* define WINVER before including windows.h or any other method of including
* the windef.h header.
*/
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT WINVER
/*
* There may be the need to define _WIN32_WINNT to a value different from
* the value of WINVER. I don't have any example of why you would do that.
* However, if you must then define _WIN32_WINNT to the value required before
* including windows.h or any other method of including the windef.h header.
*/
#endif
明白了。原来_WIN32_WINNT被定义为WINVER,而WINVER又被定义为0x0400,而且要改变两个的值需要在#include之前。把#define WINVER 0x0500(或者#define _WIN32_WINNT 0x0500)放在最前面,编译,问题解决。(建议使用#define WINVER 0x0500,因为_WIN32_WINNT的说明中要求尽量保持和WINVER的一致。)
以下是找不到定义的解决方法
http://www.rupeng.com/forum/thread-4007-1-1.html
#ifndef WINVER
#define WINVER 0x0400
/*
* If you need Win32 API features newer the Win95 and WinNT then you must
* define WINVER before including windows.h or any other method of including
* the windef.h header.
*/
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT WINVER
/*
* There may be the need to define _WIN32_WINNT to a value different from
* the value of WINVER. I don't have any example of why you would do that.
* However, if you must then define _WIN32_WINNT to the value required before
* including windows.h or any other method of including the windef.h header.
*/
#endif
明白了。原来_WIN32_WINNT被定义为WINVER,而WINVER又被定义为0x0400,而且要改变两个的值需要在#include
0
上一篇:彻底了解Windows XP操作系统登录类型
下一篇:work
相关热门文章
- LNK1123: 转换到 COFF 期间失...
- WIN7访问共享:0x80070035 找不...
- Delphi 2010下载+完美破解...
- vs2010调试C++程序时提示 无...
- VISIO,不规则封闭图形填充方...
- linux dhcp peizhi roc
- 关于Unix文件的软链接
- 求教这个命令什么意思,我是新...
- sed -e "/grep/d" 是什么意思...
- 谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
0 0
- LockWorkStation
- LockWorkStation应用--运行后锁屏
- Weex Android交互篇
- MacOS升级sierra后,git不能push也不能pull的解决方案
- 彻底了解Windows XP操作系统登录类型
- selenium webdriver 学习总结-浏览器启动方式
- Java 多线程(1): synchronized关键字详解
- LockWorkStation
- work
- 关于字符设备驱动
- 大写VOID
- windows 7 多用户登陆
- Windows服务编程
- postgre数据迁移到mysql
- java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' befo
- Credential Providers
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
银器批发
唐代金银器
古代金银器
银器价格
银器的作用
银器加工
银器专卖店
银器店
银器的鉴别
银器用什么清洗变雪亮
银器品牌排行榜
西洋银器价格
银器有什么作用
银器如何去黑
银器哪个品牌好
银器怎么清洗
带银器有什么好处
如何鉴别银器的真假
如何清洗银器
银土
银城
银基
银基集团
银盆价格
银壶价格
银壶泡茶危害
银壶泡茶
银壶的好处
日本银壶价格
银壶能泡茶吗
玉漏银壶且莫催
银壶泡茶有什么好处
银壶泡茶好吗
哪个牌子的银壶好
日本银壶
银壶品牌
茶道银壶
银壶客
银壶产地
银壶煮水
银娇在线