#include <win32/thputilities.h>s32 THPUtyReadTHPFrameHeader(FILE* ip, THPFrameHeader* frameHeader, s32 componentNum);ip |
File pointer to the THP movie data. |
frameHeader |
Pointer to the THPFrameHeader structure. |
componentNum |
Number of components contained in the THP movie data. |
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. |
This function reads a THPFrameHeader structure from the THP movie data specified by ip. The read position must be set in advance to THPFrameHeader's position.
None.
03/01/2006 Initial version.