Supported Browsers Home   
PM_getOSType Previous   
PM_getPhysicalAddrRange Next   
External Functions Up   

PM_getPhysicalAddr

Find the physical address of a linear memory address for the current process.

Declaration

ulong PMAPI PM_getPhysicalAddr(
    void *p)

Prototype In

pmapi.h

Parameters

p

Linear address to convert

 

Return Value

Physical memory address, or PM_BAD_PHYS_ADDRESS on error.

Description

This function is used to convert a linear address pointer to a physical memory address. If this fails, or is not supported for some reason, this function will return a value of PM_BAD_PHYS_ADDRESS.

See Also

PM_mapPhysicalAddr, PM_getPhysicalAddrRange

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