http://bugs.winehq.org/show_bug.cgi?id=18772 Summary: Missing User32.PrintWindow implementation Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: namjos(a)gmail.com There's a missing function in user32.dll : PrintWindow. It cause crash for an application: wine: Call from 0x7bc486d0 to unimplemented function USER32.dll.PrintWindow, aborting The specification of the function could be found here: http://msdn.microsoft.com/en-us/library/dd162869.aspx BOOL PrintWindow( HWND hwnd, HDC hdcBlt, UINT nFlags ); 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 Regards -- 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.