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

# EnumPrintProcessorsW(3w)

## NAME

**EnumPrintProcessorsW** (WINSPOOL.@)

## SYNOPSIS

BOOL EnumPrintProcessorsW\
  (\
   LPWSTR  *pName*,\
   LPWSTR  *pEnvironment*,\
   DWORD   *Level*,\
   LPBYTE  *pPPInfo*,\
   DWORD   *cbBuf*,\
   LPDWORD *pcbNeeded*,\
   LPDWORD *pcReturned*\
  )

## DESCRIPTION

Enumerate available Print Processors.

## PARAMS

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

*pEnvironment* **\[In\]**  Printing-Environment or **NULL** (Default).

*Level* **\[In\]**  Structure-*Level* (Only **1** is allowed).

*pPPInfo* **\[Out\]**  **PTR** to Buffer that receives the Result.

*cbBuf* **\[In\]**  Size of Buffer at *pPPInfo*.

*pcbNeeded* **\[Out\]**  **PTR** to **DWORD** that receives the size in Bytes used / required for *pPPInfo*.

*pcReturned* **\[Out\]**  **PTR** to **DWORD** that receives the number of Print Processors in *pPPInfo*.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE** and in *pcbNeeded* the Bytes required for *pPPInfo*, if *cbBuf* is too small

## IMPLEMENTATION

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

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

Debug channel **"winspool"**.
