Partager via


GUID

4/8/2010

The GUID structure describes a globally unique identifier.

Syntax

struct { 
  unsigned long Data1; 
  unsigned short Data2; 
  unsigned short Data3; 
  unsigned char Data4[8]; 
} GUID; 

Members

  • Data1
    An unsigned long integer data value.
  • Data2
    An unsigned short integer data value.
  • Data3
    An unsigned short integer data value.
  • Data4
    An array of unsigned characters.

Remarks

GUID structures are used in MAPI as follows:

  • In the MAPIUID structures that uniquely identify service providers.
  • For interface identifiers.
  • In the property set names of named properties.

Message store and address book providers call the Microsoft utility UUIDGEN.EXE to generate a GUID structure to use in their MAPIUID structure.

Requirements

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

See Also

Reference

MAPI Structures
MAPIUID

Other Resources

Messaging