The present invention is to provide a mechanism for quickly removing an electronic
device from a PC having a smaller case, which comprises a slot in the PC having
one or more recesses at either side, enabling a tray installed with the electronic
device to be inserted therein through a front opening of the slot and enabling
one or more snapping members on either side of the tray to be adapted to snap into
one or more recesses on the slot. In an operation of removing the electronic device
from the PC, a user may pull a first clinging member of a pivotal gate at the front
opening to open a gate upward, and then hold a handle of the tray to quickly pull
the tray toward the front opening of the slot.