RtlValidateHeap(3w)

RtlValidateHeap3w

Usage

BOOLEAN RtlValidateHeap
(
HANDLE heap,
ULONG flags,
LPCVOID ptr
)

Overview

Determine if a block is a valid allocation from a heap.

Params

heap [In] Heap that block was allocated from.

flags [In] HEAP_ flags from "winnt.h".

ptr [In] Block to check.

Returns

Success: TRUE. The block was allocated from heap.

Failure: FALSE, if heap is invalid or pointer was not allocated from it.

Implementation

Declared in "winternl.h".

Implemented in "dlls/ntdll/heap.c".

Debug channel "heap".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.