plGetSectionInfo

The plGetSectionInfo function retrieves information from the selected section and fills the PL_SECTION_INFO structure.
plGetSectionInfo( DWORD plPL_SECTION_INFO, // Pointer to the PL_SECTION_INFO
DWORD plSectionNumber // Number of section );
Parameters
plPL_SECTION_INFO
Contains a pointer to a PL_SECTION_INFO, which will be filled after the execution of this function.
plSectionNumber
Containts the number of the section, from which the information will be taken.You can obtain the number using the plFindSection.
Return Value
If the function succeeds, the return value is TRUE.
Example
.data? strucSection PL_SECTION_INFO <> .code invoke plGetSectionInfo, addr strucSection, 00000002h |
See Also
plFindSection, plUpdateSectionInfo, PL_SECTION_INFO

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