MailGetSvcId
The MailGetSvcId function retrieves the object identifier of a mail entry from the message store based on the value of the service identifier.
Syntax
BOOL MailGetSvcId (HANDLE hMail, MailMsg* pmm);
At a Glance
Header file: |
Msgstore.h |
Platforms: |
H/PC |
Versions: |
1.0 and later |
Parameters
- hMail
- Handle to the mail context. This handle is created by the MailOpen function.
- pmm
- Pointer to the MailMsg structure containing the service name and identifier being passed in when calling MailGetSvcId. After calling MailGetSvcId, the object identifier (the oid member) and associated flags (the dwFlags member) are passed back in this structure when MailGetSvcId completes successfully.
Return Values
This function returns TRUE if successful; FALSE if it fails. To get extended error information, use MailError or MailErrorMsg.
Remarks
For more information, see Inbox.
See Also
MailMsg