On Tue, 2002-09-03 at 14:07, Stephan Edelman wrote:
> Our problem was that to impersonate a user (using ImpersonateLoggedOnUser)
> you first had to get an access token of the currently logged on user, either
> by using LogonUser (which required you to know the username and password),
> or through an existing running process that the currently logged on user had
> created (which isn't easy to consistently determine).
WinVNC has to impersonate the logged on user anyway, so it simply uses
that established context to perform the RestoreWallpaper() call.
> Do you have any sample code that we can take a peak at, or is it already in
> the CVS tree?
We don't run a CVS tree at present, I'm afraid.
--
---
James "Wez" Weatherall www.spineless.org.uk
"The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list