Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : How to check if Fast User Switching occured?

www.cryer.info
Managed Newsgroup Archive

How to check if Fast User Switching occured?

Subject:How to check if Fast User Switching occured?
Posted by:"John Schmidt" (john.schmi..@js-computing.com)
Date:Wed, 30 Nov 2005 17:02:58 +0100

Hi

I need to react on Fast User Switching in Windows XP, same for new logon.
Same time I need to know the new user. I guess, using GetCurrentUser() I can
know the new user, but how to detect the user switching? It's enough to
check periodically the current user and compare it with a (initially and
after change) saved value?

Thanks,
John

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive