THPUtyWriteTHPFileHeader

Syntax

#include <win32/thputilities.h>

s32 THPUtyWriteTHPFileHeader(FILE*             op,
                             THPFileHeader*    fileHeader,
                             s32*              compInfoSize);

Arguments

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

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 to or write from file.
THP_ERROR_DATA 4 Data is invalid.

Description

Outputs the THPFileHeader structure to the file specified by op.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL