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

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

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

  • torque 的经典教程 全面的介绍torque 适合初学者 很难找哦
    torque 的经典教程 全面的介绍torque 适合初学者 很难找哦-torque of the classic hard to find Oh tutorial
    2023-07-12 16:10:05下载
    积分:1
  • 题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元...
    题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可可提成7.5%;20万到40万之间时,高于20万元的部分,可提成5%;40万到60万之间时高于40万元的部分,可提成3%;60万到100万之间时,高于60万元的部分,可提成1.5%,高于100万元时,超过100万元的部分按1%提成,从键盘输入当月利润I,求应发放奖金总数? 1.程序分析:请利用数轴来分界,定位。注意定义时需把奖金定义成长整型。       -Title: Enterprise of the bonus payment of royalty under the profit. Profit (I) less than or equal to 10 million, prize money will be provided as 10 profits exceeding 10 million, less than 20 million, less than 10 million part of royalty by 10, higher than 100,000 yuan part of the cocoa percentage, 7.5 200000-400000 between, more than 20 million parts, may deduct a percentage of 5 400000-600000 between more than 40 million parts, may deduct a percentage of 3 600000-1000000 between, more than 60 million of the royalty to 1.5, above 100 million, over 100 million parts by 1 percent royalty, from the keyboard input month profit I, Qiu-Ying The total number of bonuses? 1. Program analysis: Please use a few axes to boundarie
    2022-05-26 23:48:27下载
    积分:1
  • VC6. 0 to do a browser, a strong feature, you can periodically refresh
    VC6。0做的一个浏览器,功能比较强,可以定时刷新-VC6. 0 to do a browser, a strong feature, you can periodically refresh
    2023-02-25 22:50:03下载
    积分:1
  • The following file describes how to use the Bluetooth Headset Audio Gateway.
    The following file describes how to use the Bluetooth Headset Audio Gateway.
    2023-07-07 00:45:03下载
    积分:1
  • create a dynamic buttons for beginners
    一个动态创建按扭,给初学者使用-create a dynamic buttons for beginners
    2022-03-20 22:51:06下载
    积分:1
  • A very interesting game to guess the word, enter a word do you think, and then w...
    一个很有意思的猜字游戏,输入一个你猜的字,然后会告诉你输入更大或更小的字,直到猜对为止。-A very interesting game to guess the word, enter a word do you think, and then will tell you more or less input characters, until you guess it right so far.
    2022-10-07 11:05:03下载
    积分:1
  • STi5518 SINGLE
    STi5518 SINGLE-CHIP SET-TOP BOX DECODER WITH MP3 AND HARD DISK DRIVE SUPPORT
    2022-04-29 11:21:26下载
    积分:1
  • this is a data encryption procedures. Some beginners might be used to.
    这是一个数据加密的程序。有些初学者可能已经习惯了。
    2022-08-22 02:21:57下载
    积分:1
  • SDI中的ListView应用示例
    SDI中的ListView应用示例-the ListView SDI Application Example
    2022-05-15 04:06:05下载
    积分:1
  • 本程序针对约瑟夫问题的描述:编号为12,……n的n个人按顺时针方向围成一圈,每人持有一个密码(正整数),一开始任选一个正整数作为报数上限值m,从第一个人开始按顺...
    本程序针对约瑟夫问题的描述:编号为12,……n的n个人按顺时针方向围成一圈,每人持有一个密码(正整数),一开始任选一个正整数作为报数上限值m,从第一个人开始按顺序时针方向自1开始顺序报数,报道m时停止报数,报m的人处列将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。利用单向循环链表存储结构模拟此过程,按照出列的顺序印出各人的编号。 演示程序以用户和计算机的对话方式执行,即在计算机终端上显示“提示信息”下,用户输入循环人数n和每人的密码。-This procedure description specifically for Joseph problem: The serial number is 12, ... The n n individual surrounds the ready-made one circle according to the clockwise sense , each person holds (positive integer) a password, one positive integer beginning to assume a post of selections is upper limits ms numbering off, direction starts the hour hand beginning from the first people according to order from 1 numbering off in proper order , stop numbering off when reporting m, the person place column reporting m looks on his password as new m value , the individual begins to number off again from 1 , getting down like this from his time as soon as going ahead in clockwise sense, until proprietor all till leaving self s place in the ranks.
    2022-10-13 13:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载