登录
首页 » Windows开发 » Windows平台下枚举显示器所有的显示分辨率

Windows平台下枚举显示器所有的显示分辨率

于 2022-11-04 发布 文件大小:7.76 kB
0 194
下载积分: 2 下载次数: 1

代码说明:

应用背景该Module源码的功能是枚举在Windows平台下显示器的分辨率列表,这样也就可以获得显示器的所有分辨率,同时也可以获得显示器的最大分辨率,其源码是用VS2012 Ultimate工具的Win32 Console Application程序。关键技术用到了Windows的库函数#pragma comment(lib, "D3D9.lib"), 需要的结构体D3DCAPS9,以及相应的库函数有Direct3DCreate9(D3D_SDK_VERSION),GetDeviceCaps(D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, &caps),GetAdapterDisplayMode(caps.AdapterOrdinal, &dismode),GetAdapterModeCount(caps.AdapterOrdinal, dismode.Format)等...

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 资源管理的界面代码 资源管理的界面代码 资源管理的界面代码...
    资源管理的界面代码 资源管理的界面代码 资源管理的界面代码-Resources management, resource management interface code interface code resource management interface code
    2022-03-02 21:38:23下载
    积分:1
  • 飞思卡尔杯集迷路 KL25z 演示代码
    伙计们,这段代码用于你的竞争对手,并随时修改源代码。这可以很容易编程和倾倒使用 keil。Keil 官员会导致你倾倒这些文件集迷路板上。所以访问的网站和下载所需驱动元件,享受 !
    2023-06-16 22:10:03下载
    积分:1
  • "warehouse management system Invoicing management"
    《仓库管理系统之进销存管理》-"warehouse management system Invoicing management"
    2023-02-23 13:30:04下载
    积分:1
  • 总结windows下堆溢出的三种利用方式,涉及的知识有汇编,c语言,win32编程。...
    总结windows下堆溢出的三种利用方式,涉及的知识有汇编,c语言,win32编程。-summed up windows under a heap overflow use of the three methods, involving the compilation of knowledge, c language, win32 programming.
    2023-06-16 20:05:03下载
    积分:1
  • 的深度探索C++对象模型,这是一本关于C的作用…
    深度探索C++对象模型,这是一本关于 c ++的教材,比较有深度,不适宜初学者-Depth exploration of C++ Object Model, this is a book about c of the materials, depth comparison, not suitable for beginners
    2023-03-09 01:50:04下载
    积分:1
  • 最新·socket类型的数据经典讲解
    TCP/IP协议族通信的中间软件抽象层,它是一组接口。在设计模式中,TCP/IP协议族隐藏在Socket去组织数据,以符合指定的协议。
    2022-08-08 22:26:25下载
    积分:1
  • 电话簿管理系统,实现对电话簿的插入、删除、修改、排序等...
    电话簿管理系统,实现对电话簿的插入、删除、修改、排序等-Phone book management system to achieve the insertion of the phone book, delete, modify, sort, etc.
    2022-03-07 14:22:42下载
    积分:1
  • 针对助推
    针对助推- 滑翔导弹的弹道优化问题,给出了一种求解其最大射程弹道的分段优化方法,建立了其 纵平面运动模型和弹道优化模型。在考虑攻角绝对值、攻角变化率、法向过载、分离点攻角衔接及落地条件等约束 下,应用序列二次规划法求解了其最大射程弹道。分析表明,助推- 滑翔导弹比传统弹道导弹射程显著提高,其最 优弹道的起伏有助于增大射程和提高突防能力-For booster- Optimize glider ballistic missile problem, give a maximum range of its ballistic solution of the sub-optimization method, set up the vertical plane motion model and optimization model of trajectory. In considering the absolute angle of attack, the rate of change of angle of attack, normal load, the separation point of convergence and the arrival angle of attack constraint conditions, the application of sequential quadratic programming method to solve a maximum range of its ballistic. Analysis showed that propelled- gliding range ballistic missile than the traditional significantly improve, the optimal trajectory of the ups and downs will help increase the range and ability to enhance penetration
    2022-09-28 04:55:03下载
    积分:1
  • 学习PE格式,windows界面,DirectX,com通讯,数据库的综合。
    学习PE格式,windows界面,DirectX,com通讯,数据库的综合。-learning PE format, windows interface, DirectX, com communications, integrated database.
    2022-12-13 21:55:03下载
    积分:1
  • 用 matlab 编写的高斯随机表面的生成
    用 matlab 编写的高斯随机表面的生成-using Matlab prepared by the surface of the Gaussian random generation
    2022-02-15 02:26:42下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载