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.

52 lines
1.1 KiB

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