Checks if the ILHANDLE contains a valid .pic file at the current position.
| 44 | |
| 45 | //! Checks if the ILHANDLE contains a valid .pic file at the current position. |
| 46 | ILboolean ilIsValidPicF(ILHANDLE File) |
| 47 | { |
| 48 | ILuint FirstPos; |
| 49 | ILboolean bRet; |
| 50 | |
| 51 | iSetInputFile(File); |
| 52 | FirstPos = itell(); |
| 53 | bRet = iIsValidPic(); |
| 54 | iseek(FirstPos, IL_SEEK_SET); |
| 55 | |
| 56 | return bRet; |
| 57 | } |
| 58 | |
| 59 | |
| 60 | //! Checks if Lump is a valid .pic lump. |
no test coverage detected