Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
786 B

/* @doc
*
* @module ExclusionFuncs.h |
*
* Header file for ExclusionFuncs.cpp
*
* Author: Ying-ping Chen (t-ypchen)
*/
#pragma once
// @func bool | IsUserExcluded | Check if the user is excluded
// @rdesc Return the following values:
// @flag true | the user is EXCLUDED
// @flag false | the user is not excluded
bool IsUserExcluded(LPCWSTR pwszNameComplete); // @parm [in] the complete username (e.g., aaa%[email protected])
// @func bool | RecordLoginFailure | Record a login failure of the user
// @rdesc Return the following values:
// @flag true | the user is EXCLUDED (after too many failures)
// @flag false | the user is not excluded (after this failure)
bool RecordLoginFailure(LPCWSTR pwszNameComplete); // @parm [in] the complete username (e.g., aaa%[email protected])