Article ID: 159287
Article Last Modified on 10/28/2006
MAPI_E_NO_MESSAGES
S E R V P A C K
When the lpszSeedMessageID parameter is NULL or points to an empty
string, MAPIFindNext returns the message identifier for the first
message of the type specified by the lpszMessageType parameter. When
lpszSeedMessageID contains a valid identifier, the function returns the
next matching message of the type specified by lpszMessageType. Repeated
calls to MAPIFindNext ultimately result in a return of the
MAPI_E_NO_MESSAGES value, which means the enumeration is complete.
Message type matching is done against message class strings. All message
types whose names match (up to the length specified in lpszMessageType)
are returned.
ulResult = (*lpfnMAPIFindNext)(hMAPISession, hWnd, "IPM.", lpszSeedMessageID, flFlag, 0L, lpszMessageID);
ulResult = (*lpfnMAPIFindNext)(hMAPISession, hWnd, NULL, lpszSeedMessageID, flFlag, 0L, lpszMessageID);
Additional query words: WIN32 SDK Simple Messaging 5.00
Keywords: kbbug kbfix kbusage KB159287