如何在显卡驱动中 查询 连接的是LCD液晶显示器还是投影仪

solidsnake002 2009-05-19 08:45:48
RT,如何在驱动中去查询所连接的是LCD液晶显示器还是投影仪
...全文
134 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
solidsnake002 2009-05-21
  • 打赏
  • 举报
回复
顶起来
solidsnake002 2009-05-19
  • 打赏
  • 举报
回复
回楼上的 查过了

这个函数返回的信息应该是显卡的 也就是Graphic Device

但无法区分连在系统上的Monitor是投影仪还是LCD
na_he 2009-05-19
  • 打赏
  • 举报
回复
EnumDisplayDevices
To query all display devices in the system, call this function in a loop, starting with iDevNum set to 0, and incrementing iDevNum until the function fails. To select all display devices in the desktop, use only the display devices that have the DISPLAY_DEVICE_ATTACHED_TO_DESKTOP flag in the DISPLAY_DEVICE structure.

To get information on the display adapter, call EnumDisplayDevices with lpDevice set to NULL. For example, DISPLAY_DEVICE.DeviceString contains the adapter name.

在MSDN上面查查这个函数了,应该可以了
solidsnake002 2009-05-19
  • 打赏
  • 举报
回复
ding xia

2,640

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧