Go to the first, previous, next, last section, table of contents.
#include <dpmi.h> int __dpmi_get_page_attributes(__dpmi_meminfo *info, short *buffer);
Please refer to section DPMI Specification for details on DPMI function call operation. Also see section DPMI Overview for general information.
DPMI function AX = 0x0506 (DPMI 1.0 only). Supported by CWSDPMI, but not by Windows.
This function retrieves the attributes of a number of pages. Pass the
handle in info->handle
, offset of first page (relative to
start of block) in info->address
, and number of pages in
info->count
. The buffer buffer gets filled in with
the attributes. For each page, a 16-bit attribute word in buffer
defines the attributes of that page as follows:
000
001
010
-1 on error, else zero.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.