#include <win32/thputilities.h>s32 THPUtyReadTHPHeader(FILE* ip, THPHeader* header);ip |
File pointer to the THP movie data. |
header |
Pointer to the THPHeader structure. |
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_THPFILE |
2 | The THP movie data is invalid. |
This function reads a THPHeader structure from the THP movie data specified by ip. The read position must be set in advance to THPHeader's position.
None.
2006/03/01 Initial version.
CONFIDENTIAL