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

# IsBadReadPtr(3w)

## NAME

**IsBadReadPtr** (KERNEL32.@)

## SYNOPSIS

BOOL IsBadReadPtr\
  (\
   LPCVOID *ptr*,\
   UINT    *size*\
  )

## DESCRIPTION

Check for read access on a memory block.

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

## RETURNS

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

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

## IMPLEMENTATION

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

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