Bonjour a tous

Voila mon probleme je suis entrain de lire le cours sur les fenetres de Jessee edouard j'ai ecrit un bout de code mais sa affiche pas la fenêtre
Voici mon code :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
#include <windows.h>
 
int WINAPI WinMain ( HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow)
{
    WNDCLASS Win;
    HWND hWnd;
    Win.cbClsExtra=0;
    Win.cbWndExtra=0;
    Win.hbrBackground=(HBRUSH)(COLOR_WINDOW+1);
    Win.hCursor=LoadCursor(NULL, IDI_APPLICATION);
    Win.hIcon=LoadIcon(NULL, IDI_APPLICATION);
    Win.lpszClassName="C1";
    Win.lpszMenuName=NULL;
    Win.style=CS_HREDRAW|CS_VREDRAW;
 
    hWnd=CreateWindow("C1","Mywind",WS_OVERLAPPEDWINDOW,100,200,600,300,NULL,NULL,NULL,NULL);
    ShowWindow(hWnd,nCmdShow);
}
Si quelqu'un peut me trouver ou j'ai fais erreur