plLocateMapOffset

The plLocateMapOffset locates from which section the selected Map Offset is.A Map Offset is a pointer from the opened file (which is mapped during the openning process).
plLocateMapOffset( DWORD plMapOffset, // The Offset to be converted );
Parameters
plMapOffset
DWORD that contains the Map Offset to locate
Return Value
If the function succeeds, the return value is the number of section, where the Map Offset is located.
Example
.data? strucSection PL_SECTION_INFO <> .code invoke plLocateMapOffset, ebx invoke plGetSectionInfo, eax |
See Also
plLocateOffset, plRVAToMapOffset, plRVAToOffset, plOffsetToRVA, plMapOffsetToRVA

Pumqara <programs@mail.bg> 2004. All rights reserved.