delorie.com/archives/browse.cgi | search |
On Mon, Sep 17, 2001 at 12:01:44AM -0400, Christopher Faylor wrote: > >>I really wish that Microsoft had given us an open a thread given the > >>thread id function similar to OpenProcess. I think I read somewhere > >>that they actually did have a reason for not doing so but it makes > >>these kind of situations hard. > > > >They did, it's 2k+ only :[. GetThreadHandle (Id) IIRC. > > Yeah. I should have qualified that. I remember being surprised to see > that function after having read that they specifically did not provide > this interface previously. OpenThread() is W2K+ and ME(!) However, this is the Win32 API. The OpenThread functionality would already be available in earlier NTs by autoloading the NtOpenThread() or ZwOpenThread() functions from ntdll.dll. Only 95/98 would lack that support. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |