This is generated by WinMain() This is just a number for a designated process. You can run multiple of the same program at once, this instance handle is to provide identification so that no 2 processes interfere with eachother.