| 64 | |
| 65 | |
| 66 | ILboolean DpxGetFileInfo(DPX_FILE_INFO *FileInfo) |
| 67 | { |
| 68 | //if (iread(FileInfo, 768, 1) != 1) |
| 69 | // return IL_FALSE; |
| 70 | |
| 71 | FileInfo->MagicNum = GetBigUInt(); |
| 72 | FileInfo->Offset = GetBigUInt(); |
| 73 | iread(FileInfo->Vers, 8, 1); |
| 74 | FileInfo->FileSize = GetBigUInt(); |
| 75 | FileInfo->DittoKey = GetBigUInt(); |
| 76 | FileInfo->GenHdrSize = GetBigUInt(); |
| 77 | FileInfo->IndHdrSize = GetBigUInt(); |
| 78 | FileInfo->UserDataSize = GetBigUInt(); |
| 79 | iread(FileInfo->FileName, 100, 1); |
| 80 | iread(FileInfo->CreateTime, 24, 1); |
| 81 | iread(FileInfo->Creator, 100, 1); |
| 82 | iread(FileInfo->Project, 200, 1); |
| 83 | if (iread(FileInfo->Copyright, 200, 1) != 1) |
| 84 | return IL_FALSE; |
| 85 | FileInfo->Key = GetBigUInt(); |
| 86 | iseek(104, IL_SEEK_CUR); // Skip reserved section. |
| 87 | |
| 88 | return IL_TRUE; |
| 89 | } |
| 90 | |
| 91 | |
| 92 | ILboolean GetImageElement(DPX_IMAGE_ELEMENT *ImageElement) |
no test coverage detected