LimitEmsPages

Syntax

void LimitEmsPages (dwKbytes)

This function limits the amount of expanded memory that Windows will assign to an application. It does not limit the amount of expanded memory that the application can get by directly calling INT 67H.

Parameter Type/Description  

dwKbytes DWORD Specifies the number of kilobytes of expanded memory to which the application is to have access.  

Return value

None.

Comments

LimitEmsPages has an effect only if expanded memory is installed and being used by Windows. If Windows is not using expanded memory, then the function has no effect.