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

# AddMonitorW(3w)

## NAME

**AddMonitorW** (WINSPOOL.@)

## SYNOPSIS

BOOL AddMonitorW\
  (\
   LPWSTR *pName*,\
   DWORD  *Level*,\
   LPBYTE *pMonitors*\
  )

## DESCRIPTION

Install a Printmonitor.

## PARAMS

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

*Level* **\[In\]**  Structure-*Level* (Must be **2**).

*pMonitors* **\[In\]**  **PTR** to **MONITOR\_INFO\_2**.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**.

## NOTES

All Files for the Monitor must already be copied to %winsysdir% (**"%SystemRoot%ystem32"**)

## IMPLEMENTATION

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

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

Debug channel **"winspool"**.
