ReactOS
0.4.16-dev-329-g9223134
winver.c
Go to the documentation of this file.
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
}
hInstance
HINSTANCE hInstance
Definition:
charmap.c:19
InitCommonControlsEx
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
Definition:
commctrl.c:900
NULL
#define NULL
Definition:
types.h:112
void
Definition:
nsiface.idl:2307
UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P)
Definition:
ntbasedef.h:325
L
#define L(x)
Definition:
ntvdm.h:50
INITCOMMONCONTROLSEX
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
ICC_STANDARD_CLASSES
#define ICC_STANDARD_CLASSES
Definition:
commctrl.h:73
ICC_WIN95_CLASSES
#define ICC_WIN95_CLASSES
Definition:
commctrl.h:66
ShellAboutW
BOOL WINAPI ShellAboutW(HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, HICON hIcon)
Definition:
shell32_main.c:1301
shellapi.h
tagINITCOMMONCONTROLSEX
Definition:
commctrl.h:54
tagINITCOMMONCONTROLSEX::dwICC
DWORD dwICC
Definition:
commctrl.h:56
tagINITCOMMONCONTROLSEX::dwSize
DWORD dwSize
Definition:
commctrl.h:55
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
winuser.h
wWinMain
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
Definition:
winver.c:14
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
base
applications
winver
winver.c
Generated on Sun Dec 8 2024 06:02:24 for ReactOS by
1.9.6