Pouvez vous m'aider a corriger l'érreur:
Gravité	Code	Description	Projet	Fichier	Ligne	État de la suppression
Erreur	C2731	'WinMain' : impossible de surcharger la fonction	Xevyyy Cheat	C:\Users\Tilio\source\repos\Xevyyy Cheat\Xevyyy Cheat\Source.cpp	18	
Avertissement	C4244	'return' : conversion de 'WPARAM' en 'int', perte possible de données	Xevyyy Cheat	C:\Users\Tilio\source\repos\Xevyyy Cheat\Xevyyy Cheat\Source.cpp	126	

Sur mon script:
#include <iostream>
#include <Windows.h>
#include <CommCtrl.h>

#pragma comment(lib, "comctl32.lib")

#define WINDOW_WIDTH 480
#define WINDOW_HEIGHT 360

#define BUTTON_WIDTH 120
#define BUTTON_HEIGHT 30

#define JG_WIDTH 300
#define JG_HEIGHT 30

LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
{
	// Register window class
	WNDCLASSEX wc;
	wc.cbSize = sizeof(WNDCLASSEX);
	wc.style = 0;
	wc.lpfnWndProc = WndProc;
	wc.cbClsExtra = 0;
	wc.cbWndExtra = 0;
	wc.hInstance = hInstance;
	wc.hIcon = NULL;
	wc.hCursor = LoadCursor(NULL, IDC_ARROW);
	wc.hbrBackground = (HBRUSH)(COLOR_WINDOW);
	wc.lpszMenuName = NULL;
	wc.lpszClassName = L"XevyyyCheat";
	wc.hIconSm = NULL;

	if (!RegisterClassEx(&wc))
	{
		MessageBoxW(NULL, L"Window Registration Failed!", L"Error", MB_ICONEXCLAMATION | MB_OK);
		return 0;
	}

	// Create window
	HWND hwnd = CreateWindowEx(
		WS_EX_CLIENTEDGE,
		L"XevyyyCheat",
		L"Xevyyy Cheat",
		WS_OVERLAPPEDWINDOW,
		CW_USEDEFAULT, CW_USEDEFAULT, WINDOW_WIDTH, WINDOW_HEIGHT,
		NULL, NULL, hInstance, NULL);

	if (hwnd == NULL)
	{
		MessageBoxW(NULL, L"Window Creation Failed!", L"Error", MB_ICONEXCLAMATION | MB_OK);
		return 0;
	}

	// Create button controls
	HWND aimbotBtn = CreateWindow(
		L"BUTTON", // Predefined class; Unicode assumed
		L"Aimbot", // Button text
		WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, // Styles
		20, // x position
		20, // y position
		BUTTON_WIDTH, // Button width
		BUTTON_HEIGHT, // Button height
		hwnd, // Parent window
		NULL, // No menu.
		hInstance,
		NULL); // Pointer not needed.

	HWND triggerbotBtn = CreateWindow(
		L"BUTTON", // Predefined class; Unicode assumed
		L"Triggerbot", // Button text
		WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, // Styles
		160, // x position
		20, // y position
		BUTTON_WIDTH, // Button width
		BUTTON_HEIGHT, // Button height
		hwnd, // Parent window
		NULL, // No menu.
		hInstance,
		NULL); // Pointer not needed.

	HWND spinbotBtn = CreateWindow(
		L"BUTTON", // Predefined class; Unicode assumed
		L"Spinbot", // Button text
		WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, // Styles
		300, // x position
		20, // y position
		BUTTON_WIDTH, // Button width
		BUTTON_HEIGHT, // Button height
		hwnd, // Parent window
		NULL, // No menu.
		hInstance,
		NULL); // Pointer not needed.

		// Create Jiggle control
	HWND jiggleControl = CreateWindowEx(
		0,
		TRACKBAR_CLASSW,
		NULL,
		WS_CHILD | WS_VISIBLE | TBS_AUTOTICKS,
		(WINDOW_WIDTH - JG_WIDTH) / 2,
		100,
		JG_WIDTH,
		JG_HEIGHT,
		hwnd,
		(HMENU)1,
		hInstance,
		NULL);

	SendMessageW(jiggleControl, TBM_SETRANGE, TRUE, MAKELONG(0, 100));
	SendMessageW(jiggleControl, TBM_SETPOS, TRUE, 50);

	// Show window
	ShowWindow(hwnd, nCmdShow);
	UpdateWindow(hwnd);

	// Message loop
	MSG msg;
	while (GetMessage(&msg, NULL, 0, 0) > 0)
	{
		TranslateMessage(&msg);
		DispatchMessage(&msg);
	}

	return msg.wParam;
}

LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
	switch (msg)
	{
	case WM_COMMAND:
	{
		if (LOWORD(wParam) == BN_CLICKED)
		{
			if (HIWORD(wParam) == 0) // Aimbot button clicked
			{
				MessageBoxW(hwnd, L"Aimbot activated!", L"Message", MB_OK);
			}
			else if (HIWORD(wParam) == 1) // Triggerbot button clicked
			{
				MessageBoxW(hwnd, L"Triggerbot activated!", L"Message", MB_OK);
			}
			else if (HIWORD(wParam) == 2) // Spinbot button clicked
			{
				MessageBoxW(hwnd, L"Spinbot activated!", L"Message", MB_OK);
			}
		}
	}
	break;
	case WM_DESTROY:
	{
		PostQuitMessage(0);
	}
	break;
	default:
		return DefWindowProc(hwnd, msg, wParam, lParam);
	}
	return 0;
}