GetNamedPipeHandleState function kernel32
Retrieves information about a specified named pipe. The information returned can vary during the lifetime of an instance of the named pipe.
BOOL GetNamedPipeHandleStateW(
HANDLE hNamedPipe,
LPDWORD lpState,
LPDWORD lpCurInstances,
LPDWORD lpMaxCollectionCount,
LPDWORD lpCollectDataTimeout,
LPWSTR lpUserName,
DWORD nMaxUserNameSize
);
Implementation
int GetNamedPipeHandleState(
int hNamedPipe,
Pointer<Uint32> lpState,
Pointer<Uint32> lpCurInstances,
Pointer<Uint32> lpMaxCollectionCount,
Pointer<Uint32> lpCollectDataTimeout,
Pointer<Utf16> lpUserName,
int nMaxUserNameSize) =>
_GetNamedPipeHandleState(
hNamedPipe,
lpState,
lpCurInstances,
lpMaxCollectionCount,
lpCollectDataTimeout,
lpUserName,
nMaxUserNameSize);