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

# DllAllocSplMem(3w)

## NAME

**DllAllocSplMem** (SPOOLSS.@)

## SYNOPSIS

LPVOID DllAllocSplMem\
  (\
   DWORD *size*\
  )

## DESCRIPTION

Allocate cleared memory from the spooler heap.

## PARAMS

*size* **\[In\]**  Number of bytes to allocate.

## RETURNS

**Failure:** **NULL**

**Success:** **PTR** to the allocated memory.

## NOTES

We use the process heap (Windows use a separate spooler heap)

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/spoolss/spoolss\_main.c"**.

Debug channel **"spoolss"**.
