static Console() { var writeDebugMessageProcID = SysCalls.GetProcessIDForCommand(SysCallTarget.WriteDebugMessage); buf = SysCalls.RequestMessageBuffer(4096, writeDebugMessageProcID); }
public static MemoryAllocation RequestMessageBuffer(int size, int targetProcessID) { var buf = SysCalls.RequestMessageBuffer((uint)size, targetProcessID); return(new MemoryAllocation(buf)); }