Reference

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

History