#include <win32/thputilities.h>s32 THPUtyWriteTHPFileHeader(FILE* op,
THPFileHeader* fileHeader,
s32* compInfoSize);op |
File pointer to the output destination. |
fileHeader |
Pointer to the THPFileHeader structure to be output. |
compInfoSize |
Pointer to the component size storage destination. |
Returns one of the following codes:
| Code | Value | Description |
THP_ERROR_NOERROR |
0 | The function ended normally. |
THP_ERROR_FILEIO |
1 | Failed to read or write from file. |
THP_ERROR_DATA |
4 | The data is invalid. |
This function outputs the THPFileHeader structure to the file specified by op.
None.
03/01/2006 Initial version.