A sample code to generate thumbnail using Windows Shell API