Create shared memory in local session namespace
This commit is contained in:
parent
836ee62c93
commit
7d92da876a
@ -84,7 +84,7 @@ fn tasoller_init() !void {
|
|||||||
|
|
||||||
if(cfg.?.chusan == 1) {
|
if(cfg.?.chusan == 1) {
|
||||||
std.log.info("[chuniio] Initializing mode: chusan", .{});
|
std.log.info("[chuniio] Initializing mode: chusan", .{});
|
||||||
const szName = W("Global\\ChuniioTasoller");
|
const szName = W("Local\\ChuniioTasoller");
|
||||||
const hMapFile = CreateFileMapping(INVALID_HANDLE_VALUE, null, PAGE_READWRITE, 0, 0x24, szName) orelse {
|
const hMapFile = CreateFileMapping(INVALID_HANDLE_VALUE, null, PAGE_READWRITE, 0, 0x24, szName) orelse {
|
||||||
std.log.err("[chuniio] CreateFileMapping: {any}", .{GetLastError()});
|
std.log.err("[chuniio] CreateFileMapping: {any}", .{GetLastError()});
|
||||||
return error.AccessError;
|
return error.AccessError;
|
||||||
|
Loading…
Reference in New Issue
Block a user