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

# GetSize(3w)

## NAME

**GetSize** (COMCTL32.74)

## SYNOPSIS

DWORD GetSize\
  (\
   LPVOID *lpMem*\
  )

## DESCRIPTION

Retrieves the size of the specified memory block from the dll's private heap.

## PARAMS

*lpMem* **\[In\]**  pointer to an allocated memory block.

## RETURNS

**Success:** size of the specified memory block

**Failure:** **0**

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