但是NV显卡的CUDA提供了解决办法,在一本《NVIDIA UTILITIES AND APIS NVCPL.DLL API Manual》的官方手册里面,描述了有关的NV显卡的显示有关API函数。
使用google可以搜索 NVCPL.DLL API Manual 来得到这个手册。(目前的下载地址为:http://developer.download.nvidia.com/SDK/9.5/Samples/DEMOS/common/src/NvCpl/docs/NVControlPanel_API.pdf
)
/*------------------------------------*/
NV显卡(Geforce、Quadro)的显示器旋转方法的答案如下:
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
MSDN说WinCE不支持
[/Quote]
不好意思,可能是我误导了各位。WinCE到底支持不支持,我也没有测试过。
微软的官网上的介绍如下:
Windows NT/2000/XP/Vista: Included in Windows 2000 and later.
Windows 95/98/Me: Included in Windows 98 and later.
Header: Declared in Winuser.h; include Windows.h.
Library: Use User32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows 2000/XP. Also supported by Microsoft Layer for Unicode.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.