Reads a .dcx file
| 129 | |
| 130 | //! Reads a .dcx file |
| 131 | ILboolean ilLoadDcx(ILconst_string FileName) |
| 132 | { |
| 133 | ILHANDLE DcxFile; |
| 134 | ILboolean bDcx = IL_FALSE; |
| 135 | |
| 136 | DcxFile = iopenr(FileName); |
| 137 | if (DcxFile == NULL) { |
| 138 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 139 | return bDcx; |
| 140 | } |
| 141 | |
| 142 | bDcx = ilLoadDcxF(DcxFile); |
| 143 | icloser(DcxFile); |
| 144 | |
| 145 | return bDcx; |
| 146 | } |
| 147 | |
| 148 | |
| 149 | //! Reads an already-opened .dcx file |
no test coverage detected