Skip to content

AddresseeDetails - cMapiHandler

Displays a dialog box containing the details of a selected address list entry

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
sEntryId String A variable that holds a pointer to an internal pointer for the address list entry. A sample can be found in readmail.dg where you can get the detail information for a recipient belonging to a particular message. Right-click on a message recipient and select details
iLength Integer The length of the sEntryId variable. The value should come from stored information returned by the ResolveName function.

Syntax

Function AddresseeDetails String sEntryId Integer iLength Returns Integer

Call Example

Get AddresseeDetails sEntryId iLength to IntegerVariable

Description

The AddresseeDetails function displays a dialog box containing the details of a selected address list entry.

This function returns one of the following error codes if not successful:

Error code Explanation
1 The user canceled either the logon dialog box or the details dialog box.
2 One or more unspecified errors occurred. No dialog box was displayed.
3 There was no default logon, and the user failed to log on successfully when the logon dialog box was displayed. No dialog box was displayed.
5 There was insufficient memory to proceed. No dialog box was displayed.
21 The dialog box could not be displayed because the ulEIDSize member of the structure pointed to by the lpRecips parameter was zero.
25 The recipient specified in the lpRecip parameter was unknown or the recipient had an invalid ulEIDSize value. No dialog box was displayed.
26 The operation was not supported by the underlying messaging system.

Example

Get AddresseeDetails Of oMapiSession sEntryId iLength To iRetval

Return Value

Returns zero if successful, otherwise returns a non-zero error code.