@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: This function sets the system password. !!!!C# Signature: [DllImport("coredll", EntryPoint = "SetPassword")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool SetPassword([MarshalAs(UnmanagedType.LPWStr)] string oldPassword, [MarshalAs(UnmanagedType.LPWStr)] string newPassword); !!!!VB Signature: <DllImport("coredll", EntryPoint := "SetPassword")> Public Shared Declare Function SetPassword Lib "coredll" Alias "SetPassword" (<MarshalAs(UnmanagedType.LPWStr)> oldPassword As String,<MarshalAs(UnmanagedType.LPWStr)> newPassword As String) As<MarshalAs(UnmanagedType.Bool)> Boolean !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: For a system starting with no password, pass null in for the old password. If a password was previously entered and no password is currently stored, use the empty string for the old password. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: http://msdn.microsoft.com/en-us/library/aa915490.aspx on MSDN
Edit coredll.SetPassword
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.