登录
首页 » 文件格式 » 下面的函数LoadBmpFile,其功能是从一个.bmp文件中读取数据(包括BITMAPINFOHEADER,调色板和实际图象数据),将其存储在一个全局内存句柄...

下面的函数LoadBmpFile,其功能是从一个.bmp文件中读取数据(包括BITMAPINFOHEADER,调色板和实际图象数据),将其存储在一个全局内存句柄...

于 2023-07-21 发布 文件大小:7.32 kB
0 30
下载积分: 2 下载次数: 1

代码说明:

下面的函数LoadBmpFile,其功能是从一个.bmp文件中读取数据(包括BITMAPINFOHEADER,调色板和实际图象数据),将其存储在一个全局内存句柄hImgData中,这个hImgData将在以后的图象处理程序中用到。同时填写一个类型为HBITMAP的全局变量hBitmap和一个类型为HPALETTE的全局变量hPalette。这两个变量将在处理WM_PAINT消息时用到,用来显示位图。该函数的两个参数分别是用来显示位图的窗口句柄,和.bmp文件名(全路径)。当函数成功时,返回TRUE,否则返回FALSE。-The following function LoadBmpFile, its function is from a. Bmp file to read data (including the BITMAPINFOHEADER, palette and the actual image data), its stored in a global memory handle hImgData, this hImgData will in the future plans used as treatment procedures. At the same time, fill out a type of global variable HBITMAP HBITMAP HPALETTE and a type of global variable hPalette. These two variables will be used for treatment WM_PAINT message, used to display bitmaps. The function of two parameters are used to display the bitmap handle of the window, and. Bmp file name (full path). When the function is successful, return TRUE, otherwise return FALSE.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • bla bla the quick brown from jupms over the lazy dog bla bla the quick brown fro...
    bla the quick brown from jupms over the lazy dog bla bla the quick brown from jupms over the lazy dog -bla bla the quick brown from jupms over the lazy dog bla bla the quick brown from jupms over the lazy dog bla bla the quick brown from jupms over the lazy dog
    2022-06-02 14:46:42下载
    积分:1
  • BP算法下载之一
    BP算法下载之一-BP algorithm download one
    2022-03-01 19:58:07下载
    积分:1
  • MCS
    MCS-51与数码显示器和键盘的接口,一个原理PPT文件-MCS-51 with digital display and keypad interface, a principle of PPT files
    2022-04-27 00:05:54下载
    积分:1
  • 每个大学毕业生的就业问题,以及其中的一个重点…
    毕业生就业问题是每个高校以及社会关注的焦点之一;学生如果能充分考虑各个方面的因素,综合评价后再确定自己的就业岗位的取向对其成功就业是有很大帮助的;学校有关部门如能掌握毕业生的就业岗位取向就能及时地调整工作重点并更好地指导和帮助学生就业。在本问题中,我们通过附件所给出的数据利用数学模型的思想与方法,重点对1995―2007年这13年的毕业生就业情况进行了较全面的统计与分析。-The employment problem of graduates of each college, as well as one of the focal points of social concern students if they can give full consideration to various factors, comprehensive evaluation and then determine their own jobs to their success-oriented employment is of great help schools departments, such as graduates to acquire jobs in a timely manner to adjust the orientation will be able to focus and to better guide and help students in employment. In this problem, we adopted the data given in the Annex to the use of mathematical models of thinking and methods, with emphasis on the 1995-2007 graduates of 13 years in the employment situation in a more comprehensive statistics and analysis.
    2022-01-25 21:24:45下载
    积分:1
  • 华为,大规模逻辑设计指导书,规详细,包括:VHDL编写规范,Verilog编写规范,asic设计方法,同步电路设计规则,vhdl电路设计,代码可重用设计,...
    华为,大规模逻辑设计指导书,规格详细,包括:VHDL编写规范,Verilog编写规范,asic设计方法,同步电路设计规则,vhdl电路设计,代码可重用设计,-Huawei, a large-scale logic design guide books, detailed specifications, including: VHDL specification preparation, Verilog specification preparation, asic design, synchronous circuit design rules, vhdl circuit design, reusable code design,
    2022-02-14 13:11:48下载
    积分:1
  • 克拉克和莱特(1964)储蓄算法也许是最广为人知的。
    C-W节约算法是最经典的求解车辆路径问题的启发式算法。-The Clarke and Wright(1964) savings algorithm is perhaps the most widely known heuristic for the VRP.
    2022-01-28 08:16:25下载
    积分:1
  • 图像压缩/功率谱估计/奇异值分解
    图像压缩/功率谱估计/基于奇异值分解的信号去噪 清华大学数字信号处理期末大作业-Image compression/power spectrum estimation/singular value decomposition-based signal de-noising of the Digital Signal Processing, Tsinghua University at the end of major operations
    2023-06-03 19:05:03下载
    积分:1
  • LM317可调稳压电路,参考一下还是可以用的哈。
    LM317可调稳压电路,参考一下还是可以用的哈。-LM317
    2022-07-21 17:07:49下载
    积分:1
  • 基于模糊神经网络对摊铺机智能故障识别中的应用
    介绍了模糊神经网络的对摊铺机的智能故障的识别应用-on FNN right paver Intelligent Fault Recognition Application
    2023-08-15 08:40:03下载
    积分:1
  • 这些程序挺有意思的 也很实用 有意者有空考可下载
    这些程序挺有意思的 也很实用 有意者有空考可下载-these procedures are quite interesting the very practical Interested parties can download the time take a look at
    2022-08-04 05:33:19下载
    积分:1
  • 696524资源总数
  • 103920会员总数
  • 65今日下载