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

`#include "il_internal.h"`
`#include "il_wdp.h"`

## Functions

ILboolean | ilIsValidWdp (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Wdp file.
ILboolean | ilIsValidWdpF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Wdp file at the current position.
ILboolean | ilIsValidWdpL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Wdp lump.
ILboolean | iGetWdpHead (WDPHEAD *Header)
ILboolean | iIsValidWdp ()
ILboolean | iCheckWdp (WDPHEAD *Header)
ILboolean | ilLoadWdp (ILconst_string FileName)
| Reads a WDP file.
ILboolean | ilLoadWdpF (ILHANDLE File)
| Reads an already-opened WDP file.
ILboolean | ilLoadWdpL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a WDP image.
ILboolean | iLoadWdpInternal ()
ILuint | VLWESC ()

## Function Documentation

ILboolean iCheckWdp | ( | WDPHEAD * | Header | ) |

Referenced by iIsValidWdp(), and iLoadWdpInternal().

ILboolean iGetWdpHead | ( | WDPHEAD * | Header | ) |

Referenced by iIsValidWdp(), and iLoadWdpInternal().

ILboolean iIsValidWdp | ( |  | ) |

Referenced by ilIsValidWdpF(), and ilIsValidWdpL().

ILboolean ilIsValidWdp | ( | ILconst_string | FileName | ) |

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

ILboolean ilIsValidWdpF | ( | ILHANDLE | File | ) |

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

Referenced by ilIsValidWdp().

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

Checks if Lump is a valid Wdp lump.

ILboolean ilLoadWdp | ( | ILconst_string | FileName | ) |

Reads a WDP file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadWdpF | ( | ILHANDLE | File | ) |

Reads an already-opened WDP file.

Referenced by ilLoadWdp().

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

Reads from a memory "lump" that contains a WDP image.

ILboolean iLoadWdpInternal | ( |  | ) |

Referenced by ilLoadWdpF(), and ilLoadWdpL().

ILuint VLWESC | ( |  | ) |