我正在维护一个遗留应用程序,我需要找到 IDirectDraw::SetCooperativeLevel 函数的文档。(不,Windows CE MSDN 页面没有删减它。)它不在 MSDN 中,不在最新的 DirectX SDK 文档中,并且通过查看微软从他们的网站上删除了所有 DirectDraw 文档(和旧的 SDK)。
在我从随机网站下载旧的 DirectX SDK 安装程序之前,有人知道找到 DirectDraw 文档的更好地方吗?
我正在维护一个遗留应用程序,我需要找到 IDirectDraw::SetCooperativeLevel 函数的文档。(不,Windows CE MSDN 页面没有删减它。)它不在 MSDN 中,不在最新的 DirectX SDK 文档中,并且通过查看微软从他们的网站上删除了所有 DirectDraw 文档(和旧的 SDK)。
在我从随机网站下载旧的 DirectX SDK 安装程序之前,有人知道找到 DirectDraw 文档的更好地方吗?
对于它的价值,我通过 Google 搜索找到了 DirectX 7 SDK 文档的副本:
http://www.google.com/search?q=intitle%3A%22index+of%22+%22dx7docs.exe%22
不知道你需要什么信息,但这是我得到的。
取自这里的教程:http ://www.gamedev.net/reference/articles/article608.asp
/*
* The cooperative level determines how much control we have over the
* screen. This must at least be either DDSCL_EXCLUSIVE or DDSCL_NORMAL
*
* DDSCL_EXCLUSIVE allows us to change video modes, and requires
* the DDSCL_FULLSCREEN flag, which will cause the window to take over
* the fullscreen. This is the preferred DirectDraw mode because it allows
* us to have control of the whole screen without regard for GDI.
*
* DDSCL_NORMAL is used to allow the DirectDraw app to run windowed.
*/
ddrval = lpDD->SetCooperativeLevel( hwnd, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN );
我还发现必须在 SetDisplayMode 之前调用 SetCooperativeLevel。
这也可能有帮助,也可能没有帮助: http ://www.eggheadcafe.com/software/aspnet/33936361/idirectdraw7setcooperativelevel-and-focusdevice-window.aspx
对于纯粹的文档,我找不到比 MSDN 更好的东西了,所以如果上面没有削减它,旧的 SDK 可能是你最好的选择。
我可以在 MSDN 上找到文档:http: //msdn.microsoft.com/en-us/library/aa918514.aspx
我不知道你为什么说它不可用。