DirectxDraw学习笔记 冷夜

1.DirectDrawCreateEx() 连接报错 ,要加入dxguid.lib

2.返回错误代码:DXGetErrorString(hret) ,  要加入DxErr.lib

3.锁定的表面不可以进行BLT操作

4.BLT的RECT参数,如果left>right 或者 top<bottom会报DDERR_INVALIDRECT错误

5.窗口模式下不可以设置页面flip置换技术

6.D3D的头文件和库文件

#include "d3dx9.h"

d3d9.lib d3dx9.lib winmm.lib dinput8.lib dxguid.lib

原文地址:https://www.cnblogs.com/gamesky/p/2610481.html