Platform SDK: MAPI |
Some clients use multiple client interfaces to take advantage of what more than one client API has to offer. Typically, these clients use MAPI for some tasks and a simpler API such as the Collaboration Data Objects (CDO) Library for other tasks. If you take advantage of both the MAPI and the CDO Library client interfaces, you will need to convert between the two types of identifiers that are used for opening objects. Whereas MAPI objects are accessed with binary entry identifiers, CDO Library objects are accessed with hexadecimal message identifiers.
To convert a MAPI entry identifier to a CDO Library message identifier
To reverse the process — converting a CDO Library message identifier to a MAPI entry identifier — call FBinFromHex. FBinFromHex converts a hexadecimal string to binary data.