UUID

The UUID structure defines Universally Unique Identifiers (UUIDs). UUIDs provide unique designations of objects such as interfaces, manager entry-point vectors, and client objects.

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

Members

  • Data1
    Specifies the first 8 hexadecimal digits of the UUID.
  • Data2
    Specifies the first group of 4 hexadecimal digits of the UUID.
  • Data3
    Specifies the second group of 4 hexadecimal digits of the UUID.
  • Data4
    Array of eight elements. The first two elements contain the third group of 4 hexadecimal digits of the UUID. The remaining six elements contain the final 12 hexadecimal digits of the UUID.

Remarks

The RPC run-time libraries use UUIDs to check for compatibility between clients and servers and to select among multiple implementations of an interface.

Requirements

Client Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
Server Requires Windows Server "Longhorn", Windows Server 2003, Windows 2000 Server, or Windows NT Server.
Header

Declared in Rpcdce.h; include Rpc.h.

See Also

GUID
UUID_VECTOR