Beispiel #1
0
        static Console()
        {
            var writeDebugMessageProcID = SysCalls.GetProcessIDForCommand(SysCallTarget.WriteDebugMessage);

            buf = SysCalls.RequestMessageBuffer(4096, writeDebugMessageProcID);
        }
Beispiel #2
0
        public static MemoryAllocation RequestMessageBuffer(int size, int targetProcessID)
        {
            var buf = SysCalls.RequestMessageBuffer((uint)size, targetProcessID);

            return(new MemoryAllocation(buf));
        }