Article View: borland.public.cppbuilder.nativeapi
Article #3972Re: OpenProcess() returns different handles
From: Wiebe Vos
Date: Mon, 10 Apr 2006 09:20
Date: Mon, 10 Apr 2006 09:20
7 lines
1297 bytes
1297 bytes
Never mind. The dwDesiredAccess parameter in OpenProcess() deals with that. FWIW: PROCESS_QUERY_INFORMATION gives the handle to determine the program status. PROCESS_TERMINATE gives the license to kill. Wiebe
Technical Details
Message-ID:
<443a237a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44397058@newsgroups.borland.com> <443974ee$1@newsgroups.borland.com> <443a1485$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8a9918c2e9877ca0 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Wiebe Vos" <wiebe@foxware.nl> Newsgroups: borland.public.cppbuilder.nativeapi References: <44397058@newsgroups.borland.com> <443974ee$1@newsgroups.borland.com> <443a1485$1@newsgroups.borland.com> Subject: Re: OpenProcess() returns different handles Date: Mon, 10 Apr 2006 11:20:56 +0200 Lines: 9 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 62.131.171.202 Message-ID: <443a237a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1144660858 62.131.171.202 (10 Apr 2006 02:20:58 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail