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

# ReAlloc(3w)

## NAME

**ReAlloc** (COMCTL32.72)

## SYNOPSIS

LPVOID ReAlloc\
  (\
   LPVOID *lpSrc*,\
   DWORD  *dwSize*\
  )

## DESCRIPTION

Changes the size of an allocated memory block or allocates a memory block using the dll's private heap.

## PARAMS

*lpSrc* **\[In\]**  pointer to memory block which will be resized.

*dwSize* **\[In\]**  new size of the memory block.

## RETURNS

**Success:** pointer to the resized memory block

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

## NOTES

If *lpSrc* is a NULL-pointer, then ReAlloc allocates a memory block like Alloc.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/comctl32/comctl32undoc.c"**.

Debug channel **"commctrl"**.
