mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 12:53:09 +00:00
[RAPPS] Centralize RAPPS exposed names: registry & user local settings (#4214)
Centralize the names of the RAPPS' registry setting sub-key, and user local settings & offline apps database sub-directories. - Change the name of the application database sub-directory from "rapps\rapps" to "RApps\appdb". - Adjust the documentation to reflect this. - Simplify CConfigParser constructor by removing GetINIFullPath().
This commit is contained in:
parent
30bc0b6b7a
commit
fefc5f4823
9 changed files with 31 additions and 32 deletions
|
@ -241,13 +241,13 @@ ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow)
|
|||
|
||||
if (argc == 1) // RAPPS is launched without options
|
||||
{
|
||||
// Check for if rapps MainWindow is already launched in another process
|
||||
// Check whether the RAPPS MainWindow is already launched in another process
|
||||
HANDLE hMutex;
|
||||
|
||||
hMutex = CreateMutexW(NULL, FALSE, szWindowClass);
|
||||
if ((!hMutex) || (GetLastError() == ERROR_ALREADY_EXISTS))
|
||||
{
|
||||
/* If already started, it is found its window */
|
||||
/* If already started, find its window */
|
||||
HWND hWindow = FindWindowW(szWindowClass, NULL);
|
||||
|
||||
/* Activate window */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue