Problem with VirtualLock is that it isn't a guarantee of lockage - it''s more like a hint. What's the result of your scenario?
Also, can you give a few more hints of what you're doing? If you could do with a SERVICE rather than an APP, perhaps thing could get interesting....
Also, can you give a few more hints of what you're doing? If you could do with a SERVICE rather than an APP, perhaps thing could get interesting....
I dunno if dabur is still with us, but I've been thinking a bit about this on and off, that there might be some better way of doing things. I vaguely recalled that there's some APIs dealing with user hives.
After talking a bit with an old timer on irc, I think perhaps a service doing a bunch of calls to LoadUserProfile() might be the way to go. But I still don't know how the original tiny-app was being run... a lot of calls to "runas", perhaps?
After talking a bit with an old timer on irc, I think perhaps a service doing a bunch of calls to LoadUserProfile() might be the way to go. But I still don't know how the original tiny-app was being run... a lot of calls to "runas", perhaps?