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

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

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

  • 方程根的数值实验,用牛顿迭代法,找到了…
    方程求根的数值试验,利用Newton迭代法,求所给出的方程的跟。-Equation Roots of numerical experiments, using Newton iteration method, find the equation with the given.
    2022-01-25 23:17:53下载
    积分:1
  • Set T [0: n
    设T[0:n-1]是n个元素的一个数组。对任一元素x,设S(x)={i|T[i]=x}。当|S(x)|>n/2时,称x为T的主元素。设计一个线性时间算法,确定T[0:n]是否有一个主元素。-Set T [0: n-1] is the n elements of an array. Of any element x, set S (x) = (i | T [i] = x). When | S (x) |> n/2 when x for T said the main element. Design a linear time algorithm to determine the T [0: n] whether there is a main element.
    2022-05-27 02:35:58下载
    积分:1
  • 分布式 TMTO Hash 数据库
    翻译  maninwest@Codeforge 作者:Andrew Admire@CodeProject创建一个分布式的 P2P TMTO Hash 数据库我扩展了我的第一个 NTLM TMTO 数据库。我从 C# 迁移到了Python 3.4 并创建了 p2p 系统。我将此系统尽可能地模块化,以便使用其他hash。当前创建了 NTLM hash。如果你不需要,则不用生成 hash。这个程序在 Windows 上运行,应该可以在  Linux 上运行。系统通过命令窗口运行,没有GUI。程序的原理是创建大型数据库的一部分。点越多,来存储 23 个字符的所有组合的交换越好。如果 8 字符组是 2 太字节,使用此项目的默认限制是1 gig.,则存储所有可能组合需要至少 2,000 人。但是,只需几秒钟就可以找到 hash 的平面文本,因为每个人都有全部内容的一小部分。功能使用字符组: US 字母 (大小写),数字, 特殊字符,共 85随时开始/停止生成 hash 生成的长度 1 - 23 字符平面文件用过后创建字典文件服务器作为线程运行限制使用的磁盘空间,默认值是 1 gig使用创建的字典文件打破 wpa psk hash
    2022-10-13 07:15:04下载
    积分:1
  • VC control of Excel, how to operate the text box. Txt
    VC控制Excel,如何操作文本框.txt-VC control of Excel, how to operate the text box. Txt
    2023-07-17 17:50:02下载
    积分:1
  • 对于小摄像头的驱动有几种方法,通过使用DirectShow来驱动摄像头灵活性比较好,有简单的方法也有比较复杂但更有效的方法,本文只介绍简单方法,希望与大家交流!...
    对于小摄像头的驱动有几种方法,通过使用DirectShow来驱动摄像头灵活性比较好,有简单的方法也有比较复杂但更有效的方法,本文只介绍简单方法,希望与大家交流!-small camera is driven by several methods, using DirectShow to drive the camera better flexibility, a simple way to a more complex but more effective method, only introduced simple, in the hope of sharing with you!
    2022-12-08 00:35:03下载
    积分:1
  • 快速CRC校验源码
    快速CRC校验源码-Fast CRC FOSS
    2022-02-01 22:52:06下载
    积分:1
  • 文件分割源码,将文件进行分割的程序源代码
    文件分割源码,将文件进行分割的程序源代码-File Splitter source code, will split the file source code
    2022-03-12 15:37:02下载
    积分:1
  • Windows API函数大全  作者 不详 关键字 Windows API函数大全 原作者姓名 不详 介绍 简要的Windows API函数大全...
    Windows API函数大全  作者 不详 关键字 Windows API函数大全 原作者姓名 不详 介绍 简要的Windows API函数大全-Windows API function Daquan author unknown keyword Windows API function Daquan original author unnamed briefly introduced the Windows API function Daquan
    2022-01-25 21:17:25下载
    积分:1
  • 功能描述 1、获取机器硬件信息。 2、将数据导出Excel,真接写二进制数据,速度极快。 3、对注册表的操作。 4、数据库操作。 另外,本人...
    功能描述 1、获取机器硬件信息。 2、将数据导出Excel,真接写二进制数据,速度极快。 3、对注册表的操作。 4、数据库操作。 另外,本人还有一个后台管理系统(采用C#),主要针对MIS系统。主要集 成了以下几个模块: 1、组织结构管理。 2、员工管理。 3、流水号管理。 4、权限管理等。 此系统避免了我们在做项目时,重复开发相同的模块。 提高了开发速度。也避免了因程序员的水平、经验不足而做出有缺陷、 性能不高的系统。-Functional Description 1, access to the machine hardware information. 2, data export Excel, I then write the binary data, extremely fast. 3, on the registry s operation. 4, database operations. In addition, I have a background management system (using C#), The main system for MIS. Integrates the following main modules: 1, the organizational structure of management. 2, staff management. 3, serial number management. 4, permissions management. This system avoids the projects we are doing, to repeat the development of the same module. Improve the development speed. Also avoid the programmer level, lack of experience made defective, not high performance systems.
    2022-05-24 20:28:55下载
    积分:1
  • A wince of mine to give the feeling of the game I hope that we can also try
    一个给予wince的扫雷游戏 我的感觉还可以 希望大家-A wince of mine to give the feeling of the game I hope that we can also try
    2022-04-01 03:59:35下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载