网站首页  词典首页

请输入您要查询的函数:

 

术语 getbitmapdimensionex
释义 GetBitmapDimensionEx
语法:
BOOL GetBitmapDimensionEx(
__in HBITMAP hBitmap,
__out LPSIZE lpDimension
);
GetBitmapDimensionEx功能
该GetBitmapDimensionEx函数检索一个兼容位图的尺寸。检索到的尺寸必须设置的SetBitmapDimensionEx功能。
参数
hBitmap [in]
句柄与兼容的位图(DDB)。
lpDimension [out]
一个尺寸结构的指针得到位图的尺寸。有关更多信息,请参见备注。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该函数返回一个数据结构,它包含了0.01的高度和宽度的位图等,毫米单位。如果这些方面都尚未确定,返回的将在这些领域零的结构。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
位图概述
位图功能
SetBitmapDimensionEx
尺寸
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetBitmapDimensionEx Function
The GetBitmapDimensionEx function retrieves the dimensions of a compatible bitmap. The retrieved dimensions must have been set by the SetBitmapDimensionEx function.
Syntax
BOOL GetBitmapDimensionEx(
__in HBITMAP hBitmap,
__out LPSIZE lpDimension
);
Parameters
hBitmap [in]
A handle to a compatible bitmap (DDB).
lpDimension [out]
A pointer to a SIZE structure to receive the bitmap dimensions. For more information, see Remarks.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The function returns a data structure that contains fields for the height and width of the bitmap, in .01-mm units. If those dimensions have not yet been set, the structure that is returned will have zeroes in those fields.
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
SetBitmapDimensionEx
SIZE
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144851(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:24:32