Hi,
After completing 2 years of a recognized course, you will be eligible for a 3 years PGWP. Once you are on a PGWP... you will need to qualify under a specific student immigration PNP or Federal student immigration route - CEC. Most student immigration programs require you to find a skilled job, and do that for 6-12 months...and then apply for PNP nomination and then PR or directly apply for PR if applying visa Federal CEC.
To know more about various student immigration programs in Canada for international students (see April 2013 update with official links; mid page 6):
http://www.canadavisa.com/canada-immigration-discussion-board/various-immigration-programmes-for-international-students-in-canada-t100908.75.html
Hope it helps.
***All opinions expressed are purely personal, and pieces of information mentioned are to the best of my knowledge... You should consult other sources too.