www.delorie.com/djgpp/doc/dpmi/api/310506.html   search  
Int 31H Function 0506H

Get Page Attributes [1.0]

Returns the attributes of one or more pages within a linear memory block previously allocated with Int 31H Function 0504H.

Call With

AX = 0506H
ESI = memory block handle
EBX = base offset in memory block of page (or of first page, if requesting attributes for multiple pages)
ECX = number of pages
ES:EDX = selector:offset of a buffer to receive page attributes, 1 word (16-bits) per page (see Note)

Returns

if function successful
Carry flag = clear
and buffer at ES:EDX filled in with page attributes (see Note)

if function unsuccessful
Carry flag = set
AX = error code
8001Hunsupported function (16-bit host)
8023Hinvalid handle (in ESI)
8025Hinvalid linear address (Specified range is not within specified block)

Notes


  prev   next     webmaster   donations   bookstore     delorie software   privacy  
  Copyright 1996   by DJ Delorie     Updated Apr 1996