# MI_IsWramSlotLocked*

## Syntax

  `#include <twl/mi.h>`
  `BOOL MI_IsWramSlotLocked_A( int num )`
  `BOOL MI_IsWramSlotLocked_B( int num )`
  `BOOL MI_IsWramSlotLocked_C( int num )`

## Arguments

num | The bank number of the WRAM to get information about.

## Return Values

TRUE indicates that the slot is locked.
FALSE indicates that the slot is not locked.

## Description

Looks up whether the specified WRAM slot is locked so that the WRAM configuration cannot be changed.

num indicates which slot number of the designated WRAM to check for being locked.

Locks on the WRAM configuration will already have been set when the application is started and cannot be changed thereafter. After startup, this function can only be used to get the status.

## Internal Operation

Accesses I/O register MBK9.

## See Also

Overview (Work RAM)
MI-Related Constants

## Revision History

2008/03/03 Deleted the link to the WRAM lock function.
2007/08/22 Initial version.

CONFIDENTIAL