THPUtyWriteTHPComponentsInfo

Syntax

#include <win32/thputilities.h>

s32 THPUtyWriteTHPComponentsInfo(FILE*             op,
                                 THPFrameCompInfo* compinfo,
                                 THPVideoInfo*     videoinfo,
                                 THPAudioInfo*     audioinfo,
                                 s32*              compinfosize);

Arguments

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

See Also

THPVideoInfo, THPAudioInfo

Revision History

2006/03/01 Initial version.


CONFIDENTIAL