summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/source/windows/windows_process.cxx13
-rw-r--r--include/comphelper/windowsStart.hxx5
2 files changed, 7 insertions, 11 deletions
diff --git a/comphelper/source/windows/windows_process.cxx b/comphelper/source/windows/windows_process.cxx
index c9a41f5fc5d6..16ba61399b87 100644
--- a/comphelper/source/windows/windows_process.cxx
+++ b/comphelper/source/windows/windows_process.cxx
@@ -9,6 +9,8 @@
#include <cstring>
#include <cwchar>
+#include <comphelper/windowsStart.hxx>
+
// Needed for CreateEnvironmentBlock
#include <userenv.h>
#pragma comment(lib, "userenv.lib")
@@ -163,17 +165,6 @@ MakeCommandLine(int argc, wchar_t **argv)
return s;
}
-/**
- * Launch a child process with the specified arguments.
- * @note argv[0] is ignored
- * @note The form of this function that takes char **argv expects UTF-8
- */
-BOOL
-WinLaunchChild(const wchar_t *exePath,
- int argc, wchar_t **argv,
- HANDLE userToken = nullptr,
- HANDLE *hProcess = nullptr);
-
BOOL
WinLaunchChild(const wchar_t *exePath,
int argc,
diff --git a/include/comphelper/windowsStart.hxx b/include/comphelper/windowsStart.hxx
index ce66ef933b68..590402528f7a 100644
--- a/include/comphelper/windowsStart.hxx
+++ b/include/comphelper/windowsStart.hxx
@@ -10,6 +10,11 @@
#include <windows.h>
#endif
+/**
+ * Launch a child process with the specified arguments.
+ * @note argv[0] is ignored
+ * @note The form of this function that takes char **argv expects UTF-8
+ */
BOOL
WinLaunchChild(const wchar_t *exePath, int argc,