plLocateOffset

    The plLocateOffset locates from which section the selected Offset is.

plLocateOffset(
   DWORD plOffset,       // The Offset to be converted
);


Parameters

plOffset

   DWORD that contains the Offset.

Return Value

    If the function succeeds, the return value is the number of section, where the Offset is located.

Example

 
 
.data?
    strucSection PL_SECTION_INFO <>
 
.code
    invoke plLocateOffset, 00002000h
    invoke plGetSectionInfo, eax
 
 

See Also

plLocateMapOffset, plRVAToMapOffset, plRVAToOffset, plOffsetToRVA, plMapOffsetToRVA

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