http://bugs.winehq.org/show_bug.cgi?id=18772
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@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"