HeapDestroy PROC   (MS-Windows)

   Destroys the specified heap object, de-commits and releases all the pages of a private heap object, and it invalidates the handle to the heap.
   A processes can call HeapDestroy without first calling the HeapFree function.
   If the function succeeds, the return value is nonzero.
   If the function fails, the return value is zero.


HeapDestroy PROTO,
    hHeap:DWORD     ; pointer to the heap

Returns: (BOOL) EAX = TRUE (non-zero) if successful,
                      FALSE (zero) if fails.

Argument Win Type MASM Type Description
hHeap DWORD DWORD  Specifies the heap to destroy.

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)