// Summary:
// Creates and displays the enrollment dialog.
//
// Parameters:
// hwndParent -- Handle to the window that will own the
// enrollment dialog.
// fSecure -- TRUE if enrollment should be forced.
//
// Returns:
// TRUE if enrollment was completed successfully. If an error occurs
// or the user cancels, returns FALSE.
//
//
// Remarks:
// If enrollment is forced, the user will not be able to cancel
// or exit the dialog without making changes. Changes are always
// required to conform to all policies.
//
BOOL DoEnrollment(HWND hwndParent, BOOL fSecure)
{
DefaultPasswordSaver passwdSaver;
DoEnrollment(hwndParent, fSecure, passwdSaver);
return g_fEnrolled;
}
Thursday, July 9, 2009
Test code
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment