OpenGL 远程崩溃
来源:互联网 发布:java d3.js 编辑:程序博客网 时间:2024/05/17 05:23
EnumDisplayDevices function貌似可以缓解下这个问题。
http://msdn.microsoft.com/en-us/library/dd162609(v=vs.85).aspx
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. The function fails if iDevNum is greater than the largest device index.
Remarks
To query all display devices in the current session, call this function in a loop, starting withiDevNum 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 theDISPLAY_DEVICE structure.
To get information on the display adapter, call EnumDisplayDevices withlpDevice set to NULL. For example, DISPLAY_DEVICE.DeviceString contains the adapter name.
To obtain information on a display monitor, first call EnumDisplayDevices withlpDevice set to NULL. Then call EnumDisplayDevices withlpDevice set to DISPLAY_DEVICE.DeviceName from the first call toEnumDisplayDevices and with iDevNum set to zero. Then DISPLAY_DEVICE.DeviceString is the monitor name.
To query all monitor devices associated with an adapter, call EnumDisplayDevices in a loop withlpDevice set to the adapter name, iDevNum set to start at 0, andiDevNum set to increment until the function fails. Note that DISPLAY_DEVICE.DeviceName changes with each call for monitor information, so you must save the adapter name. The function fails when there are no more monitors for the adapter.
- OpenGL 远程崩溃
- vs远程调试学习-崩溃调试学习
- vs2010或vs2012远程连接时,系统崩溃的问题
- vs2010或vs2012远程连接时,系统崩溃的问题
- vs2010或vs2012远程连接时,系统崩溃的问题
- Android之崩溃日志本地存储与远程保存
- Android 崩溃日志 本地存储 与 远程保存
- Ubuntu崩溃报告工具存在远程代码执行漏洞
- 崩溃
- 崩溃
- 崩溃
- 崩溃
- 崩溃
- 崩溃
- 崩溃
- 崩溃
- 崩溃
- [转]如何远程连接运行OpenGL/Cuda 等GPU程序
- 泛型集合
- win 7激活 vs2008 专业版 最简单的方法
- 接口
- iOS-UIViewController
- delphi压缩与解压_不需要特别的控件
- OpenGL 远程崩溃
- 序
- 了解泛型
- ios开发学习笔记(这里一定有你想要的东西,全部免费
- 若爱 就如桃花般地去爱
- java 枚举类的一个疑问
- chromium编译
- DirectShow下载及配置
- hdu 2710 Max Factor