---
name: "WaitNamedPipeW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/WaitNamedPipeW"
---

# WaitNamedPipeW(3w)

## NAME

**WaitNamedPipeW** (KERNEL32.@)

## SYNOPSIS

BOOL WaitNamedPipeW\
  (\
   LPCWSTR *name*,\
   DWORD   *nTimeOut*\
  )

## DESCRIPTION

Waits for a named pipe instance to become available.

## PARAMS

*name* **\[In\]**  Pointer to a named pipe *name* to wait for.

*nTimeOut* **\[In\]**  How long to wait in ms.

## RETURNS

**TRUE:** Success, named pipe can be opened with CreateFile

**FALSE:** Failure, GetLastError can be called for further details

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/sync.c"**.

Debug channel **"sync"**.
