#ifndef _NTIOAPI_H
/**
* The FILE_PIPE_REMOTE_INFORMATION structure contains information about the remote end of a named pipe.
*
* \remarks Remote information is not available for local pipes or for the server end of a remote pipe.
* https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_file_pipe_remote_information
*/
typedef struct _FILE_PIPE_REMOTE_INFORMATION
{
LARGE_INTEGER CollectDataTime; // The maximum amount of time, in 100-nanosecond intervals, that elapses before transmission of data from the client machine to the server.
ULONG MaximumCollectionCount; // The maximum size, in bytes, of data that will be collected on the client machine before transmission to the server.
} FILE_PIPE_REMOTE_INFORMATION, *PFILE_PIPE_REMOTE_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.