Int 67H [EMS 4.0] Function 54H (84) Subfunction 02H Get total handles

Returns the total number of handles that are supported by the Expanded Memory Manager, including the operating-system handle (0).

Call with:

AH = 54H

AL = 02H

Returns:

If function successful

AH = 00H

BX = number of handles

If function unsuccessful

AH = error code