2.3.4.1 GUID--RPC IDL representation

msdn link

The following structure is an IDL representation of GUID equivalent to and compatible with a DCE UUID ([C706] section A.1) according to the following mappings.

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

Data1: This member is generally treated as an opaque value. This member is equivalent to the time_low field of a DCE UUID ([C706] section A.1).

Data2: This member is generally treated as an opaque value. This member is equivalent to the time_mid field of a DCE UUID ([C706] section A.1).

Data3: This member is generally treated as an opaque value. This member is equivalent to the time_hi_and_version field of a DCE UUID ([C706] section A.1).

Data4: This array is generally treated as a sequence of opaque values. This member is equivalent to the following sequence of fields of a DCE UUID ([C706] section A.1) in this order: clock_seq_hi_and_reserved, clock_seq_low, and the sequence of bytes in the node field.