Disclosed is an information processing apparatus which ends application
programs when a recording medium is pulled out. In step S1, it is determined
whether or not a Memory Stick is loaded in a Memory Stick slot. If a Memory Stick
is found loaded, the procedure goes to step S2. In step S2, a display
program and a reading program are started. In step S3, it is determined
whether or not the loaded Memory Stick is being accessed. If the loaded Memory
Stick is found being accessed, then, in step S4, the Memory Stick is locked.
In step S6, if the Memory Stick is found pulled out, then, in step S7,
the display program and the reading program are ended.