Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>emm_allocpages</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
emm_allocpages
   Note-This function is not available under OS/2 or the ZPM or DOSX
   extenders.

Usage

   #include <emm.h>
   int emm_allocpages(unsigned no_pages);

Description


   This routine requests the expanded memory manager to allocate the
   required number of expanded memory (logical) 16Kb pages. The number of
   pages to be allocated should not exceed the number of free pages
   remaining, otherwise an error will occur. Use emm_getunalloc to check the
   number of free pages available.

Return Value

   emm_allocpages returns a unique handle allocated by the Expanded Memory
   Manager. If there are no handles available, a fatal error will occur.

See Also

   emm_getunalloc, emm_deallocpages



See Also: emm_getunalloc emm_deallocpages

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson