UUID structure

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

Syntax


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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

See also

GUID
UUID_VECTOR

 

 

Community Additions

ADD
Show:
© 2014 Microsoft