[RAPPS] Renamed CmdParser to UseCmdParameters
authorAlexander Shaposhnikov <sanchaez@reactos.org>
Sat, 9 Sep 2017 19:41:08 +0000 (19:41 +0000)
committerAlexander Shaposhnikov <sanchaez@reactos.org>
Sat, 9 Sep 2017 19:41:08 +0000 (19:41 +0000)
svn path=/branches/GSoC_2017/rapps/; revision=75813

reactos/base/applications/rapps/include/unattended.h
reactos/base/applications/rapps/unattended.cpp
reactos/base/applications/rapps/winmain.cpp

index 2adb03f..02ed245 100644 (file)
@@ -5,4 +5,4 @@
 #define CMD_KEY_SETUP L"/SETUP"
 
 // return TRUE if the SETUP key was valid
-BOOL CmdParser(LPWSTR lpCmdLine);
+BOOL UseCmdParameters(LPWSTR lpCmdLine);
index 128aa63..9748898 100644 (file)
@@ -15,7 +15,7 @@
 
 #define MIN_ARGS 2
 
-BOOL CmdParser(LPWSTR lpCmdLine)
+BOOL UseCmdParameters(LPWSTR lpCmdLine)
 {
     INT argc;
     LPWSTR* argv = CommandLineToArgvW(lpCmdLine, &argc);
index 0633200..4296ef3 100644 (file)
@@ -160,7 +160,7 @@ INT WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
     InitCommonControls();
 
     // skip window creation if there were some keys
-    if (!CmdParser(lpCmdLine))
+    if (!UseCmdParameters(lpCmdLine))
     {
         if (SettingsInfo.bUpdateAtStart || bIsFirstLaunch)
             CAvailableApps::ForceUpdateAppsDB();