.
public static extern bool GetNamedPipeServerProcessId(IntPtr Pipe, out int ServerProcessId);
.
public static extern bool GetNamedPipeServerProcessId(SafePipeHandle Pipe, out int ServerProcessId);
.
Declare Function GetNamedPipeServerProcessId Lib "kernel32.dll" (TODO) As TODO
.