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

# IsBadCodePtr(3w)

## NAME

**IsBadCodePtr** (KERNEL32.@)

## SYNOPSIS

BOOL IsBadCodePtr\
  (\
   FARPROC *ptr*\
  )

## DESCRIPTION

Check for read access on a memory address.

## PARAMS

*ptr* **\[In\]**  Address of function.

## RETURNS

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

**Failure:** **FALSE**. Process has read access to specified memory.

## IMPLEMENTATION

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

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