# FS_UnloadOverlayImage

## Syntax

  `#include <nitro/fs.h>`
  `BOOL FS_UnloadOverlayImage(FSOverlayInfo *p_ovi);`

## Arguments

p_ovi | `FSOverlayInfo` structure that holds overlay module information.

## Return Values

Returns TRUE if the overlay module's image is unloaded properly; FALSE otherwise.

## Description

This function unloads the image of an overlay module from memory. Currently, this function only calls the `FS_EndOverlay` function internally. When loading an overlay module, this function must be called for all other loaded modules that contend for space.

## See Also

`FSOverlayInfo`, `FS_LoadOverlayInfo`, `FS_LoadOverlayImage`, `FS_EndOverlay`

## Revision History

2004/11/02 Corrected a link.
2004/09/10 Added a description concerning `FS_EndOverlay()`.
2004/06/1 Initial version.

CONFIDENTIAL