reactos/base/applications/winver/winver.c
Carlo-Bramini 3747699735
[WINVER] Fix WINVER theming. CORE-13343 (#1428)
Use and initialize common controls for theming support,
and include a manifest as well.
2019-03-23 17:45:27 +01:00

30 lines
818 B
C

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Version Program
* FILE: base/applications/winver/winver.c
*/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h>
#include <shellapi.h>
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
{
INITCOMMONCONTROLSEX iccx;
UNREFERENCED_PARAMETER(hInstance);
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
UNREFERENCED_PARAMETER(nCmdShow);
/* Initialize common controls */
iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
iccx.dwICC = ICC_STANDARD_CLASSES | ICC_WIN95_CLASSES;
InitCommonControlsEx(&iccx);
return ShellAboutW(NULL, L"ReactOS", NULL, NULL);
}