please dont rip this site
Function  3Dh   Open A File		     Open disk file with handle

entry   AH      3Dh
	AL      access code byte 
  (DOS 2.x)	bits 0-2  file attribute
			000	read only
			001	write only
			010	read/write
	  	bits 3-7 should be set to zero
  (DOS 3.x)	bits 0-2  file attribute
	    		000	read only
	    		001	write only
	    		010	read/write
	    	bit 3	reserved
	    		0	should be set to zero
	    	bits 4-6 sharing mode (network)
	    		000	compatibility mode (the way FCBs open files)
	    		001	read/write access denied (exclusive)
	    		010	write access denied
	    		011	read access denied
	    		100	full access permitted
	    	bit 7	inheritance flag
	    		0	file inherited by child process
	    		1	file private to child process
	DS:DX	address of ASCIIZ pathname string

return  flag CF set on error 
		AX      error code 
		1       error 

	AX      16 bit file handle 
		or error code (1, 2, 4, 5, 0Ch) 

note 1) Opens any normal, system, or hidden file.

     2) Files that end in a colon are not opened.

     3) The rear/write pointer is set at the first byte of the file and the
	record size of the file is 1 byte (the read/write pointer can be
	changed through Int\21f\42). The returned file handle must be used
	for all subsequent input and output to the file.

     4) If the file handle was inherited from a parent process or was
	duplicated by DUP or FORCEDUP, all sharing and access restrictions are
	also inherited.

     5) A file sharing error (error 1) causes an Int\24 to execute with an
	error code of 2.

file: /Techref/INT/21f/3d.htm, 1KB, , updated: 1999/6/11 09:18, local time: 2024/5/29 16:53,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> INT 21f 3d</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!