From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4621 invoked by alias); 23 Sep 2008 06:58:40 -0000 Received: (qmail 4613 invoked by uid 22791); 23 Sep 2008 06:58:40 -0000 X-Spam-Check-By: sourceware.org Received: from ipmail04.adl2.internode.on.net (HELO ipmail04.adl2.internode.on.net) (203.16.214.57) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 06:58:05 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiwBAIkt2Eg7p/SCiGdsb2JhbAAIi2WHMQEBARUinF6GZoFmghY X-IronPort-AV: E=Sophos;i="4.32,450,1217773800"; d="scan'208";a="212996534" Received: from deadofnight.org (HELO [10.1.1.5]) ([59.167.244.130]) by ipmail04.adl2.internode.on.net with ESMTP; 23 Sep 2008 16:28:00 +0930 Message-ID: <48D89375.4070509@gmail.com> Date: Tue, 23 Sep 2008 06:58:00 -0000 From: Gareth Pearce User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: The Vulgar and Unprofessional Cygwin-Talk List Subject: Re: Bring me the head of Bill Gates! References: <008201c91cff$4fc79d50$9601a8c0@CAM.ARTIMI.COM> In-Reply-To: <008201c91cff$4fc79d50$9601a8c0@CAM.ARTIMI.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List X-SW-Source: 2008-q3/txt/msg00108.txt.bz2 Umm, the alternate functions are listed in the topic ... as TlsGetValue and CoGetContextToken ... price of bread? Dave Korn wrote: > AAAARRRGGH! > > http://msdn.microsoft.com/en-us/library/ms686708(VS.85).aspx > > [This structure may be altered in future versions of Windows. Applications > should use the alternate functions listed in this topic.] > > typedef struct _TEB { > BYTE Reserved1[1952]; > PVOID Reserved2[412]; > PVOID TlsSlots[64]; > BYTE Reserved3[8]; > PVOID Reserved4[26]; > PVOID ReservedForOle; > PVOID Reserved5[4]; > PVOID TlsExpansionSlots; > } TEB, > *PTEB; > > > Ok then, let's see what "alternate functions" they're talking about.... > > http://msdn.microsoft.com/en-us/library/ms684847(VS.85).aspx > Process and Thread Functions > > [ ... ] > > Obsolete Functions > > * NtGetCurrentProcessorNumber > * NtQueryInformationProcess > * NtQueryInformationThread > * WinExec > * ZwQueryInformationProcess > > > GNRREAAAARGH! > > *head*bonk*desk*bonk*head*bonk*desk*bonk*head*bonk*desk*bonk* > > cheers, > DaveK >