Write a header to an open HF2/HFZ file.
long hfzWriteHeader(hfzFile* fs, hfzHeader& fh);
| Name | Type | Description |
|---|---|---|
| fs | hfzFile* | A handle to an open hfzFile struct (see hfzOpen). |
| fh | hfzHeader& | The hfzHeader struct to be written to the file. |
LIBHFZ_STATUS_OK if the header was written successfully, and otherwise an error code. Use hfzGetErrorStr to retrieve the error description.
None.