游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1231|回复: 0

关于sword2中CreateBitmap三个参数出错的请教.

[复制链接]

10

主题

24

帖子

26

积分

注册会员

Rank: 2

积分
26
发表于 2007-11-19 10:21:00 | 显示全部楼层 |阅读模式
其中有一句代码:
       
//创建一个后台表面
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
);


然后编译出错,怎么处理??
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-24 10:15

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表