I have a windows application which gets launched at windows startup. In the application i dont want to do anything until windows start up is complete.
So is there any way i can register for any event which indicates that windows start is complete. My main aim is to find out through my app when the windows start up is complete.
In that case, your program can just launch Lync.
DETAILS
If you run Lync when it is already running, the first Lync comes to the foreground. (The second Lync exits).
So, if your program is autostarting it doesn’t matter whether it runs before or after the Lync autostart. And it doesn’t matter if Lync is not configured to autostart or not.
Scenario A:
Scenario B:
Scenario C:
Finally, if Lync starts and then exits, the second invocation will simpy launch Lync again, which also fulfils your requirements.