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

# AddPortW(3w)

## NAME

**AddPortW** (WINSPOOL.@)

## SYNOPSIS

BOOL AddPortW\
  (\
   LPWSTR *pName*,\
   HWND   *hWnd*,\
   LPWSTR *pMonitorName*\
  )

## DESCRIPTION

Add a Port for a specific Monitor.

## PARAMS

*pName* **\[In\]**  Servername or **NULL** (local Computer).

*hWnd* **\[In\]**  Handle to parent Window for the Dialog-Box.

*pMonitorName* **\[In\]**  Name of the Monitor that manage the Port.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"winspool.h"**.

Implemented in **"dlls/winspool.drv/info.c"**.

Debug channel **"winspool"**.
