The FreePadrlist function destroys an ADRLIST structure and frees associated memory, including memory allocated for all member arrays and structures.
Header file: | MAPIUTIL.H |
Implemented by: | MAPI |
Called by: | Client applications and service providers |
void FreePadrlist(
LPADRLIST padrlist
);
As part of its implementation of FreePadrlist, MAPI calls the MAPIFreeBuffer function to free every entry in the ADRLIST structure before freeing the complete structure. Therefore all such entries must have followed the allocation rules for the ADRLIST structure, using an individual MAPIAllocateBuffer call for each member array and structure.
For more information on allocating memory for ADRLIST and SRowSet structures, see Managing Memory for ADRLIST and SRowSet Structures.