THPUtyWriteTHPFileHeader

C Specification

#include <win32/thputilities.h>
s32 THPUtyWriteTHPFileHeader(FILE*             op,
THPFileHeader*    fileHeader,
s32*              compInfoSize);

Arguments

op File pointer to the output destination.
fileHeader Pointer to the THPFileHeader structure to be output.
compInfoSize Pointer to the component size storage destination.

Return Values

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.

Description

This function outputs the THPFileHeader structure to the file specified by op.

See Also

None.

Revision History

03/01/2006 Initial version.