Modifies the attributes of a heap.
| Item | Description | 
|---|---|
| heap | The heap handle returned from the heap_create kernel service. | 
| command |  Specifies the operation to perform. The following values are
supported: 
  | 
| argument | Command specific data (new limit or debug level). | 
The heap_modify kernel service is used to alter the heap characteristics at run time.
The heap_modify kernel service can be called from the process environment only with interrupts enabled.
| Item | Description | 
|---|---|
| 0 | Success. | 
| EINVAL_HEAP_MODIFY | The command or the execution environment is not valid. | 
| ERANGE_HEAP_MODIFY | Heap property is outside the supported range. |