plGetSectionInfo

The plGetSectionInfo function updates the section's information in the file using a filled 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 pointer to a PL_SECTION_INFO, which will be used to update the section.
plSectionNumber
Containts the number of the section, which will be updated.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 plUpdateSectionInfo, addr strucSection, 00000002h |
See Also
plFindSection, plGetSectionInfo, PL_SECTION_INFO, plEnumSections

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