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

# IsBadStringPtrA(3w)

## NAME

**IsBadStringPtrA** (KERNEL32.@)

## SYNOPSIS

BOOL IsBadStringPtrA\
  (\
   LPCSTR *str*,\
   UINT   *max*\
  )

## DESCRIPTION

Check for read access on a range of memory pointed to by a string pointer.

## PARAMS

*str* **\[In\]**  Address of string.

*max* **\[In\]**  Maximum size of string.

## RETURNS

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

**Failure:** **FALSE**. Read access to all bytes in string.

## IMPLEMENTATION

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

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