Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The MAPIUIDstructure is a byte-order independent version of a GUIDstructure and is used to uniquely identify a service provider.

Syntax

struct {
  BYTE 
ab[16];
} MAPIUID, FAR *LPMAPIUID;

Members

ab

An array containing a 16-byte identifier.

Remarks

A MAPIUIDstructure MAPI unique identifier is a GUIDstructure put into Intel processor byte order. That is, MAPIUIDand GUIDstructures have the same byte order when used on an Intel-processor computer. However, on a computer that uses a different byte order for example, a Motorola-processor computer the MAPIUIDhas the same byte order as on the Intel machine and the GUIDuses the byte order specific to the Motorola-processor computer.

MAPI creates MAPIUIDstructures in a way that makes it extremely rare for two different items to have the same identifier. MAPIUIDstructures can be stored as binary properties or as files, without regard to the byte ordering of the computer storing or accessing the information.

To generate a MAPIUIDidentifier for a profile section or an entry identifier, service providers call the Microsoft utility UUIDGEN.EXE.

When a client transmits a message across a network, it should use a protocol or transmission format that does not change the byte order of MAPIUIDdata.

Requirements

Header mapidefs.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

GUID
IsEqualMAPIUID
MAPI Structures

Other Resources

Messaging