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

  1. /* @doc
  2. *
  3. * @module ExclusionFuncs.h |
  4. *
  5. * Header file for ExclusionFuncs.cpp
  6. *
  7. * Author: Ying-ping Chen (t-ypchen)
  8. */
  9. #pragma once
  10. // @func bool | IsUserExcluded | Check if the user is excluded
  11. // @rdesc Return the following values:
  12. // @flag true | the user is EXCLUDED
  13. // @flag false | the user is not excluded
  14. bool IsUserExcluded(LPCWSTR pwszNameComplete); // @parm [in] the complete username (e.g., aaa%[email protected])
  15. // @func bool | RecordLoginFailure | Record a login failure of the user
  16. // @rdesc Return the following values:
  17. // @flag true | the user is EXCLUDED (after too many failures)
  18. // @flag false | the user is not excluded (after this failure)
  19. bool RecordLoginFailure(LPCWSTR pwszNameComplete); // @parm [in] the complete username (e.g., aaa%[email protected])