HrMAPIGotoNextSRow

The HrMAPIGotoNextSRow function retrieves a pointer to the next MAPI SRow structure in a MAPI SRowSet structure.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrMAPIGotoNextSRow(
  LPSRowSet FAR lpRows,  
  ULONG * lpulRow,       
  LPSRow * lppRow        
);
 

Parameters

lpRows
Input parameter. Points to the SRowSet structure.
lpulRow
Input/output parameter. Index of the SRow structure in the SRowSet structure.
lppRow
Output parameter. Points to the SRow structure.

Return Values

See Return Values.

Remarks

For more information on this function, see the HrMAPIGotoNextSRow function in EDKMAPI.C under the EDKMAPI code sample in the Code Samples folder.

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, SRow structure, and SRowSet structure, see the MAPI Programmer's Reference.

See Also

HrMAPIGetNextSRowSet, HrMAPIGotoFirstSRow, HrMAPIGotoSRow