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

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

于 2023-07-21 发布 文件大小:7.32 kB
0 156
下载积分: 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 个回复

  • Formulario TEV
    Se 差不多联合国体系 que permita automatizar en terreno el ingreso de 信息 段 la 知识 de pacientes con riesgo de TEV,段 luego ser enviada,con 联合国 formato específico,análisis estadístico por 拉迪尔企业外耳炎。De esta 变型 es necesaria la automatización del 通婚 de ciertos cálculos propios del formulario, 科莫德尔阿旺德尔支持、 esto es、 联合国控制 que permita vincular en 进而 加 formulario con 信息支持联合国 o ficha 特别。
    2022-03-06 23:21:30下载
    积分:1
  • 芯片集成电路材料
    Microchip Ic material PIC18Fxx60-Microchip Ic material PIC18Fxx60
    2022-03-18 17:55:26下载
    积分:1
  • IEEE写法,帮助你去改稿,符合IEEE标准。给菜鸟看的,大虾可飘过。...
    IEEE文件格式写法,帮助你去改稿,符合IEEE文件标准。给菜鸟看的,大虾可飘过。-IEEE file format written to help you to change draft documents in line with the IEEE standard. To look at the rookie, shrimp may be drifting away.
    2022-03-23 05:20:45下载
    积分:1
  • M16驱动LCM128645,液晶芯片ST7920
    M16驱动LCM128645,液晶芯片ST7920-M16 driver LCM128645, LCD chip ST7920
    2022-03-17 04:53:14下载
    积分:1
  • jkv hjmvm ujuyy uyjkyu uy
    jkv hjmvm ujuyy uyjkyu uy
    2022-03-31 16:33:22下载
    积分:1
  • 一篇全面介绍MIMO的经典章。推荐入门者下载
    一篇全面介绍MIMO的经典文章。推荐入门者下载-MIMO a comprehensive presentation of the classic articles. Download recommend beginners
    2022-07-07 16:54:44下载
    积分:1
  • 图书馆座位管理系统
    随着计算机的普及及高校对图书馆的重视,图书馆建设越来越趋向于系统化和智能化,提出了采用计算机硬件或软件技术实现对自习室的辅助管理。而采用硬件技术为主开发的自习室管理系统存在成本大、功能弱、系统扩展性低等问题,并没有广泛实施。以软件技术为主开发的自习室管理系统相对于硬件来说则不存在相关问题,但目前相关系统的设计研究仅限于学生用户地理环境固定于图书馆,即必须进入图书馆才有可能订座的情况,并未考虑学生订座时机随意的情况,同时已有的系统设计前题都是基于校园一卡通系统,也未考虑外来用户的需求情况。在此基础上编写了用C++方式的图书馆座位管理系统的文档。
    2022-09-22 17:20:03下载
    积分:1
  • provide all MATLAB commands and useful, some not more than I used
    提供MATLAB的所有操作命令,很有用,有一些我多没用过-provide all MATLAB commands and useful, some not more than I used
    2023-03-05 08:10:03下载
    积分:1
  • 1 概述 1.1 编写目的 本档的编写目的是:详细定义×××××软的总体功能;给出系统的结构设计,作为过程设计和程序编写的依据。 1.2 参考资...
    1 概述 1.1 编写目的 本文档的编写目的是:详细定义×××××软件的总体功能;给出系统的结构设计,作为过程设计和程序编写的依据。 1.2 参考资料 包括: a. 项目来源; b. 本文档中引用到的规范和资料等; c. 列出这些规范和资料的作者、编号、标题、发表日期、出版单位或资料来源。 1.3 术语和缩写词* 列出本文档中用到的专门术语的定义和缩写词,缩写词要给出中文译名和英文全称,常用的不需要定义。 2 需求概述 2.1 目标与需求 概述系统的特性和需求,扩充软件需求说明中的信息,给出增加的细节,详尽地指出对软件需求说明中有关特性和需求做出的变更。 2.2 环境描述 描述运行软件系统所需的软、硬件环境;描述开发软件系统所需的软、硬件环境。 2.3 条件和限制 描述可能影响设计方案形成及实施的条件和限制。 -prepared an overview 1.1 purpose of this document is prepared : detailed definition x x x software overall function; given the structural design, As a process and procedures for the preparation of the design basis. 1.2 reference include : a. source projects; B. This document quoted the norms and information; c. presents information on these norms and the author of the serial number, title, date of publication, the publishing unit or source of information. 1.3 Terms and Abbreviations* List of the documents used in the definition of the jargon and abbreviations words, acronym given to the Chinese tra
    2022-03-21 14:47:27下载
    积分:1
  • 热能表设计参考:供热采暖的分户计量近一二年内
    热能表设计参考:供热采暖的分户计量近一二年内-thermal design reference table : Heating of household metering within the last 12
    2022-03-12 02:52:03下载
    积分:1
  • 696516资源总数
  • 106618会员总数
  • 4今日下载