FreeProws

4/8/2010

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

Syntax

void FreeProws(
  LPSRowSet prows 
);

Parameters

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

Remarks

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.

Requirements

Header mapiutil.h
Library cemapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

MAPI Functions

Other Resources

Messaging