mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
[REGEDIT] Partially sync Regedit to Wine-7.17 (#4717)
* [REGEDIT] Partially Sync to Wine 7.17 - regproc.c and regedit.c are now in sync. - some other mostly depending fixes for the remaining files * [REGEDIT_WINETEST] Sync to Wine-7.0
This commit is contained in:
parent
66030257b1
commit
36a7f0dc7c
49 changed files with 3473 additions and 1869 deletions
|
@ -20,7 +20,12 @@
|
|||
|
||||
#include "regedit.h"
|
||||
|
||||
BOOL ProcessCmdLine(LPWSTR lpCmdLine);
|
||||
BOOL ProcessCmdLine(WCHAR *cmdline);
|
||||
|
||||
const WCHAR *reg_class_namesW[] = {L"HKEY_LOCAL_MACHINE", L"HKEY_USERS",
|
||||
L"HKEY_CLASSES_ROOT", L"HKEY_CURRENT_CONFIG",
|
||||
L"HKEY_CURRENT_USER", L"HKEY_DYN_DATA"
|
||||
};
|
||||
|
||||
/*******************************************************************************
|
||||
* Global Variables:
|
||||
|
@ -190,7 +195,7 @@ BOOL TranslateChildTabMessage(PMSG msg)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
int APIENTRY wWinMain(HINSTANCE hInstance,
|
||||
int WINAPI wWinMain(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance,
|
||||
LPWSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
|
@ -201,11 +206,11 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
|
|||
UNREFERENCED_PARAMETER(hPrevInstance);
|
||||
|
||||
/* Initialize global strings */
|
||||
LoadStringW(hInstance, IDS_APP_TITLE, szTitle, COUNT_OF(szTitle));
|
||||
LoadStringW(hInstance, IDC_REGEDIT_FRAME, szFrameClass, COUNT_OF(szFrameClass));
|
||||
LoadStringW(hInstance, IDC_REGEDIT, szChildClass, COUNT_OF(szChildClass));
|
||||
LoadStringW(hInstance, IDS_APP_TITLE, szTitle, ARRAY_SIZE(szTitle));
|
||||
LoadStringW(hInstance, IDC_REGEDIT_FRAME, szFrameClass, ARRAY_SIZE(szFrameClass));
|
||||
LoadStringW(hInstance, IDC_REGEDIT, szChildClass, ARRAY_SIZE(szChildClass));
|
||||
|
||||
if (ProcessCmdLine(lpCmdLine))
|
||||
if (ProcessCmdLine(GetCommandLineW()))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue