hDevice (HFILE) - input
pvoidData (PVOID) - input
cData (ULONG) - input
cWritten (PULONG) - input
rc (ULONG) - returns
This function returns the same codes as DosWrite:
ERROR_ACCESS_DENIED ERROR_BAD_UNIT
ERROR_BROKEN_PIPE
ERROR_INVALID_HANDLE
ERROR_LOCK_VIOLATION
ERROR_NOT_DOS_DISK
ERROR_OUT_OF_PAPER
ERROR_WRITEFAULT
NO_ERROR