public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
From: "Dave Korn" <dave.korn@artimi.com>
To: "'Or Steven's Ballmers on a plate...'" <cygwin-talk@cygwin.com>
Subject: Bring me the head of Bill Gates!
Date: Mon, 22 Sep 2008 22:06:00 -0000	[thread overview]
Message-ID: <008201c91cff$4fc79d50$9601a8c0@CAM.ARTIMI.COM> (raw)


  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....

             reply	other threads:[~2008-09-22 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-22 22:06 Dave Korn [this message]
2008-09-23  6:58 ` Gareth Pearce
2008-09-23 14:38   ` Christopher Faylor
2008-09-24 22:03     ` Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='008201c91cff$4fc79d50$9601a8c0@CAM.ARTIMI.COM' \
    --to=dave.korn@artimi.com \
    --cc=cygwin-talk@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).