The HrMAPIFindMsgByProp function retrieves the entry identifier of a message through a property.
Header file: | EDKMAPI.H |
Library: | EDKMAPI.LIB |
HRESULT HrMAPIFindMsgByProp(
LPMAPIFOLDER lpFolder,
LPSPropValue lpSPropValue,
LPENTRYLIST * lppMsgList
);
See Return Values.
The HrMAPIFindMsgByProp function creates a list of messages in lppMsgList whose property, including value, match that specified by the property in lpSPropValue.
For more information on this function, see the HrMAPIFindMsgByProp function in IMESSAGE.C under the EDKMAPI code sample in the Code Samples folder.
For information on the IMAPIFolder interface and SPropValue structure, see the MAPI Programmer's Reference.