勇芳软件工作室.汉化:  Coordinate Spaces and Transformations > Coordinate Spaces and Transformations Functions >

GetWindowExtEx

Previous pageReturn to chapter overviewNext page

描述

 

此函数检索指定设备上下文的窗口的x范围和y范围。

 

C++ 语法

 

BOOL GetWindowExtEx(

__in HDC hdc,

__out LPSIZE lpSize

);

 

PowerBASIC 语法

 

FUNCTION GetWindowExtEx ( _

BYVAL hdc AS DWORD, _

BYREF lpSize AS SIZE _

) AS LONG

 

参数

 

hdc

 

[in]处理设备上下文。

 

lpPoint

 

[out]指向SIZE结构的指针,它以页面空间为单位接收x和y范围,即逻辑单位。

 

返回值

 

如果函数成功,返回值不为零。

 

如果函数失败,返回值为零。

 

Windows NT / 2000 / XP / Vista / Windows 7:要获取扩展错误信息,请调用GetLastError.

 

引用文件 #INCLUDE Once

 

WinGdi.inc(包括Windows.inc)