THPUtyReadTHPVideoInfo

C Specification

#include <win32/thputilities.h>
s32 THPUtyReadTHPVideoInfo(FILE* ip, THPVideoInfo* videoinfo);

Arguments

ip File pointer to the THP movie data.
videoinfo Pointer to the THPVideoInfo structure.

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.

Description

This function reads a THPVideoInfo structure from the THP movie data specified by ip. The read position must be set in advance to THPVideoInfo's position.

See Also

THPVideoInfo

Revision History

03/01/2006 Initial version.