Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW
From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 07/11/04
- Next message: Gary Chanson: "Re: how can I open HKML itself?"
- Previous message: Slava M. Usov: "Re: How do I cancel overlapped WaitCommEvent calls?"
- In reply to: Tim Robinson: "Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW"
- Next in thread: Tim Robinson: "Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW"
- Reply: Tim Robinson: "Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Gary Chanson: "Re: how can I open HKML itself?"
- Previous message: Slava M. Usov: "Re: How do I cancel overlapped WaitCommEvent calls?"
- In reply to: Tim Robinson: "Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW"
- Next in thread: Tim Robinson: "Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW"
- Reply: Tim Robinson: "Re: CreateProcessWithLogonW and STARTF_USESHOWWINDOW"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|