Interacting with winlogon Desktop of Windows Vista



Hi everybody,

Now I'm writing a software which interacts with winlogon Desktop of
Vista. I want to control winlogon desktop such as show a message box,
draw a icon on winlogon desktop...
But when I opendesktop(), I always meet a message: "Access is
denied."

hDesktop = OpenDesktop(
TEXT("Winlogon"),
0,
FALSE,
DESKTOP_CREATEMENU |
DESKTOP_CREATEWINDOW |
DESKTOP_ENUMERATE |
DESKTOP_HOOKCONTROL |
DESKTOP_JOURNALPLAYBACK |
DESKTOP_JOURNALRECORD |
DESKTOP_READOBJECTS |
DESKTOP_SWITCHDESKTOP |
DESKTOP_WRITEOBJECTS |
READ_CONTROL |
WRITE_DAC |
WRITE_OWNER );

I make a windows service to run my program when logon. I don't know
why it show error "Access is denied."

If you know that, please show me. Thank you very much

.



Relevant Pages

  • Interacting with winlogon Desktop of Windows Vista
    ... Now I'm writing a software which interacts with winlogon Desktop of Vista. ... want to control winlogon desktop such as show a message box, draw a icon on ... But when I opendesktop(), I always meet a message: ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Interacting with winlogon Desktop of Windows Vista
    ... Anyway, if you're a service then you're running in session 0, and the winlogon desktop is running in some other session. ... want to control winlogon desktop such as show a message box, draw a icon on ... But when I opendesktop(), I always meet a message: ...
    (microsoft.public.win32.programmer.kernel)