Leaked source code of windows server 2003
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.

66 lines
1.0 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // lockout.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // Declares the account lockout API.
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 10/21/1998 Original version.
  16. //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #ifndef _LOCKOUT_H_
  19. #define _LOCKOUT_H_
  20. #if _MSC_VER >= 1000
  21. #pragma once
  22. #endif
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. DWORD
  27. WINAPI
  28. AccountLockoutInitialize( VOID );
  29. VOID
  30. WINAPI
  31. AccountLockoutShutdown( VOID );
  32. BOOL
  33. WINAPI
  34. AccountLockoutOpenAndQuery(
  35. IN PCWSTR pszUser,
  36. IN PCWSTR pszDomain,
  37. OUT PHANDLE phAccount
  38. );
  39. VOID
  40. WINAPI
  41. AccountLockoutUpdatePass(
  42. IN HANDLE hAccount
  43. );
  44. VOID
  45. WINAPI
  46. AccountLockoutUpdateFail(
  47. IN HANDLE hAccount
  48. );
  49. VOID
  50. WINAPI
  51. AccountLockoutClose(
  52. IN HANDLE hAccount
  53. );
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57. #endif // _LOCKOUT_H_