HrDecomposeMsgID 

The HrDecomposeMsgID function takes apart the compound entry-identifier string of an object, usually a message in a message store, into the entry identifier of that object within the store and that store s entry identifier.

 

Note  This function may not be supported in future versions of MAPI.

 

Quick Info

Header file:

MAPIUTIL.H

Implemented by:

MAPI

Called by:

Client applications

 

HrDecomposeMsgID(

    LPMAPISESSION psession,

 

    LPTSTR szMsgID,

 

    ULONG FAR * pcbStoreEID,

 

    LPENTRYID FAR * ppStoreEID ,

 

    ULONG FAR * pcbMsgEID,

 

    LPENTRYID FAR * ppMsgEID

 

   );

 

 

Parameters

psession

[in] Pointer to the session in use by the client application.

szMsgID

[in] The entry identifier string of the object.

pcbStoreEID

[out] Pointer to the returned size, in bytes, of the entry identifier string of the message store containing the object. If the szMsgID parameter points to a noncompound entry-identifier string, then the pcbStoreEID parameter points to zero.

ppStoreEID

[out] Pointer to the returned entry identifier of the message store containing the object. If the szMsgID parameter points to a noncompound entry identifier, NULL is returned in the ppStoreEID parameter.

pcbMsgEID

[out] Pointer to the returned size, in bytes, of the entry identifier string of the object (within its store). If the szMsgID parameter contains a noncompound entry-identifier string, then the pcbMsgEID parameter is equal to the value of the cbEID parameter.

ppMsgEID

[out] Pointer to the returned entry identifier string of the object (within its store).

 

Remarks

Noncompound entry-identifier strings are accepted. The compound identifier string taken apart is usually one created by the HrComposeMsgID1ZS.OZ6 function.

See Also

HrDecomposeEID.U9DH0