Programming based on c#windows API