mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
3747699735
Use and initialize common controls for theming support, and include a manifest as well.
29 lines
818 B
C
29 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);
|
|
}
|