
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>__dpmi_allocate_linear_memory</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
__dpmi_allocate_linear_memory
=============================
Syntax
------
#include <dpmi.h>
int __dpmi_allocate_linear_memory
Description
-----------
Please refer to DPMI Specification: for details on DPMI function
call operation. Also see DPMI Overview: for general information.
DPMI function AX = 0x0504 (DPMI 1.0 only)
This allocates a block of page-aligned linear address space. Pass a
desired address (or zero for any) and a size. _COMMIT is 1 for
committed pages, else they are uncommitted. It returns a handle and
the actual address.
Return Value
------------
-1 on error, else zero.
See Also: DPMI Specification DPMI Overview
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson