Go to the first, previous, next, last section, table of contents.


__dpmi_get_page_attributes

Syntax

#include <dpmi.h>

int __dpmi_get_page_attributes(__dpmi_meminfo *_info, short *_buffer);

Description

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)

Pass the handle, offset of first page (relative to start of block) in .address, and number of pages in .count. Buffer gets filled in with the attributes (see spec).

Return Value

-1 on error, else zero.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.