PM_mapRealPointer

Map a real mode pointer to a protected mode pointer.

Declaration

void * PMAPI PM_mapRealPointer(
    uint r_seg,
    uint r_off)

Prototype In

pmapi.h

Parameters

r_seg

Real mode segment address to map

r_off

Real mode segment offset to map

 

Description

This function is used to map a real mode pointer in segment:offset format into a protected mode linear address. This is only supported for operating systems that support BIOS access (ie: the PM_haveBIOSAccess function returns true).

See Also

PM_allocRealSeg

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com