Example #1
0
 internal SafeAlpcSecurityContextHandle(AlpcHandle handle, bool owns_handle, NtAlpc port,
                                        AlpcSecurityAttrFlags flags, SecurityQualityOfService security_quality_of_service)
     : base(IntPtr.Zero, owns_handle)
 {
     SetHandle(new IntPtr(handle.Value));
     _port = port;
     Flags = flags;
     SecurityQualityOfService = security_quality_of_service;
 }
 internal AlpcPortSection(AlpcHandle handle, IntPtr size, IntPtr actual_section_size, NtAlpc port)
 {
     Handle            = new SafeAlpcPortSectionHandle(handle, true, port);
     Size              = size.ToInt64();
     ActualSectionSize = actual_section_size.ToInt64();
 }
Example #3
0
 internal SafeAlpcPortSectionHandle(AlpcHandle handle, bool owns_handle, NtAlpc port) : base(owns_handle)
 {
     SetHandle(new IntPtr(handle.Value));
     Port = port;
 }