THPUtyReadTHPAudioInfo

C Specification

#include <win32/thputilities.h>
s32 THPUtyReadTHPAudioInfo(FILE* ip, THPAudioInfo* audioinfo);

Arguments

ip File pointer to the THP movie data.
audioinfo Pointer to the THPAudioInfo 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 THPAudioInfo structure from the THP movie data specified by ip. The read position must be set in advance to THPAudioInfo's position.

See Also

THPAudioInfo

Revision History

2006/03/01 Initial version.


CONFIDENTIAL