术语 | windowfromdc |
释义 | WindowFromDC 语法: HWND WindowFromDC( __in HDC hDC ); WindowFromDC功能 该WindowFromDC函数返回的句柄与指定的显示设备上下文(DC)相关的窗口。输出功能,使用指定的设备上下文绘制到此窗口。 参数 hDC [in] 处理设备环境,它的一个句柄相关窗口要检索。 返回值 返回值是一个句柄与指定区相关的窗口。如果没有窗口与指定的区,返回值为NULL关联。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinuser.h(头文件:winuser.h) LibraryUser32.lib DLLUser32.dll 参见 绘画和绘图概述 绘画和绘图功能 GetDC GetDCEx GetWindowDC 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==WindowFromDC Function The WindowFromDC function returns a handle to the window associated with the specified display device context (DC). Output functions that use the specified device context draw into this window. Syntax HWND WindowFromDC( __in HDC hDC ); Parameters hDC [in] Handle to the device context from which a handle to the associated window is to be retrieved. Return Value The return value is a handle to the window associated with the specified DC. If no window is associated with the specified DC, the return value is NULL. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinuser.h (include Windows.h) LibraryUser32.lib DLLUser32.dll See Also Painting and Drawing Overview Painting and Drawing Functions GetDC GetDCEx GetWindowDC Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd145201(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。