Checks if the ILHANDLE contains a valid BLP file at the current position.
| 95 | |
| 96 | //! Checks if the ILHANDLE contains a valid BLP file at the current position. |
| 97 | ILboolean ilIsValidBlpF(ILHANDLE File) |
| 98 | { |
| 99 | ILuint FirstPos; |
| 100 | ILboolean bRet; |
| 101 | |
| 102 | iSetInputFile(File); |
| 103 | FirstPos = itell(); |
| 104 | bRet = iIsValidBlp2(); |
| 105 | iseek(FirstPos, IL_SEEK_SET); |
| 106 | |
| 107 | return bRet; |
| 108 | } |
| 109 | |
| 110 | |
| 111 | //! Checks if Lump is a valid BLP lump. |
no test coverage detected