Every program has to have a main.
More...
#include "Game.h"
#include "Window.h"
|
int WINAPI | wWinMain (_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow) |
| The main entry point for this application. More...
|
|
◆ wWinMain()
int WINAPI wWinMain |
( |
_In_ HINSTANCE |
hInstance, |
|
|
_In_opt_ HINSTANCE |
hPrevInstance, |
|
|
_In_ LPWSTR |
lpCmdLine, |
|
|
_In_ int |
nCmdShow |
|
) |
| |
The main entry point for this application.
- Parameters
-
hInstance | Handle to the current instance of this application. |
hPrevInstance | Unused. |
lpCmdLine | Unused. |
nCmdShow | Nonzero if window is to be shown. |
- Returns
- 0 If this application terminates correctly, otherwise an error code.