术语 | getbitmapbits |
释义 | GetBitmapBits 语法: LONG GetBitmapBits( __in HBITMAP hbmp, __in LONG cbBuffer, __out LPVOID lpvBits ); GetBitmapBits函数 该GetBitmapBits函数复制指定设备的位图位相关位图到缓冲区。 注意:此功能仅提供了兼容性与16位的Windows版本。应用程序应该使用GetDIBits函数。 参数 骨形成蛋白 [in] 一个句柄,依赖于设备的位图。 cbBuffer [in] 的字节数从复制到缓冲区位图。 lpvBits [out] 一个缓冲区指针获得位图位。该位被存储为一个字节值数组。 返回值 如果函数成功,返回值是复制到缓冲区的字节数。 如果函数失败,返回值是零。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 位图概述 位图功能 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==GetBitmapBits Function The GetBitmapBits function copies the bitmap bits of a specified device-dependent bitmap into a buffer. Note This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the GetDIBits function. Syntax LONG GetBitmapBits( __in HBITMAP hbmp, __in LONG cbBuffer, __out LPVOID lpvBits ); Parameters hbmp [in] A handle to the device-dependent bitmap. cbBuffer [in] The number of bytes to copy from the bitmap into the buffer. lpvBits [out] A pointer to a buffer to receive the bitmap bits. The bits are stored as an array of byte values. Return Value If the function succeeds, the return value is the number of bytes copied to the buffer. If the function fails, the return value is zero. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWingdi.h (include Windows.h) LibraryGdi32.lib DLLGdi32.dll See Also Bitmaps Overview Bitmap Functions Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd144850(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。