The HrGetRecipientList function obtains the selected columns from a MAPI recipient table.
Header file: | MSGEMIT.H |
Library: | MSGEMIT.LIB |
HRESULT HrGetRecipientList(
LPMESSAGE lpMessage,
LPSPropTagArray lpPropTags,
LPSRowSet * lppRows
);
See Return Values.
To release memory that you have allocated for a MAPI SRowSet structure, use the MAPI FreeProws function. If you use the MAPIFreeBuffer function, your application will leak memory.
For information on the FreeProws function, MAPIFreeBuffer function, and IMessage interface, see the MAPI Programmer's Reference.