write 4 bytes to file
handle - file handle
dword - a 32-bit value to write
mostfirst - 0 least significant byte is first (intel)
1 most significant byte is first
returns: 0 - ok
Thread-safe function.
long writelong(long handle, long dword, long mostfirst);