Why does prevInstance exist in WinMain and wWinMain if it is always NULL

前端 未结 2 1025
暖寄归人
暖寄归人 2021-02-14 19:52

Since I am a beginner, it may be a very basic question. I am starting DirectX 11, and while creating my first application, wWinMain was used, and while searching for difference

2条回答
  •  [愿得一人]
    2021-02-14 20:27

    The prev instance parameter is there for 16-bit Windows compatibility. I think that was stated in the MSDN reference for WinMain, at least it used to be.

提交回复
热议问题