It's interesting; this is a lot harder in eVC++ than it is to simply PInvoke it from Compact Framework.I'm thinking about writing a class that exposes more information. For example, how long time the user has to log on again, etc.
#region
[DllImport("coredll.dll")]
[DllImport("coredll.dll")]private static extern bool SetPasswordActive(bool bActive, string lpszPassword);
/// <summary>/// Method for determining if the password is being required./// </summary>/// <returns>True if password is required, else false.</returns>
#endregion