彭浩 penghao at
Mon Jan 19 02:55:50 CST 2015

according to the MSDN, when applications call PrintWindow with PW_CLIENTONLY flag, window should receive WM_PRINTCLEINT message:

The application that owns the window referenced by hWnd processes the PrintWindow call and renders the image in the device context that is referenced by hdcBlt. The application receives a WM_PRINT message or, if the PW_PRINTCLIENT flag is specified, a WM_PRINTCLIENT message. For more information, seeWM_PRINT and WM_PRINTCLIENT.

dlls/user32/painting.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

Wuhan Deepin Technology Co.,ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user32_-send-WM_PRINTCLIENT-when-PW_CLIENTONLY-is-set.txt
Type: application/octet-stream
Size: 802 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list