GetNamedPipeHandleState Function - Windows API

Purpose



Declaration

C#

[DllImport("kernel32.dll", EntryPoint = "GetNamedPipeHandleStateA", CharSet = CharSet.Ansi)]
public static extern int GetNamedPipeHandleState(int hNamedPipe,
	ref int lpState, int lpCurInstances, int lpMaxCollectionCount, int
	lpCollectDataTimeout, int lpUserName, int nMaxUserNameSize);