D3
D3: Word;
Example
procedure ReadD3(G: TGUID; var Value: Word);
begin
Value := G.D3;
end;
Usage
D3 holds the unsigned 16-bit third TGUID field, including the version bits in standards-conforming UUID layouts.
Additional Technical Info
D3 is the third TGUID field: an unsigned 16-bit Word. In {00112233-4455-6677-8899-AABBCCDDEEFF}, it is numeric value $6677 and supplies the third textual group.
For a UUID conforming to RFC 9562, the high four bits of this field encode the UUID version. TGUID itself does not validate or enforce that structure; an arbitrary D3 assignment can produce a nonconforming identifier.
Raw Windows memory stores the 16-bit numeric field little-endian, unlike the human-readable group order. Use GUID/UUID conversion helpers rather than raw record bytes.
TGUID is a copied value record and carries no object lifetime. The example is source-reviewed only.
External references
- Embarcadero TGUID - native field layout.
- RFC 9562 version field - UUID version/variant layout.