Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 07/11/04


Date: Sun, 11 Jul 2004 13:36:08 -0400


"Tim Robinson" <tim.at.gaat.freeserve.co.uk@invalid.com> wrote in message
news:2lcgh7Fb49gsU1@uni-berlin.de...
> Gary Chanson wrote:
> > True. My understanding is that the console is controlled by
> > CSRSS but the console program is the owner. You can't set hooks in
> > console windows in NT type platforms but you can in Win9x.
>
> I think console windows show up in the list for the owner process so that
> things like Task Manager work.
>
> Interestingly, though, the console Properties dialog seems to run in the
> context of the owner. At least, if you suspend a console app at a
> breakpoint, the window itself continues to function but choosing
Properties
> does nothing until you resume the app.

    Interesting but not surprising. I'd would expect it to run in the
owning thread. What I don't understand is that if things like that run in
the context of the console app, why does the console subsystem disable
setting hooks? I don't see where the security consideration applies.

-- 
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-gchanson@mvps.org


Relevant Pages

  • RE: /dev/audio
    ... An ownership on /dev/audio and similar device files changes at the time ... when someone logs in on the console. ... The list of device files which should change owner upon user login from ... I am required to make root the owner of this file. ...
    (RedHat)
  • Re: Anyone you know?
    ... This happened to the previous owner of a 26' center console I ... He explained in detail how the pipe fitting to the under-deck well ...
    (rec.boats)
  • Re: Anyone you know?
    ... This happened to the previous owner of a 26' center console I ... He explained in detail how the pipe fitting to the under-deck well ...
    (rec.boats)
  • Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW
    ... My understanding is that the console is controlled by ... > CSRSS but the console program is the owner. ... > console windows in NT type platforms but you can in Win9x. ... if you suspend a console app at a ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Is Microsoft correct?
    ... The second "line of defence" is your console. ... built-in that stops it from playing illegally copied disks. ... get around that protection by attaching a printed circuit board to ... "Anyone" MS would also be including the owner. ...
    (uk.legal)