THPUtyWriteTHPComponentsInfo

C Specification

#include <win32/thputilities.h>
s32 THPUtyWriteTHPComponentsInfo(FILE*             op,
                                 THPFrameCompInfo* compinfo,
                                 THPVideoInfo*     videoinfo,
                                 THPAudioInfo*     audioinfo,
                                 s32*              compinfosize);

Arguments

op File pointer to the output destination.
compinfo Pointer to the THPFrameCompInfo structure.
videoinfo Pointer to the THPVideoInfo structure to be output.
audioinfo Pointer to the THPAudioInfo 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 THPVideoInfo and THPAudioInfo structures to the file specified by op.

See Also

THPVideoInfo, THPAudioInfo

Revision History

2006/03/01 Initial version.


CONFIDENTIAL