[Bug 18772] Missing User32.PrintWindow implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 4 05:11:21 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18772





--- Comment #2 from Jos <namjos at gmail.com>  2009-06-04 05:11:21 ---
(In reply to comment #1)

> 
> Have you also added stdcall to user32.spec? then it should ne "visiible"

Thanks, it's was the missing thing I needed :)
I can confirm my patch is working

So i've added this to user32.spec:
@ stdcall PrintWindow(long long long)

And this to painting.c:
BOOL WINAPI PrintWindowW( HWND sourceHandle, HDC destinationHandle, UINT
nFlags)
{
    return (SendMessageA(sourceHandle, WM_PRINT, (WPARAM)destinationHandle, 
PRF_CHILDREN | PRF_CLIENT | PRF_ERASEBKGND | PRF_NONCLIENT | PRF_OWNED));
}

---------------------------------------

Would it be possible to integrate it on wine?
Would you need that i made a little patch file?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list