# DSP_OpenStaticComponentGraphics

## Syntax

    void DSP_OpenStaticComponentGraphics(FSFile *file);

## Arguments

`file` | The `FSFile` structure to open a memory file.

## Return Values

None.

## Description

Opens a memory file in static memory for use by the graphics components. The opened file can be used as an argument to the `DSP_LoadGraphics` function. If this function is used, the SDK library and component files always have the same version, and component files no longer need to be saved to the file system in advance. However, the files are linked in static memory and therefore increase the program's resident memory size.
Because this function makes an internal call to the `FS_InitFile` function, you do not need to initialize `file` ahead of time.

## See Also

`DSP_LoadGraphics`

## Revision History

2009/02/12 Added mention that the `FS_InitFile` function is called internally.
2008/05/22 Initial version.

CONFIDENTIAL