The HrMAPIGetFirstSRowSet function obtains the first MAPI SRowSet structure from an array of SRowSet structures.
Header file: | EDKMAPI.H |
Library: | EDKMAPI.LIB |
HRESULT HrMAPIGetFirstSRowSet(
LPMAPITABLE lpTable,
ULONG cRows,
LPSPropTagArray rgPropTags,
LPSRowSet FAR * lppRows
);
See Return Values.
For more information on this function, see the HrMAPIGetFirstSRowSet 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, IMAPITable interface, MAPIFreeBuffer function, and SRowSet structure, see the MAPI Programmer's Reference.
HrMAPIGetNextSRowSet, HrMAPIGotoFirstSRow