PNType_LOCDEV	EQU	01H         
PNType_PSDEV	EQU	02H         
PNType_LOCFILE	EQU	04H         
PNType_REMFILE	EQU	08H         
PNType_UNC	EQU	10H         
PNType_NMPIPE	EQU	20H         
PNType_NEWFILE	EQU	40H         
PNType_ALL_REMOTES	EQU	(PNType_PSDEV  OR  PNType_REMFILE  OR  PNType_UNC  OR  PNType_NMPIPE)
IOTYPE_FILE	EQU	01H         
IOTYPE_EA	EQU	02H         
ACCTYPE_READ	EQU	0        
ACCTYPE_RW	EQU	1        
MINCLUS	EQU	2        
FSF_QINFO	EQU	0        
FSF_SETINFO	EQU	1        
FLU_KEEP	EQU	0        
FLU_DISCARD	EQU	1        
FLU_HDISCARD2	EQU	2        
FLU_HDISCARD	EQU	3        
DOV_AUTOFAIL	EQU	0001H   
DOV_WRTHRU	EQU	0002H   
DOV_NCACHE	EQU	0004H   
DOV_USED	EQU	(DOV_AUTOFAIL  OR  DOV_WRTHRU  OR  DOV_NCACHE)
MAXFSCTLROUTETYPE	EQU	FSCTL_FSDROUTE
FSCTL_HANDLEROUTE	EQU	1    
FSCTL_PATHROUTE	EQU	2    
FSCTL_FSDROUTE	EQU	3    
FSCTL_ERROR_INFO	EQU	1   
FSCTL_MAX_EASIZE	EQU	2   
FSCTL_GET_NEXT_ROUTE_NAME	EQU	3   
FSCTL_DAEMON_QUERY	EQU	4   
ASG_NOREF	EQU	00H       
ASG_CURDIR	EQU	01H       
ASG_CURDRIVE	EQU	02H       
ASG_OPENFILE	EQU	04H       
fGSPI_GETINFO	EQU	0        
fGSPI_SETINFO	EQU	1        
fGSPI_WRTTHRU	EQU	10H     
fSPI_FLAGS_RESERVED	EQU	( NOT fGSPI_WRTTHRU)
BOOT_PROG_SIZE	EQU	01beH   
MAXPART	EQU	4        

RawPartRec	STRUC
boot_flag	DB	?
begin_head	DB	?
begin_sector	DB	?
begin_cylinder	DB	?
system_index	DB	?
end_head	DB	?
end_sector	DB	?
end_cylinder	DB	?
rel_sector	DD	?
length_of_part	DD	?
RawPartRec	ENDS


BootRec	STRUC
program	DB	BOOT_PROG_SIZE DUP (?)
parttbl	DB	MAXPART * SIZE           RawPartRec  DUP (?)
signature	DW	?
BootRec	ENDS

PART_SMALL_DOS	EQU	01H     
PART_MED_DOS	EQU	04H     
PART_LINK	EQU	05H     
PART_HUGE_DOS	EQU	06H     
PART_IFS	EQU	07H     

iop	STRUC
iop_command	DB	?
iop_head	DW	?
iop_cyl	DW	?
iop_sect	DW	?
iop_sect_ct	DW	?
iop_sec_num	DW	?
iop_sec_siz	DW	?
iop	ENDS

FPATH_PCNAME	EQU	1    
FPATH_ERRNMP	EQU	2    
FPATH_JOIN	EQU	4    
FPATH_JOIN_N_EXACT	EQU	8    

CharData	STRUC
kbdcharcode	DB	?
kbdscancode	DB	?
kbdstatus	DB	?
kbdnlsshifstat	DB	?
kbdshiftstate	DW	?
kbdtimestamp	DD	?
CharData	ENDS


RLCB_Header	STRUC
RLCB_Pointer	DW	?
RLCB_CurrReqPtr	DW	?
RLCB_HeaderPtr	DW	?
RLCB_ClientPtr	DD	?
RLCB_Sem	DB	?
RLCB_Flags	DB	?
RLCB_hVPB	DW	?
RLCB_NextReadSel	DW	?
RLCB_NextReadOff	DW	?
RLCB_CurrByteCount	DD	?
RLCB_Header	ENDS

RLCB_KEEP_REQ	EQU	01H    
RLCB_HOTFIX	EQU	02H    
RLCB_NO_HARDERR	EQU	04H    
