# E:/DevIL/src-IL/src/il_dcx.c File Reference

`#include "il_internal.h"`
`#include "il_dcx.h"`
`#include "il_manip.h"`

## Functions

ILboolean | ilIsValidDcx (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .dcx file.
ILboolean | ilIsValidDcxF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .dcx file at the current position.
ILboolean | ilIsValidDcxL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .dcx lump.
ILboolean | iGetDcxHead (DCXHEAD *Head)
ILboolean | iIsValidDcx ()
ILboolean | iCheckDcx (DCXHEAD *Header)
ILboolean | ilLoadDcx (ILconst_string FileName)
| Reads a .dcx file.
ILboolean | ilLoadDcxF (ILHANDLE File)
| Reads an already-opened .dcx file.
ILboolean | ilLoadDcxL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .dcx.
ILboolean | iLoadDcxInternal ()
ILimage * | iUncompressDcx (DCXHEAD *Header)
ILimage * | iUncompressDcxSmall (DCXHEAD *Header)

## Function Documentation

ILboolean iCheckDcx | ( | DCXHEAD * | Header | ) |

ILboolean iGetDcxHead | ( | DCXHEAD * | Head | ) |

Referenced by iLoadDcxInternal().

ILboolean iIsValidDcx | ( | void |  | ) |

Referenced by ilIsValidDcxF(), ilIsValidDcxL(), and iLoadDcxInternal().

ILboolean ilIsValidDcx | ( | ILconst_string | FileName | ) |

Checks if the file specified in FileName is a valid .dcx file.

ILboolean ilIsValidDcxF | ( | ILHANDLE | File | ) |

Checks if the ILHANDLE contains a valid .dcx file at the current position.

Referenced by ilIsValidDcx().

ILboolean ilIsValidDcxL | ( | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Checks if Lump is a valid .dcx lump.

ILboolean ilLoadDcx | ( | ILconst_string | FileName | ) |

Reads a .dcx file.

Referenced by ilLoadImage().

ILboolean ilLoadDcxF | ( | ILHANDLE | File | ) |

Reads an already-opened .dcx file.

Referenced by ilLoadDcx().

ILboolean ilLoadDcxL | ( | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Reads from a memory "lump" that contains a .dcx.

ILboolean iLoadDcxInternal | ( | void |  | ) |

Referenced by ilLoadDcxF(), and ilLoadDcxL().

ILimage* iUncompressDcx | ( | DCXHEAD * | Header | ) |

Referenced by iLoadDcxInternal().

ILimage* iUncompressDcxSmall | ( | DCXHEAD * | Header | ) |

Referenced by iUncompressDcx().