Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Determining if MSN Is in the Sign-in State

The following code example shows the usage of a mutex object to determine if MSN Explorer is signed in. When you have finished using the handle, be sure to call the CloseHandle function.

Note  This mutex object is available for use in checking MSN Explorer 7.x sign-in status. It may be unavailable in subsequent versions.

    HANDLE hMSNSignedInMutex;

    hMSNSignedInMutex = OpenMutex(SYNCHRONIZE, FALSE, 

    if (hMSNSignedInMutex != NULL)
        // MSN Explorer is signed in



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.