EnumPrintProcessorsW(3w)

EnumPrintProcessorsW3w

Usage

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

Overview

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".

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.