;*DDK*************************************************************************/
;
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
stdin	EQU	0 
stdout	EQU	1 
stderr	EQU	2 
stdaux	EQU	3 
stdprn	EQU	4 
open_access	EQU	0007H 
open_for_read	EQU	00H 
open_for_write	EQU	01H 
open_for_both	EQU	02H 
open_max	EQU	02H 
open_for_exec	EQU	03H             
open_monitor	EQU	0008H 
open_sharing_mode	EQU	0070H 
sharing_compat	EQU	000H 
sharing_deny_both	EQU	010H 
sharing_deny_write	EQU	020H 
sharing_deny_read	EQU	030H 
sharing_deny_none	EQU	040H 
sharing_max	EQU	040H    
open_no_inherit	EQU	0080H   
open_autofail	EQU	2000H   
open_write_through	EQU	4000H   
open_direct	EQU	8000H   
open_no_cache	EQU	1000H   
open_locality	EQU	0700H   
locality_unknown	EQU	0000H 
locality_sequential	EQU	0100H 
locality_random	EQU	0200H 
locality_semirandom	EQU	0300H 
open2_consist_bits	EQU	0001H   
open2_nonspooled	EQU	0004H   
open2_essentialea	EQU	0010H   
open2_phys_disk	EQU	8000H   
open2_protected_filehandle	EQU	4000H  
open2_io_mode	EQU	0010H   
open2_console	EQU	0008H   
o_mode_in_sft	EQU	(open_direct OR open_monitor OR open_sharing_mode OR open_access OR open_locality)
o_mode_in_flags	EQU	open_write_through OR open_autofail OR open_no_inherit OR open_no_cache
o_mode2_in_flags	EQU	(open2_consist_bits  OR  open2_nonspooled  OR  open2_io_mode  OR  open2_essentialea  OR  open2_protected_filehandle )
o_mode_reserved	EQU	 NOT (o_mode_in_sft OR o_mode_in_flags)
o_mode2_reserved	EQU	 NOT (o_mode2_in_flags)
