mapi_set_property_sz_ex

MS Exchange Server Functions (mapi)

Obtains a MAPI property for a specific session.

void mapi_set_property_sz_ex( MAPI *ppmapi, char *property, char *value );
ppmapiA session identifier.
propertyOne of the supported MAPI Properties.
valueThe property value.

The mapi_set_property_sz_ex function sets a MAPI session property value for a specific session.

This function is for use with multiple sessions. For global sessions, use the mapi_set_property_sz function, which leaves out the session identifier.

Return Values

This function has no return value.

Parameterization

All arguments of this function of the type char, can be parameterized with standard parameterization.

Example

In the following example, the mapi_set_property_sz_ex function sets the current message to the beginning of the mail box.

// Reset current message to beginning of mail box.
    mapi_set_property_sz_ex(&mapi,"Message ID", "");