术语 | getdcorgex |
释义 | GetDCOrgEx 语法: BOOL GetDCOrgEx( __in HDC hdc, __out LPPOINT lpPoint ); GetDCOrgEx功能 该GetDCOrgEx函数检索一个指定的设备上下文(DC)的最后翻译的起源。最后的翻译起源指定的偏移系统使用转化为客户坐标设备坐标(对坐标)在应用程序的窗口。 参数 hdc [in] 句柄到DC转换来源,其最终要检索。 lpPoint [out] 一个点结构,接收最后翻译起源指针,在设备坐标。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。 备注 最后的翻译的起源是相对于屏幕的物理起源。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 设备上下文概述 设备上下文函数 CreateIC 点 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==GetDCOrgEx Function The GetDCOrgEx function retrieves the final translation origin for a specified device context (DC). The final translation origin specifies an offset that the system uses to translate device coordinates into client coordinates (for coordinates in an application's window). Syntax BOOL GetDCOrgEx( __in HDC hdc, __out LPPOINT lpPoint ); Parameters hdc [in] A handle to the DC whose final translation origin is to be retrieved. lpPoint [out] A pointer to a POINT structure that receives the final translation origin, in device coordinates. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. Remarks The final translation origin is relative to the physical origin of the screen. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWingdi.h (include Windows.h) LibraryGdi32.lib DLLGdi32.dll See Also Device Contexts Overview Device Context Functions CreateIC POINT Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd144874(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。