FreeProws

The FreeProws function destroys an SRowSet structure and frees associated memory, including memory allocated for all member arrays and structures.

Quick Info

Header file: MAPIUTIL.H
Implemented by: MAPI
Called by: Client applications and service providers

void FreeProws(
  LPSRowSet prows  
);
 

Parameter

prows
[in] Pointer to the SRowSet structure to be destroyed.

Notes to Callers

As part of its implementation of FreeProws, MAPI calls the MAPIFreeBuffer function to free every entry in the SRowSet structure before freeing the complete structure. Therefore all such entries must have followed the allocation rules for the SRowSet 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.

See Also

Table Functions