2.5.11.2 GUID


Name

GUID

Description

Declaration

typedef struct _GUID {
    DWORD Data1;
    WORD   Data2;
    WORD   Data3;
    BYTE  Data4[8];
} GUID;

Members

Data1
Specifies the first 8 hexadecimal digits of the GUID.
Data2
Specifies the first group of 4 hexadecimal digits.
Data3
Specifies the second group of 4 hexadecimal digits.
Data4
Specifies an array of 8 bytes. The first 2 bytes contain the third group of 4 hexadecimal digits.
The remaining 6 bytes contain the final 12 hexadecimal digits.

Remark

GUIDs identify objects such as interfaces, manager entry-point vectors (EPVs), and class objects.

A GUID is a 128-bit value consisting of one group of 8 hexadecimal digits, followed by three groups

of 4 hexadecimal digits each, followed by one group of 12 hexadecimal digits.

The following example shows the groupings of hexadecimal digits in a GUID.

Examples

Header to Include

origin.h

See Also

Reference