Platform SDK: Exchange Server

GetGWSRowSet

The GetGWSRowSet function obtains a set of properties on the current object.

Quick Info

Header file: GWMAIN.H
Library: GWMAIN.LIB

LPSRowSet GetGWSRowSet(
  LPVOID lpParameter  
);
 

Parameters

lpParameter
Points to the thread handle from HrGWStartNewMailHandler.

Return Values

A pointer to a MAPI SRowSet structure containing a set of properties on the current object.

Remarks

The returned value is a pointer to a SRowSet structure, which is a table of properties for the current object. This structure contains an array of MAPI SRow structures, each of which is a row of the table of object properties.

Note  To release memory that you have allocated for a SRowSet structure, use the MAPI FreeProws function. If you use the MAPI MAPIFreeBuffer function, your application will leak memory.

For information on the FreeProws function, MAPIFreeBuffer function, SPropValue structure, SRow structure, and SRowSet structure, see the MAPI Programmer's Reference.

See Also

HrGWStartNewMailHandler