ReactOS
0.4.16-dev-197-g92996da
about.c
Go to the documentation of this file.
1
/*
2
* Regedit About Dialog Box
3
*
4
* Copyright (C) 2002 Robert Dickenson <robd@reactos.org>
5
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
6
*/
7
8
#include "
regedit.h
"
9
10
#include <
shellapi.h
>
11
12
void
ShowAboutBox
(
HWND
hWnd
)
13
{
14
WCHAR
AppStr[255];
15
LoadStringW
(
hInst
,
IDS_APP_TITLE
, AppStr,
ARRAY_SIZE
(AppStr));
16
ShellAboutW
(
hWnd
, AppStr,
NULL
,
LoadIconW
(
hInst
,
MAKEINTRESOURCEW
(
IDI_REGEDIT
)));
17
}
18
19
/* EOF */
hWnd
HWND hWnd
Definition:
settings.c:17
IDS_APP_TITLE
#define IDS_APP_TITLE
Definition:
resource.h:10
ShowAboutBox
void ShowAboutBox(HWND hWnd)
Definition:
about.c:12
ARRAY_SIZE
#define ARRAY_SIZE(A)
Definition:
main.h:20
IDI_REGEDIT
#define IDI_REGEDIT
Definition:
resource.h:22
NULL
#define NULL
Definition:
types.h:112
hInst
HINSTANCE hInst
Definition:
dxdiag.c:13
void
Definition:
nsiface.idl:2307
regedit.h
ShellAboutW
BOOL WINAPI ShellAboutW(HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, HICON hIcon)
Definition:
shell32_main.c:1309
shellapi.h
LoadStringW
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
MAKEINTRESOURCEW
#define MAKEINTRESOURCEW(i)
Definition:
winuser.h:582
LoadIconW
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
Definition:
cursoricon.c:2127
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
base
applications
regedit
about.c
Generated on Wed Oct 30 2024 06:06:19 for ReactOS by
1.9.6