THPUtyReadTHPVideoInfo

Syntax

#include <win32/thputilities.h>

s32 THPUtyReadTHPVideoInfo(FILE* ip, THPVideoInfo* videoinfo);

Arguments

ip File pointer to THP movie data.
videoinfo Pointer to a 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 to or write from file.

Description

Reads a THPVideoInfo structure from the THP movie data specified by ip. The read position must already be set to the position of THPVideoInfo.

See Also

THPVideoInfo

Revision History

2006/03/01 Initial version.


CONFIDENTIAL