Internal function to get the header and check it.
| 84 | |
| 85 | // Internal function to get the header and check it. |
| 86 | ILboolean iIsValidPic() |
| 87 | { |
| 88 | PIC_HEAD Head; |
| 89 | |
| 90 | if (!iGetPicHead(&Head)) |
| 91 | return IL_FALSE; |
| 92 | iseek(-(ILint)sizeof(PIC_HEAD), IL_SEEK_CUR); // Go ahead and restore to previous state |
| 93 | |
| 94 | return iCheckPic(&Head); |
| 95 | } |
| 96 | |
| 97 | |
| 98 | // Internal function used to check if the header is a valid .pic header. |
no test coverage detected