This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Bring me the head of Bill Gates!
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Or Steven's Ballmers on a plate...'" <cygwin-talk at cygwin dot com>
- Date: Mon, 22 Sep 2008 23:05:23 +0100
- Subject: Bring me the head of Bill Gates!
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
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! <gnashing of teeth>
*head*bonk*desk*bonk*head*bonk*desk*bonk*head*bonk*desk*bonk*
cheers,
DaveK
--
Can't think of a witty .sigline today....