Author: hbelusca
Date: Tue Oct 20 22:49:34 2015
New Revision: 69631
URL: http://svn.reactos.org/svn/reactos?rev=69631&view=rev
Log:
[PSDK]
- Enable the specstrings.h in shlwapi header (since we have it)
- Add missing BIF_SHAREABLE define (which exists in the 2k3 PSDK), even if it's not used at all in our code (and in wine either); I use it in msconfig for a shell browse dialog (because I want it to behave as I expect also on windows).
Modified:
trunk/reactos/include/psdk/shlobj.h
trunk/reactos/include/psdk/shlwapi.h
Modified: trunk/reactos/include/psdk/shlobj.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/shlobj.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/shlobj.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/shlobj.h [iso-8859-1] Tue Oct 20 22:49:34 2015
@@ -968,6 +968,7 @@
#define BIF_BROWSEFORCOMPUTER 0x1000
#define BIF_BROWSEFORPRINTER 0x2000
#define BIF_BROWSEINCLUDEFILES 0x4000
+#define BIF_SHAREABLE 0x8000
/* message from browser */
#define BFFM_INITIALIZED 1
Modified: trunk/reactos/include/psdk/shlwapi.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/shlwapi.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/shlwapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/shlwapi.h [iso-8859-1] Tue Oct 20 22:49:34 2015
@@ -21,7 +21,7 @@
#ifndef __WINE_SHLWAPI_H
#define __WINE_SHLWAPI_H
-/* FIXME: #include <specstrings.h> */
+#include <specstrings.h>
#include <objbase.h>
#include <shtypes.h>
Author: tfaber
Date: Tue Oct 20 08:15:30 2015
New Revision: 69626
URL: http://svn.reactos.org/svn/reactos?rev=69626&view=rev
Log:
[RAPPS]
- Pass the correct buffer size to StringCbCopyW
Modified:
trunk/reactos/base/applications/rapps/misc.c
trunk/reactos/base/applications/rapps_new/misc.cpp
Modified: trunk/reactos/base/applications/rapps/misc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/mi…
==============================================================================
--- trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/misc.c [iso-8859-1] Tue Oct 20 08:15:30 2015
@@ -431,7 +431,7 @@
/* copy the locale-dependent string into the buffer of the future neutral one */
StringCbCopyW(szCachedINISectionLocaleNeutral,
- sizeof(szCachedINISectionLocale),
+ sizeof(szCachedINISectionLocaleNeutral),
szCachedINISectionLocale);
/* turn "Section.0c0a" into "Section.0a", keeping just the neutral lang part */
Modified: trunk/reactos/base/applications/rapps_new/misc.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps_ne…
==============================================================================
--- trunk/reactos/base/applications/rapps_new/misc.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps_new/misc.cpp [iso-8859-1] Tue Oct 20 08:15:30 2015
@@ -431,7 +431,7 @@
/* copy the locale-dependent string into the buffer of the future neutral one */
StringCbCopyW(szCachedINISectionLocaleNeutral,
- sizeof(szCachedINISectionLocale),
+ sizeof(szCachedINISectionLocaleNeutral),
szCachedINISectionLocale);
/* turn "Section.0c0a" into "Section.0a", keeping just the neutral lang part */