Patent ID: 8118267

Claim:
A mounting mechanism comprising: a chassis comprising an anchor member fixed to the chassis; a slide rail defining a mounting slot for receiving the anchor member of the chassis; and a retaining member comprising a main body, a pivot portion extending from a first end of the main body, a stop portion extending from a second end of the main body opposite to the pivot portion, wherein the pivot portion is pivotably attached to the slide rail, the main body is raised from the pivot portion and the stop portion, the pivot portion and the stop portion are in tight contact with the slide rail, the main body is spaced by a distance from the slide rail, the stop portion comprises a stop surface and an inclined surface opposite to the stop surface; wherein the anchor member slides in the mounting slot to drive the inclined surface of the retaining member to rotate the retaining member to an upper position to allow the anchor member to ride over the stop portion, and when the anchor member rides over the stop portion, the retaining member is biased to rotate to a lower position to retain the anchor member in the mounting slot of the slide rail; and wherein the stop portion is formed by bending a piece extending from an upper portion of the second end of the main body to be parallel to the main body.