summaryrefslogtreecommitdiffstats
path: root/private/nw/convert/nwconv/loghours.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/nw/convert/nwconv/loghours.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to '')
-rw-r--r--private/nw/convert/nwconv/loghours.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/private/nw/convert/nwconv/loghours.h b/private/nw/convert/nwconv/loghours.h
new file mode 100644
index 000000000..b6dfc11dd
--- /dev/null
+++ b/private/nw/convert/nwconv/loghours.h
@@ -0,0 +1,52 @@
+/*++
+
+Copyright (c) 1987-1993 Microsoft Corporation
+
+Module Name:
+
+ loghours.h
+
+Abstract:
+
+ Private routines to support rotation of logon hours between local time
+ and GMT time.
+
+Author:
+
+ Cliff Van Dyke (cliffv) 16-Mar-93
+
+Environment:
+
+ User mode only.
+ Contains NT-specific code.
+ Requires ANSI C extensions: slash-slash comments, long external names.
+
+Revision History:
+
+--*/
+
+
+
+//
+// Procedure forwards from loghours.c
+//
+
+BOOLEAN
+NetpRotateLogonHoursPhase1(
+ IN BOOL ConvertToGmt,
+ OUT PULONG RotateCount
+ );
+
+BOOLEAN
+NetpRotateLogonHoursPhase2(
+ IN PBYTE LogonHours,
+ IN DWORD UnitsPerWeek,
+ IN LONG RotateCount
+ );
+
+BOOLEAN
+NetpRotateLogonHours(
+ IN PBYTE LogonHours,
+ IN DWORD UnitsPerWeek,
+ IN BOOL ConvertToGmt
+ );