The function writes the value of the long-type parameter to a bin-file, starting from the current position of the file pointer.
[in] File descriptor returned by FileOpen().
[in] Value of type long.
If successful the function returns the number of bytes written (in this case sizeof(long)=8). The file pointer is shifted by the same number of bytes.