diff options
author | Earnie Boyd <earnie@users.sf.net> | 2001-06-11 19:18:52 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2001-06-11 19:18:52 +0000 |
commit | 13a01ce06a38f291e2221eabf2a2330c3c50a0b7 (patch) | |
tree | 52184108654572f64f2f0ce8e8fc4f03dfd84014 /winsup/w32api/include | |
parent | a1dd161b72b5d994ac626d34a8602db2f518c37d (diff) | |
download | cygnal-13a01ce06a38f291e2221eabf2a2330c3c50a0b7.tar.gz cygnal-13a01ce06a38f291e2221eabf2a2330c3c50a0b7.tar.bz2 cygnal-13a01ce06a38f291e2221eabf2a2330c3c50a0b7.zip |
* include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.
(REGSTR_PATH_SPECIAL_FOLDERS): Ditto.
* include/regstr.h (REGSTR_PATH_EXPLORER): Add #ifndef guard.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r-- | winsup/w32api/include/regstr.h | 2 | ||||
-rw-r--r-- | winsup/w32api/include/shlobj.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/winsup/w32api/include/regstr.h b/winsup/w32api/include/regstr.h index bec0a97a1..6a34ffb62 100644 --- a/winsup/w32api/include/regstr.h +++ b/winsup/w32api/include/regstr.h @@ -28,7 +28,9 @@ extern "C" { #define REGSTR_PATH_RUN TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Run") #define REGSTR_PATH_RUNSERVICESONCE TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\RunServicesOnce") #define REGSTR_PATH_RUNSERVICES TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\RunServices") +#ifndef REGSTR_PATH_EXPLORER /* also in shlobj.h */ #define REGSTR_PATH_EXPLORER TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer") +#endif #define REGSTR_PATH_DETECT TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Detect") #define REGSTR_PATH_APPPATHS TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\App Paths") #define REGSTR_PATH_UNINSTALL TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall") diff --git a/winsup/w32api/include/shlobj.h b/winsup/w32api/include/shlobj.h index 165883df6..a6a62ba85 100644 --- a/winsup/w32api/include/shlobj.h +++ b/winsup/w32api/include/shlobj.h @@ -106,9 +106,9 @@ extern "C" { #define SHDID_NET_RESTOFNET 16 #define SHDID_NET_OTHER 17 #ifndef REGSTR_PATH_EXPLORER -#define REGSTR_PATH_EXPLORER "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" +#define REGSTR_PATH_EXPLORER TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer") #endif -#define REGSTR_PATH_SPECIAL_FOLDERS REGSTR_PATH_EXPLORER "\\Shell Folders" +#define REGSTR_PATH_SPECIAL_FOLDERS REGSTR_PATH_EXPLORER TEXT("\\Shell Folders") #define CSIDL_DESKTOP 0 #define CSIDL_PROGRAMS 2 #define CSIDL_CONTROLS 3 |