#include <win32/thputilities.h>
s32 THPUtyCopyTHPFile(FILE* ip,
THPFileHeader* fileHeader,
FILE* op);
| ip | File pointer to copy source. |
|---|---|
| fileHeader | Pointer to THPFileHeader structure. |
op |
File pointer to copy destination. |
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. |
| THP_ERROR_DATA | 4 | Data is invalid. |
| THP_ERROR_FATAL | 5 | Failed to allocate memory. |
Copies the THP file specified by ip to op.
For details, see the thputilities(D).lib source code in build/tools/thputilities/src/thputilities.c.
None.
2006/03/01 Initial version.
CONFIDENTIAL