outlook express地址本里各个项目对应的键值!!!
50分送上 
如下:
PR_DISPLAY_NAME         用户 ‘名’
PR_EMAIL_ADDRESS        电子邮件
PR_PERSONAL_HOME_PAGE   个人主页不要让我查MAPI的帮助啊~~ :(

解决方案 »

  1.   

    [New - Windows 95]The MAPIAddress function enables users to create or modify a set of recipients. MAPIAddress generates an address-book dialog box that shows the contents of the recipient set and allows the user to select new entries or change existing entries. SyntaxMAPIAddress(
    Session as Long, 
    UIParam as Long, 
    Caption as String, 
    EditFields as Long, 
    Label as String, 
    RecipCount as Long, 
    Recipients() as MapiRecip, 
    Flags as Long, 
    Reserved as Long) as LongParametersSessionInput parameter specifying either a session handle that represents a Simple MAPI session or zero. If the Session parameter is zero, MAPI logs on the user and creates a session that exists only for the duration of the call. The temporary session may be an existing shared session or a new one. If necessary, a logon dialog box is displayed. UIParamInput parameter specifying either a parent window handle or zero, indicating that if a dialog is displayed, it is application modal. If no dialog box is displayed during the call, the UIParam parameter is ignored.CaptionInput parameter specifying the caption of the address-list dialog box. If this parameter is an empty string, the default value "Address Book" is used.EditFieldsInput parameter specifying the number of edit controls that should be present in the address list. The values 0 to 4are valid. If nEditFields is 4, each recipient class supported by the underlying messaging system has an edit control.If the nEditFields parameter is set to zero, only address list browsing is allowed. Values of 1, 2, or 3 control the number of edit controls present. If nEditFields is 4, each recipient class supported by the underlying messaging system has an edit control.However, if the number of recipient classes in the lpRecips array is greater than the value of nEditFields, the number of classes in lpRecips is used to indicate the number of edit controls instead of the value of nEditFields. If the nEditFields parameter is set to 1 and more than one kind of entry exists in lpRecips, then lpszLabels is ignored.
    Entries selected for the different controls are differentiated by the ulRecipClass field in the returned recipient structure. LabelInput parameter specifying an edit control label in the address-list dialog box. This argument is ignored and should be an empty string except when the EditFields parameter is 1. If you want a default control label "To:", the Label parameter should be an empty string. RecipCountInput parameter specifying the number of entries in the Recipients parameter. If the RecipCount parameter is zero, the Recipients parameter is ignored.RecipientsInput parameter specifying the initial array of recipient entries to be used to populate edit controls in the address-list dialog box. Recipient entries need not be grouped by recipient class. If the value of the greatest recipient class present is greater than the EditFields parameter, the EditFields and Label parameters are ignored. This array is redimensioned as necessary to accommodate the entries made by the user in the address-list dialog box.FlagsInput parameter specifying a bitmask of flags. The following flags can be set:MAPI_LOGON_UIIndicates that a dialog box should be displayed to prompt for logon if required. When the MAPI_LOGON_UI flag is not set, the application does not display a logon dialog box and returns an error if the user is not logged on. MAPI_NEW_SESSIONIndicates an attempt should be made to create a new session rather than acquire the environment's shared session.  If the MAPI_NEW_SESSION flag is not set, the function uses an existing shared session.ReservedReserved for future use;must be zero.Return ValuesThe possible return values for the MAPIAddress function and their meanings are as follows:MAPI_E_FAILUREOne or more unspecified errors occurred while building recipient lists or browsing the address book. No list of recipients was returned.MAPI_E_INSUFFICIENT_MEMORYThere was insufficient memory to proceed. No list of recipients was returned.MAPI_E_INVALID_EDITFIELDSThe value of the nEditFields parameterwas outside the range of 0 through 4. No list of recipients was returned.MAPI_E_INVALID_RECIPIENTSOne or more of the recipients in the address list was not valid or the Recipients parameter was not a valid array. No list of recipients was returned.MAPI_E_INVALID_SESSIONAn invalid session handle was used for the lhSession parameter. No list of recipients was returned.MAPI_E_LOGIN_FAILUREThere was no default logon, and the user failed to log on successfully when the logon dialog box was displayed. No list of recipients was returned.MAPI_E_NOT_SUPPORTEDThe operation was not supported by the underlying messaging system. A list of recipients may have been returned.MAPI_E_USER_ABORTThe user canceled one of the dialog boxes. No list of recipients was returned.SUCCESS_SUCCESSMAPIAddress successfully returned a list of address entries.CommentsWith the MAPIAddress function, users can create or modify a set of address-list entries using a standard address-list dialog box. The dialog box cannot be suppressed, but function parameters allow the caller to set characteristics of the dialog box.
    The call is made with an initial, and possibly empty, set of recipients. The address-list dialog box shows the contents of the recipient set; users can choose new entries to add to the set. The final set of recipients is returned to the caller in the RecipCount and Recipients parameters, destroying their initial values.