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

# InitializePrintMonitor(3w)

## NAME

**InitializePrintMonitor** (LOCALSPL.@)

## SYNOPSIS

LPMONITOREX InitializePrintMonitor\
  (\
   LPWSTR *regroot*\
  )

## DESCRIPTION

Initialize the Monitor for the Local Ports.

## PARAMS

*regroot* **\[In\]**  Registry-Path, where the settings are stored.

## RETURNS

**Success:** Pointer to a **MONITOREX** Structure

**Failure:** **NULL**.

## NOTES

The fixed location **"HKLMsoftWindows NTsed to store the Ports (IniFileMapping from "win.ini"**, Section **"Ports"**). Native localspl.dll fails, when no valid Port-Entry is present.

## IMPLEMENTATION

Declared in **"ddk/winsplp.h"**.

Implemented in **"dlls/localspl/localmon.c"**.

Debug channel **"localspl"**.
