Internal function to get the header and check it.
| 136 | |
| 137 | // Internal function to get the header and check it. |
| 138 | ILboolean iIsValidDds() |
| 139 | { |
| 140 | ILboolean IsValid; |
| 141 | DDSHEAD Head; |
| 142 | |
| 143 | iGetDdsHead(&Head); |
| 144 | iseek(-(ILint)sizeof(DDSHEAD), IL_SEEK_CUR); // Go ahead and restore to previous state |
| 145 | |
| 146 | IsValid = iCheckDds(&Head); |
| 147 | |
| 148 | return IsValid; |
| 149 | } |
| 150 | |
| 151 | |
| 152 | // Internal function used to check if the HEADER is a valid .dds header. |
no test coverage detected