Re: OpenThread

Hello,

OpenThread function is available under Windows 2000
and and it is prototyped in winbase.h file in Windows
2000 platform SDK.

Under Windows NT 3.51/4.0, you have to use
undocumented native API function NtOpenThread exported
by NTDLL.DLL. Here is the prototype of the same

NTSYSAPI
NTSTATUS
NTAPI
NtOpenThread(
OUT PHANDLE phThread,
IN ACCESS_MASK AccessMask,
IN POBJECT_ATTRIBUTES pObjectAttributes,
IN PCLIENT_ID pClientId
);

-Prasad

— Johnson Martin wrote:
> Hi
>
> Anyone know if “OpenThread()” exists in Win32? The
> MSDN library lists
> it, but it’s not in Winbase.h or Kernel32.lib as
> claimed. Have they
> misspelt it or something?
>
> I just want some way to find out whether a given
> Thread ID still exists.
>
> Cheers,
>
> - Martin
>
>
> –
> The Information contained in this E-Mail and any
> subsequent correspondence
> is private and is intended solely for the intended
> recipient(s).
> For those other than the recipient any disclosure,
> copying, distribution,
> or any action taken or omitted to be taken in
> reliance on such information is
> prohibited and may be unlawful.
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> $subst(‘Email.Unsub’)
>

=====
Prasad S. Dabak
Director of Engineering, Windows NT/2000 Division
Cybermedia Software Private Limited
http://www.cybermedia.co.in
Co-author of the book “Undocumented Windows NT”
ISBN 0764545698

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/