Are the shareholder investments in equities of the company are secured ?

Suppose a investor buy 100 shares of XYZ Co for Rs. 250 per share. At the time of insolvency and winding of the company, how much the amount will the investor receive for his investment? Is there any law or provision that secures the investor for the investment made in the company?