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

# IsBadWritePtr(3w)

## NAME

**IsBadWritePtr** (KERNEL32.@)

## SYNOPSIS

BOOL IsBadWritePtr\
  (\
   LPVOID *ptr*,\
   UINT   *size*\
  )

## DESCRIPTION

Check for write access on a memory block.

## PARAMS

*ptr* **\[In\]**  Address of memory block.

*size* **\[In\]**  Size of block in bytes.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**. Process has write access to entire block.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/virtual.c"**.
