;       SCCSID = @(#)stubvars.asm	6.1 90/11/17
;      SCCSID = @(#)stubvars.asm	1.4 90/01/24
; ****************************************************************************
; *									     *
; *			  IBM/Microsoft Confidential			     *
; *									     *
; *		    Copyright (c) IBM Corporation  1987, 1990		     *
; *		    Copyright (c) Microsoft Corp.  1987, 1990		     *
; *			      All Rights Reserved			     *
; *									     *
; ****************************************************************************
.XLIST
.XCREF

; Modification History:

;	07-Jan-87 (ianb)  Added public word LdrRelocSeg (PTM 4668)

		include 	ldrseg.inc
		include 	basemaca.inc
		include 	segmngr.inc
		include 	stubload.inc
.LIST
.CREF

LOADER		SEGMENT


		PUBLIC	    LoadCS,LoadSS,LoadES,NextFixupIndex
		PUBLIC	    InitAllocEnd,SegEndMem
		PUBLIC	    MaxMemUsed,mte_H,DosVersion,NameOff
		PUBLIC	    LdrRelocSeg

DosVersion	DW	?	; Version of Dos we are running under


InitAllocEnd	DW	?

LoadCS		DW	?	; CS at load Time
LoadSS		DW	?	; SS at load Time
LoadES		DW	?	; ES at load Time

MaxMemUsed	DW	?	; Max segment used by loaded image

mte_H		dw	?	; Module Table Entry Head (segment)

NameOff 	DW	?	; Offset to the PathName in a 3.x ENV seg

NextFixupIndex	DW	0	; Offset to next Fixup Helper Entry to used

SegEndMem	DW	?	; Start of Null memory

LdrRelocSeg	DW	?	; Stub Loader Reloc Segment

PUBLIC	EnvSegSize,EnvSize,NameSize,CmdLnSize,NewEnvSeg,OldEnvSeg,ProgOff,ProgSize
EnvSegSize	DW	?
EnvSize 	DW	?
NameSize	DW	0
CmdLnSize	DB	?
NewEnvSeg	DW	?
OldEnvSeg	DW	?
ProgOff 	DW	?
ProgSize	DW	?

LOADER		ENDS
		END
