delorie.com/djgpp/doc/libc/libc_231.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dpmi.h> int __dpmi_get_page_attributes(__dpmi_meminfo *info, short *buffer); |
Please refer to the DPMI Specification (see section DPMI Specification) for details on DPMI function call operation. Also see the DPMI Overview (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.
ANSI/ISO C | No |
POSIX | No |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |