This is the mail archive of the cygwin-developers@sources.redhat.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]

Re: Tool Help definitions in kernel32.def


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@16
> > CreateTapePartition@16
> > CreateThread@24
> > CreateTimerQueue@0
> >-CreateToolhelp32Snapshot@8
> > CreateVirtualBuffer@12
> > CreateWaitableTimerA@12
> > CreateWaitableTimerW@12
> >@@ -402,10 +401,6 @@ GlobalUnWire@4
> > GlobalUnfix@4
> > GlobalUnlock@4
> > GlobalWire@4
> >-Heap32First@12
> >-Heap32ListFirst@8
> >-Heap32ListNext@8
> >-Heap32Next@4
> > HeapAlloc@12
> > HeapCompact@8
> > HeapCreate@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


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