[Bug 18772] Missing User32.PrintWindow implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 4 04:53:18 CDT 2009


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


Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk




--- Comment #1 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2009-06-04 04:53:18 ---

> 
> It appears that a simple redirection to WM_PRINT SendMessage could work, i.e.
> (not tested):
> 
> BOOL WINAPI PrintWindow( HWND sourceHandle, HDC destinationHandle, UINT nFlags)
> {
>     return (SendMessageA(sourceHandle, WM_PRINT, (WPARAM)destinationHandle, 
> PRF_CHILDREN | PRF_CLIENT | PRF_ERASEBKGND | PRF_NONCLIENT | PRF_OWNED));
> }
> 
> I've tried to test this function by adding it to painting.c, but the program
> keeps complain about missing function, don't understand why

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

-- 
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