kernel32: Implementation of GetLargestConsoleWindowSize.

2008-05-02 Thread Reijo T Sund
Eric Pouech (Fri May 2 01:38:37 CDT 2008): > first of all, implementing twice the same function is a bad idea > you should wrap the two implementations into a single function, and have > simple wrappers for handling the different return convention > in the other items: > - you never handle errors i

kernel32: Implementation of GetLargestConsoleWindowSize.

2008-05-02 Thread Kirill K. Smirnov
Hi, + +hWnd = GetConsoleWindow(); + +SERVER_START_REQ( get_window_rectangles ) +{ +req->handle = hWnd; +ret = !wine_server_call_err(req); +colpix = reply->client.right - reply->client.left; +linpix = reply->client.bottom - reply->client.top; +col

Re: kernel32: Implementation of GetLargestConsoleWindowSize.

2008-05-01 Thread Eric Pouech
Reijo T Sund a écrit : > >From e59f5ec4eaf6936b7ecb6e4d0a471d38622f22aa Mon Sep 17 00:00:00 2001 > From: Reijo Sund <[EMAIL PROTECTED]> > Date: Thu, 1 May 2008 10:20:19 +0300 > Subject: kernel32: Implementation of GetLargestConsoleWindowSize. > > The function should retu