delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/01/26/17:40:00

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A71FB82.8773B692@yahoo.com>
Date: Fri, 26 Jan 2001 17:34:42 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin-developers AT cygwin DOT com>,
Earnie Boyd <mingw-dvlpr AT lists DOT sourceforge DOT net>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-developers AT cygwin DOT com
CC: Earnie Boyd <mingw-dvlpr AT lists DOT sourceforge DOT net>
Subject: Re: Tool Help definitions in kernel32.def
References: <3A71D463 DOT A693CD5B AT yahoo DOT com> <20010126171432 DOT A22745 AT redhat DOT com>

Christopher Faylor wrote:
> 
> On Fri, Jan 26, 2001 at 02:47:47PM -0500, Earnie Boyd wrote:
> >Danny Smith is proposing the following patch:
> >
> >--- kernel32.def.orig   Thu Oct 19 08:35:38 2000
> >+++ kernel32.def        Tue Jan 09 09:00:26 2001
> >@@ -76,7 +76,6 @@ CreateSemaphoreW AT 16
> > CreateTapePartition AT 16
> > CreateThread AT 24
> > CreateTimerQueue AT 0
> >-CreateToolhelp32Snapshot AT 8
> > CreateVirtualBuffer AT 12
> > CreateWaitableTimerA AT 12
> > CreateWaitableTimerW AT 12
> >@@ -402,10 +401,6 @@ GlobalUnWire AT 4
> > GlobalUnfix AT 4
> > GlobalUnlock AT 4
> > GlobalWire AT 4
> >-Heap32First AT 12
> >-Heap32ListFirst AT 8
> >-Heap32ListNext AT 8
> >-Heap32Next AT 4
> > HeapAlloc AT 12
> > HeapCompact AT 8
> > HeapCreate AT 12
> >---------------------------------------------------
> >
> >I don't necessarily disagree with this patch however, these are win95
> >specific.  Were these functions actually in the Kernel32.dll on Win95?
> >If so, I feel that I can't apply the patch.  Any documentation for these
> >have been removed from the msdn website.
> >
> >I would like others comments before applying.
> 
> Cygwin actually uses CreateToolhelp32Snapshot.  There *used* to be documentation
> on these at msdn.microsoft.com.
> 

They would still be defined and usable via -lth32.  The benefit from
removing them from libkernel32 is so that it becomes a link error
instead of a runtime error when building for NT.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019