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

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

于 2022-11-04 发布 文件大小:7.76 kB
0 230
下载积分: 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 个回复

  • G711音频编解码器,可用于视频聊天或VoIP
    G711 audio codec that can be use for video chat or voip
    2022-03-24 17:05:59下载
    积分:1
  • In a weighted directed connected graph G, given the starting point v, find it to...
    在一个带权有向连通图G中,给定出发点v,求出它到所有点的最短路径长度-In a weighted directed connected graph G, given the starting point v, find it to all points of shortest path length
    2023-06-27 23:45:03下载
    积分:1
  • 入门级sqlapi链接MySQL范例
    该项目包含了windows下socket通讯机制《完成事件》,以及c++调用sqlapi库连接mysql数据库,简单通俗易懂。适合想研究程序猿。附上Mysql,sqlapi安装学习日志。
    2022-09-22 07:40:03下载
    积分:1
  • 已知一颗有根树是 2
    已知一颗有根树是 2-tree(只有度为2和度为0的结点),并且有n个叶子节点,从左到右编号为1,2,…, n,还知道两个相邻编号节点之间的 ChonSu(这棵树中这链接这两个节点的路径的边数)。求任意两个叶子节点x, y (1≤x≤n)之间的 ChonSu-Rooted tree is known to a 2-tree (only the degree 2 and degree 0 nodes), and there are n-leaf nodes from left to right numbered 1,2, ..., n, also know that two adjacent numbers between nodes ChonSu (this tree that links these two nodes in the path of the number of edges). Seeking any two leaf nodes x, y (1 ≤ x ≤ n) between the ChonSu
    2022-01-22 01:37:29下载
    积分:1
  • 混沌移位键控
    混沌调制方案的误码率与信噪比。在这里,我们用一个混沌信号调制的二进制信息和AWGN信号发送。在接收端,通过一个相干检测器检测信号,并对其进行了分析,给出了一个给定的信噪比。绘制了误码率与信噪比的曲线
    2022-03-13 05:25:27下载
    积分:1
  • visual C++ 6.0高级编程技术 OPengl篇 源代码
    这是visual C++ 6.0高级编程技术 OPengl篇 源代码
    2022-10-02 19:10:03下载
    积分:1
  • based API recorders procedures can be recorded and can show that the recording t...
    基于API的录音机程序,可用录音,能显示录音时间。-based API recorders procedures can be recorded and can show that the recording time.
    2023-03-08 15:45:03下载
    积分:1
  • a master's works, I help available
    一位高手的作品,我帮忙上载-a master"s works, I help available
    2022-02-15 20:37:56下载
    积分:1
  • Windows/Linux C programming required
    Windows/Linux下C编程必备-Windows/Linux C programming required
    2022-03-15 19:37:34下载
    积分:1
  • WS-MaxEdit为多维材质及烘培输出详细教程,附带教程所需源文件及模型文件-WS-MaxEdit materials and bakery for the multi-dimensional output detailed tutorial, with tutorials and source files needed to model file
    2022-10-12 23:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载