title: meaning of the hInstance in Win32API main-function
body: <p>Is the hInstance parameter there to tell the main-method that the code within is only valid for instance xy of the application.</p>
  <p>So if I open WORD twice and minimize one of the windows, the SAME main-function is called, but by means of the hInstance parameter, the two instances of WORD are kept apart?</p>
  <p>And the same would go for any other function that needs an hInstance parameter.</p>
  <p>Thanks for corrections and help!</p>