Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetSecAttrs() [1/2]

static unsafe global.Interop.Kernel32.SECURITY_ATTRIBUTES System.IO.Pipes.PipeStream.GetSecAttrs ( HandleInheritability inheritability)
inlinestaticpackage

Definition at line 997 of file PipeStream.cs.

998 {
999 global::Interop.Kernel32.SECURITY_ATTRIBUTES result = default(global::Interop.Kernel32.SECURITY_ATTRIBUTES);
1000 result.nLength = (uint)sizeof(global::Interop.Kernel32.SECURITY_ATTRIBUTES);
1001 result.bInheritHandle = (((inheritability & HandleInheritability.Inheritable) != 0) ? global::Interop.BOOL.TRUE : global::Interop.BOOL.FALSE);
1002 return result;
1003 }

Referenced by System.IO.Pipes.AnonymousPipeServerStream.Create(), System.IO.Pipes.NamedPipeServerStream.Create(), System.IO.Pipes.PipeStream.GetSecAttrs(), and System.IO.Pipes.NamedPipeClientStream.TryConnect().