Checks if the ILHANDLE contains a valid Psd file at the current position.
| 66 | |
| 67 | //! Checks if the ILHANDLE contains a valid Psd file at the current position. |
| 68 | ILboolean ilIsValidPsdF(ILHANDLE File) |
| 69 | { |
| 70 | ILuint FirstPos; |
| 71 | ILboolean bRet; |
| 72 | |
| 73 | iSetInputFile(File); |
| 74 | FirstPos = itell(); |
| 75 | bRet = iIsValidPsd(); |
| 76 | iseek(FirstPos, IL_SEEK_SET); |
| 77 | |
| 78 | return bRet; |
| 79 | } |
| 80 | |
| 81 | |
| 82 | //! Checks if Lump is a valid Psd lump. |
no test coverage detected