DOS/32 Advanced DOS Extender - Programmer's Reference


3.17 - DOS function 40h - Write to File

 

In: AH = 40h
EBX = file handle
ECX = number of bytes to write (size)
DS:EDX = pointer to buffer to write from (addr)
Out:

if successful:
CF clear
EAX = number of bytes written

if failed:
CF set
EAX = DOS error code

 


Copyright Supernar Systems, Ltd. 1996-2005
All Rights Reserved.