我正在维护一个遗留应用程序,我需要找到IDirectDraw::SetCooperativeLevel函数的文档。(不,Windows CE MSDN page不支持。)它不在MSDN中,也不在最新的DirectX SDK文档中,微软从他们的网站上删除了所有的DirectDraw文档(和旧的SDK)。
在我从随机网站下载旧的DirectX SDK安装程序之前,有谁知道更好的地方可以找到DirectDraw文档吗?
发布于 2010-11-02 06:35:54
不知道你需要什么信息,但这是我得到的。
摘自此处的教程: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可能是您最好的选择。
发布于 2010-11-02 07:04:34
无论如何,我在谷歌搜索中找到了一份DirectX 7SDK文档的副本:
http://www.google.com/search?q=intitle%3A%22index+of%22+%22dx7docs.exe%22
发布于 2013-01-22 10:13:25
我可以在MSDN上找到文档:http://msdn.microsoft.com/en-us/library/aa918514.aspx
我不知道你为什么说那是不可用的。
https://stackoverflow.com/questions/4073241
复制相似问题