This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: more robust tty_list::allocate_tty


Hi!

Friday, 30 August, 2002 Christopher Faylor cgf@redhat.com wrote:

CF> On Fri, Aug 30, 2002 at 03:40:10PM -0000, Chris January wrote:

CF> This is a nice change, but the preferred way of doing this is to use
CF> autoload functionality.  Then we don't have to worry about adding a new
CF> capability every time there is a new OS release.

CF> I've checked in a modified version of this patch which does this.

CF> I've wanted something like this in cygwin for a while.  I appreciate
CF> your researching this.

GetConsoleWindow() has no parameters.

Index: autoload.cc
===================================================================
RCS file: /cvs/uberbaum/winsup/cygwin/autoload.cc,v
retrieving revision 1.54
diff -u -p -2 -r1.54 autoload.cc
--- autoload.cc 30 Aug 2002 16:03:52 -0000      1.54
+++ autoload.cc 30 Aug 2002 17:27:48 -0000
@@ -495,5 +495,5 @@ LoadDLLfuncEx (CancelIo, 4, kernel32, 1)
 LoadDLLfuncEx (CreateHardLinkA, 12, kernel32, 1)
 LoadDLLfuncEx (CreateToolhelp32Snapshot, 8, kernel32, 1)
-LoadDLLfuncEx (GetConsoleWindow, 4, kernel32, 1)
+LoadDLLfuncEx (GetConsoleWindow, 0, kernel32, 1)
 LoadDLLfuncEx2 (IsDebuggerPresent, 0, kernel32, 1, 1)
 LoadDLLfuncEx (Process32First, 8, kernel32, 1)

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]