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.
This commit is contained in:
parent
eaf5648be9
commit
0df825ea7e
1 changed files with 18 additions and 3 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue