网站首页  词典首页

请输入您要查询的函数:

 

术语 printwindow
释义 PrintWindow
语法:
BOOL PrintWindow(
HWND hwnd,
HDC hdcBlt,
UINT nFlags
);
PrintWindow功能
该PrintWindow视觉功能拷贝到指定的窗口设备上下文(DC),通常是打印机直流。
参数
hwnd
一个句柄,将被复制窗口。
hdcBlt
一个句柄,设备上下文。
nFlags
绘图选项。它可以是下列值之一。
ValueMeaning
PW_CLIENTONLYOnly窗口的客户区域被复制到hdcBlt。默认情况下,整个窗口被复制。
返回值
如果函数成功,它返回一个非零值。
如果函数失败,返回零。
备注
这个功能类似于WM_PRINT。在调用PrintWindow,首先选择一到hdcBlt位图。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
绘画和绘图概述
绘画和绘图信息
WM_PRINT
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PrintWindow Function
The PrintWindow function copies a visual window into the specified device context (DC), typically a printer DC.
Syntax
BOOL PrintWindow(
HWND hwnd,
HDC hdcBlt,
UINT nFlags
);
Parameters
hwnd
A handle to the window that will be copied.
hdcBlt
A handle to the device context.
nFlags
The drawing options. It can be one of the following values.
ValueMeaning
PW_CLIENTONLYOnly the client area of the window is copied to hdcBlt. By default, the entire window is copied.

Return Value
If the function succeeds, it returns a nonzero value.
If the function fails, it returns zero.
Remarks
This function is similar to WM_PRINT . Before calling PrintWindow, first select a bitmap into hdcBlt.
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
Painting and Drawing Overview
Painting and Drawing Messages
WM_PRINT
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162869(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 13:15:38