Function 46h Force Duplicate of a Handle (FORCEDUP or CDUP)
Forces handle in CX to refer to the same file at the same
position as BX
entry AH 46h
BX existing file handle
CX new file handle
return CF clear both handles now refer to existing file
set error
AX error code (4, 6)
note 1) If CX was an open file, it is closed first
2) If you move the read/write pointer of either file, both will move
3) The handle in BX must be open
file: /Techref/INT/21f/46.htm, 0KB, , updated: 1999/2/20 10:26, local time: 2024/11/27 17:16,
3.145.7.253:LOG IN
|
©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? <A HREF="http://ecomorder.com/techref/INT/21f/46.htm"> INT 21f 46</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.