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.

52 lines
836 B

  1. /*++
  2. Copyright (c) 1987-1993 Microsoft Corporation
  3. Module Name:
  4. loghours.h
  5. Abstract:
  6. Private routines to support rotation of logon hours between local time
  7. and GMT time.
  8. Author:
  9. Cliff Van Dyke (cliffv) 16-Mar-93
  10. Environment:
  11. User mode only.
  12. Contains NT-specific code.
  13. Requires ANSI C extensions: slash-slash comments, long external names.
  14. Revision History:
  15. --*/
  16. //
  17. // Procedure forwards from loghours.c
  18. //
  19. BOOLEAN
  20. NetpRotateLogonHoursPhase1(
  21. IN BOOL ConvertToGmt,
  22. OUT PULONG RotateCount
  23. );
  24. BOOLEAN
  25. NetpRotateLogonHoursPhase2(
  26. IN PBYTE LogonHours,
  27. IN DWORD UnitsPerWeek,
  28. IN LONG RotateCount
  29. );
  30. BOOLEAN
  31. NetpRotateLogonHours(
  32. IN PBYTE LogonHours,
  33. IN DWORD UnitsPerWeek,
  34. IN BOOL ConvertToGmt
  35. );