* fhandler_socket.cc: Create shared objects session local throughout.
* shared.cc (shared_name): Add argument to allow opening session local shared memory. * shared_info.h (shared_name): Change declaration accordingly.
This commit is contained in:
@ -176,7 +176,7 @@ struct console_state
|
||||
};
|
||||
#endif
|
||||
|
||||
char *__stdcall shared_name (char *, const char *, int);
|
||||
char *__stdcall shared_name (char *, const char *, int, bool = false);
|
||||
void *__stdcall open_shared (const char *name, int n, HANDLE &shared_h, DWORD size,
|
||||
shared_locations&, PSECURITY_ATTRIBUTES psa = &sec_all,
|
||||
DWORD access = FILE_MAP_READ | FILE_MAP_WRITE);
|
||||
|
Reference in New Issue
Block a user