Virtualbox WDDM 用户模式显示驱动之vboxWddmDispGetCaps
2015-11-02 13:54
513 查看
/* The GetCaps function queries for capabilities of the graphics adapter. 获取显示的能力集 */ static HRESULT APIENTRY vboxWddmDispGetCaps (HANDLE hAdapter, CONST D3DDDIARG_GETCAPS* pData) { vboxVDbgPrint(("==> "__FUNCTION__", hAdapter(0x%p), caps type(%d)\n", hAdapter, pData->Type)); AssertBreakpoint(); switch (pData->Type) { case D3DDDICAPS_DDRAW: case D3DDDICAPS_DDRAW_MODE_SPECIFIC: case D3DDDICAPS_GETFORMATCOUNT: case D3DDDICAPS_GETFORMATDATA: case D3DDDICAPS_GETMULTISAMPLEQUALITYLEVELS: case D3DDDICAPS_GETD3DQUERYCOUNT: case D3DDDICAPS_GETD3DQUERYDATA: case D3DDDICAPS_GETD3D3CAPS: case D3DDDICAPS_GETD3D5CAPS: case D3DDDICAPS_GETD3D6CAPS: case D3DDDICAPS_GETD3D7CAPS: case D3DDDICAPS_GETD3D8CAPS: case D3DDDICAPS_GETD3D9CAPS: case D3DDDICAPS_GETDECODEGUIDCOUNT: case D3DDDICAPS_GETDECODEGUIDS: case D3DDDICAPS_GETDECODERTFORMATCOUNT: case D3DDDICAPS_GETDECODERTFORMATS: case D3DDDICAPS_GETDECODECOMPRESSEDBUFFERINFOCOUNT: case D3DDDICAPS_GETDECODECOMPRESSEDBUFFERINFO: case D3DDDICAPS_GETDECODECONFIGURATIONCOUNT: case D3DDDICAPS_GETDECODECONFIGURATIONS: case D3DDDICAPS_GETVIDEOPROCESSORDEVICEGUIDCOUNT: case D3DDDICAPS_GETVIDEOPROCESSORDEVICEGUIDS: case D3DDDICAPS_GETVIDEOPROCESSORRTFORMATCOUNT: case D3DDDICAPS_GETVIDEOPROCESSORRTFORMATS: case D3DDDICAPS_GETVIDEOPROCESSORRTSUBSTREAMFORMATCOUNT: case D3DDDICAPS_GETVIDEOPROCESSORRTSUBSTREAMFORMATS: case D3DDDICAPS_GETVIDEOPROCESSORCAPS: case D3DDDICAPS_GETPROCAMPRANGE: case D3DDDICAPS_FILTERPROPERTYRANGE: case D3DDDICAPS_GETEXTENSIONGUIDCOUNT: case D3DDDICAPS_GETEXTENSIONGUIDS: case D3DDDICAPS_GETEXTENSIONCAPS: case D3DDDICAPS_GETGAMMARAMPCAPS: if (pData->pData && pData->DataSize) memset(pData->pData, 0, pData->DataSize); break; default: AssertBreakpoint(); } vboxVDbgPrint(("<== "__FUNCTION__", hAdapter(0x%p), caps type(%d)\n", hAdapter, pData->Type)); return S_OK; }
相关文章推荐
- BarCode Reader SDK使用教程:用VB6实现条码的生成和读取
- BarCode Reader SDK使用教程:用VB6实现条码的生成和读取
- vbs 字符串函数
- 短信中VB.NET编码PDU(二)
- 短信中VB.NET编码PDU(一)
- vb.net机房收费系统重构——存储过程的使用
- 关于VB6弹出菜单的问题
- VB的基本使用2
- VB基本的使用
- websocket vb
- VBox下扩展Ubuntu根分区大小的方法
- 短信中VB.NET编码PDU(一)
- 短信中VB.NET编码PDU(一)
- 短信中VB.NET编码PDU(一)
- vbs调试方法
- VB6.0 读取CSV文件
- 【VB.NET】三层登陆实例
- VB.Net程序设计:CodeStringHelper多行代码批量修改器
- VBS脚本教程:文件读取及写入
- Excel VBA常用代码总结1