summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/shared_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h
index 668557ff7..e332829df 100644
--- a/winsup/cygwin/shared_info.h
+++ b/winsup/cygwin/shared_info.h
@@ -31,7 +31,7 @@ public:
#define SHARED_INFO_CB 39328
-#define CURR_SHARED_MAGIC 0x398d8baU
+#define CURR_SHARED_MAGIC 0x22f9ff0bU
#define USER_VERSION 1 // increment when mount table changes and
#define USER_VERSION_MAGIC CYGWIN_VERSION_MAGIC (USER_MAGIC, USER_VERSION)
@@ -98,8 +98,10 @@ struct console_state
HANDLE get_shared_parent_dir ();
HANDLE get_session_parent_dir ();
char *__stdcall shared_name (char *, const char *, int);
-void *__stdcall open_shared (const char *name, int n, HANDLE &shared_h, DWORD size,
- shared_locations&, PSECURITY_ATTRIBUTES psa = &sec_all,
+WCHAR *__stdcall shared_name (WCHAR *, const WCHAR *, int);
+void *__stdcall open_shared (const WCHAR *name, int n, HANDLE &shared_h,
+ DWORD size, shared_locations&,
+ PSECURITY_ATTRIBUTES psa = &sec_all,
DWORD access = FILE_MAP_READ | FILE_MAP_WRITE);
extern void user_shared_create (bool reinit);
extern void user_shared_initialize ();