summaryrefslogtreecommitdiff
path: root/desktop/win32/source/extendloaderenvironment.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-03-18 12:52:22 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-03-18 12:52:22 +0000
commit0df825ea7eef0f74965276a958ad2bab1dd2caf3 (patch)
tree0b1cd330ffc7a4822fb0bc215de1db22b5d11efd /desktop/win32/source/extendloaderenvironment.hxx
parenteaf5648be922217834da6c0bf5c3854bb6ab708c (diff)
INTEGRATION: CWS sb83 (1.2.34); FILE MERGED
2008/01/29 14:43:46 sb 1.2.34.2: #i84200# cuiloader was not used at all, cuiloader/genericloader.cxx has been moved to guiloader/genericloader.cxx' cuiloader" 2007/11/22 09:45:46 sb 1.2.34.1: Merged in CWS sb80.
Diffstat (limited to 'desktop/win32/source/extendloaderenvironment.hxx')
-rw-r--r--desktop/win32/source/extendloaderenvironment.hxx21
1 files changed, 18 insertions, 3 deletions
diff --git a/desktop/win32/source/extendloaderenvironment.hxx b/desktop/win32/source/extendloaderenvironment.hxx
index 4ae9a40d657b..6a2ad14379ec 100644
--- a/desktop/win32/source/extendloaderenvironment.hxx
+++ b/desktop/win32/source/extendloaderenvironment.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: extendloaderenvironment.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: obo $ $Date: 2008-01-07 09:57:27 $
+ * last change: $Author: vg $ $Date: 2008-03-18 13:52:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -40,11 +40,26 @@
#include "sal/config.h"
#endif
+#include <tchar.h>
+
+#define MY_LENGTH(s) (sizeof (s) / sizeof *(s) - 1)
+#define MY_STRING(s) (s), MY_LENGTH(s)
+
namespace desktop_win32 {
// Set the PATH environment variable in the current (loader) process, so that a
// following CreateProcess has the necessary environment:
-void extendLoaderEnvironment();
+//
+// @param binPath
+// Must point to an array of size at least MAX_PATH. Is filled with the null
+// terminated full path to the "bin" file corresponding to the current
+// executable.
+//
+// @param iniDirectory
+// Must point to an array of size at least MAX_PATH. Is filled with the null
+// terminated full directory path (ending in "\") to the "ini" file
+// corresponding to the current executable.
+void extendLoaderEnvironment(WCHAR * binPath, WCHAR * iniDirectory);
}