;       SCCSID = @(#)timlib.inc	6.1 90/11/17
;      SCCSID = @(#)timlib.inc	1.5 90/02/21
;
; ****************************************************************************
; *									     *
; *			  IBM/Microsoft Confidential			     *
; *									     *
; *		    Copyright (c) IBM Corporation  1987, 1990		     *
; *		    Copyright (c) Microsoft Corp.  1987, 1990		     *
; *			      All Rights Reserved			     *
; *									     *
; ****************************************************************************

;				    EQUATES
;				    -------
;


max_handlers	equ	32
default_min	equ	10
protect_mode	equ	1


;				STRUCTURES
;				----------
;
; time	  structure
;
time	struc
	Thours		db	0	; hours
	Tminutes	db	0	; minutes
	Tseconds	db	0	; seconds
	Thundredths	db	0	; hundredths of seconds
	Tday		db	0	; day
	Tmonth		db	0	; month
	Tyear		dw	0	; year
	Ttimezone	dw	0	; minutes from GMT
	Tdayofweek	db	0	; dayofweek
time	ends


;
; handler structure
;
handler struc
	status		db	0	; indicates whether or not the
					; block is active or not
	ntick		dw	0	; ticks per service
	ticksleft	dw	0	; ticks remaining until service
	virtprotect_off dw	0	; offset to tick handler
	virtprotect_s	dw	0	; selector to tick handler
	protectds	dw	0	; data selector address
	virtreal_off	dw	0	; offset to tick handler
	virtreal_s	dw	0	; segment to tick handler
	realds		dw	0	; data segment address
handler ends
