AddPortExW(3w)

AddPortExW3w

Usage

BOOL AddPortExW
(
LPWSTR pName,
DWORD level,
LPBYTE pBuffer,
LPWSTR pMonitorName
)

Overview

Add a Port for a specific Monitor, without presenting a user interface.

Params

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

level [In] Structure-Level (1 or 2) for pBuffer.

pBuffer [In] PTR to: PORT_INFO_1 or PORT_INFO_2.

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

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