xref: /reactos/base/applications/winver/winver.c (revision 7eead935)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS Version Program
4  * FILE:            base/applications/winver/winver.c
5  */
6 
7 #include <stdarg.h>
8 #include <windef.h>
9 #include <winbase.h>
10 #include <winuser.h>
11 #include <commctrl.h>
12 #include <shellapi.h>
13 
14 int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
15 {
16     INITCOMMONCONTROLSEX iccx;
17 
18     UNREFERENCED_PARAMETER(hInstance);
19     UNREFERENCED_PARAMETER(hPrevInstance);
20     UNREFERENCED_PARAMETER(lpCmdLine);
21     UNREFERENCED_PARAMETER(nCmdShow);
22 
23     /* Initialize common controls */
24     iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
25     iccx.dwICC = ICC_STANDARD_CLASSES | ICC_WIN95_CLASSES;
26     InitCommonControlsEx(&iccx);
27 
28     return ShellAboutW(NULL, L"ReactOS", NULL, NULL);
29 }
30