Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

AH=01H

Version

2 and higher

Brief

Request High Memory Area

Family API

none

Input

AH = 01h
DX = Space needed in the HMA by the caller in bytes (if the caller is a TSR or device driver), DX = FFFFh (if the caller is an application program)

Return

AX = 0001h if the HMA is assigned to the caller, 0000h otherwise
BL = Error code

Notes

See also