mirror of https://github.com/tongzx/nt5src
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.
34 lines
869 B
34 lines
869 B
LIBRARY TIMER
|
|
|
|
DESCRIPTION 'timer:Timer'
|
|
|
|
EXETYPE WINDOWS
|
|
|
|
PROTMODE
|
|
|
|
;CODE MOVEABLE DISCARDABLE LOADONCALL SHARED
|
|
DATA PRELOAD FIXED SINGLE
|
|
|
|
SEGMENTS
|
|
INIT_CODE PRELOAD MOVEABLE DISCARDABLE SHARED
|
|
FIXED_TEXT PRELOAD FIXED SHARED
|
|
|
|
; we want the 286 segment to come in only when needed
|
|
; what we want is LOADONCALL FIXED (but this does not work,
|
|
; it works for boot time drivers but not DLLs)
|
|
;
|
|
; so we make it LOADONCALL MOVEABLE, and PageLock it in
|
|
; place if we need it, see libinit.asm!Lib286Init
|
|
;
|
|
; FIXED_286 LOADONCALL FIXED SHARED
|
|
|
|
FIXED_286 MOVEABLE DISCARDABLE LOADONCALL SHARED
|
|
|
|
HEAPSIZE 0
|
|
|
|
EXPORTS
|
|
WEP @1 RESIDENTNAME
|
|
DriverProc @2 RESIDENTNAME
|
|
|
|
IMPORTS
|
|
WINFLAGS = KERNEL.178
|