# Function Reference

# _NamedPipes_CreatePipe

Creates an anonymous pipe

#include <NamedPipes.au3>
_NamedPipes_CreatePipe ( ByRef $hReadPipe, ByRef $hWritePipe [, $tSecurity = 0 [, $iSize = 0]] )

## Parameters

$hReadPipe | Variable that receives the read handle for the pipe
$hWritePipe | Variable that receives the write handle for the pipe
$tSecurity | [optional] $tagSECURITY_ATTRIBUTES structure that determines if the returned handle can be inherited by child processes. If 0, the handles cannot be inherited.
$iSize | [optional] The size of the buffer for the pipe, in bytes. If 0, the system uses the default buffer size.

## Return Value

Success: | True.
Failure: | False.

## Related

$tagSECURITY_ATTRIBUTES, _NamedPipes_CreateNamedPipe

## See Also

Search CreatePipe in MSDN Library.