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

`#include "il_internal.h"`
`#include "il_icns.h"`

## Functions

ILboolean | ilIsValidIcns (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .icns file.
ILboolean | ilIsValidIcnsF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .icns file at the current position.
ILboolean | ilIsValidIcnsL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .icns lump.
ILboolean | iIsValidIcns ()
ILboolean | ilLoadIcns (ILconst_string FileName)
| Reads an icon file.
ILboolean | ilLoadIcnsF (ILHANDLE File)
| Reads an already-opened icon file.
ILboolean | ilLoadIcnsL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains an icon.
ILboolean | iLoadIcnsInternal ()
ILboolean | iIcnsReadData (ILboolean *BaseCreated, ILboolean IsAlpha, ILint Width, ICNSDATA *Entry, ILimage **Image)

## Function Documentation

ILboolean iIcnsReadData | ( | ILboolean * | BaseCreated,
|  | ILboolean | IsAlpha,
|  | ILint | Width,
|  | ICNSDATA * | Entry,
|  | ILimage ** | Image |
| ) |  |  |

Referenced by iLoadIcnsInternal().

ILboolean iIsValidIcns | ( |  | ) |

Referenced by ilIsValidIcnsF(), and ilIsValidIcnsL().

ILboolean ilIsValidIcns | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidIcnsF | ( | ILHANDLE | File | ) |

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

Referenced by ilDetermineTypeF(), ilIsValidF(), and ilIsValidIcns().

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

Checks if Lump is a valid .icns lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilLoadIcns | ( | ILconst_string | FileName | ) |

Reads an icon file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadIcnsF | ( | ILHANDLE | File | ) |

Reads an already-opened icon file.

Referenced by ilLoadF(), and ilLoadIcns().

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

Reads from a memory "lump" that contains an icon.

Referenced by ilLoadL().

ILboolean iLoadIcnsInternal | ( |  | ) |

Referenced by ilLoadIcnsF(), and ilLoadIcnsL().