|
|
其中有一句代码:
//创建一个后台表面
CreateBitmap(lpDDSBack,ScreenWidth,ScreenHeight);
但是CreateBitmap中是5个参数的
HBITMAP CreateBitmap(
int nWidth, // bitmap width, in pixels
int nHeight, // bitmap height, in pixels
UINT cPlanes, // number of color planes
UINT cBitsPerPel, // number of bits to identify color
CONST VOID *lpvBits // color data array
);
然后编译出错,怎么处理?? |
|