I am trying to write a MS VS.NET C++ (unmanaged code) application that will audit the settings available through the "Local Security Settings" (secpol.msc). In particular, the password settings such as "Minimum password length". This computer is not part of any domain. I do not need to be able to change these settings, just to find out what they are.
A small code snippet would be preferable.