#define INCL_DOSFILEMGR USHORT rc = DosWriteAsync(FileHandle, RamSemaphore, ReturnCode, BufferArea, BufferLength, BytesWritten); HFILE FileHandle; /* File handle */ PULONG RamSemaphore; /* RAM semaphore */ PUSHORT ReturnCode; /* I/O operation return code (returned) */ PVOID BufferArea; /* User buffer */ USHORT BufferLength; /* Buffer length */ PUSHORT BytesWritten; /* Bytes written (returned) */ USHORT rc; /* return code */