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

# PSetupEnumMonitor(3w)

## NAME

**PSetupEnumMonitor** (NTPRINT.@)

## SYNOPSIS

BOOL PSetupEnumMonitor\
  (\
   HANDLE  *monitorinfo*,\
   DWORD   *index*,\
   LPWSTR  *buffer*,\
   LPDWORD *psize*\
  )

## DESCRIPTION

Copy the selected Monitorname to a *buffer*.

## PARAMS

*monitorinfo* **\[In\]**  **HANDLE** from PSetupCreateMonitorInfo.

*index* **\[In\]**  Nr. of the Monitorname to copy.

*buffer* **\[In\]**  Target, that receive the Monitorname.

*psize* **\[IO\]**  **PTR** to a **DWORD** that hold the size of the *buffer* and receive the needed size, when the *buffer* is too small.

## RETURNS

**Success:** **TRUE**

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

## NOTES

size is in Bytes on w2k and **WCHAR** on **XP**

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/ntprint/ntprint.c"**.

Debug channel **"ntprint"**.
