Re: Interacting with winlogon Desktop of Windows Vista
- From: ev <evakili@xxxxxxxxx>
- Date: Mon, 15 Oct 2007 11:24:09 -0000
Hi
But these methods that Kellie wrote about, are NOT SUPPORTED in Vista
(refer to MSDN). They are parts of Winlogon functions provided for
Gina (Graphical Identification aNd Authentication) dlls that are not
supported in Vista. I think it's not possible to have a direct control
over the Winlogon desktops in Vista. So some undocummented ways may be
available. Could you ask MSFT?
Esmaeil
On Oct 12, 6:59 pm, Kellie Fitton <KELLIEFIT...@xxxxxxxxx> wrote:
On Oct 12, 12:05 am, anhvu200...@xxxxxxxxx wrote:
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
Hi,
Winlogon creates three desktops: a user desktop, a system desktop,
and a screen saver desktop. However, an interactively logged-on user
will have read access to the system desktop and full access to the
user desktop. Nonetheless, you can use the following APIs to create
alternate application desktops for the user:
WlxInitialize()
WlxCreateUserDesktop()
WlxSwitchDesktopToUser()
WlxSwitchDesktopToWinlogon()
WlxCloseUserDesktop()
http://msdn2.microsoft.com/en-us/library/aa380567.aspx
http://msdn2.microsoft.com/en-us/library/aa380553.aspx
http://msdn2.microsoft.com/en-us/library/aa381005.aspx
http://msdn2.microsoft.com/en-us/library/aa381074.aspx
http://msdn2.microsoft.com/en-us/library/aa380552.aspx
Kellie.
.
- Follow-Ups:
- Re: Interacting with winlogon Desktop of Windows Vista
- From: Jo Lines [MSFT]
- Re: Interacting with winlogon Desktop of Windows Vista
- References:
- Interacting with winlogon Desktop of Windows Vista
- From: anhvu2005dn
- Interacting with winlogon Desktop of Windows Vista
- Prev by Date: Re: Major problems with UAC
- Next by Date: Re: How to work around UAC?
- Previous by thread: Interacting with winlogon Desktop of Windows Vista
- Next by thread: Re: Interacting with winlogon Desktop of Windows Vista
- Index(es):
Relevant Pages
|
|