funcs_any_win.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:petronia 作者: groboclown 项目源码 文件源码
def window__client_rectangle(hwnd):
    """
    The client-usable space within the border rectangle.  Top and Left
    are always 0.

    :param hwnd:
    :return: the rectangle structure.
    """
    client_rect = wintypes.RECT()
    res = windll.user32.GetClientRect(hwnd, byref(client_rect))
    if res == 0:
        raise WinError()
    return _rect_to_dict(client_rect)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号