Lines Matching full:guid
51 //Dummy representation of a GUID from create_id.
53 //Length of GUID representation from create_id, including NULL terminator.
57 Formats a GUID and places it into buffer.
63 static int format_guid(const GUID& guid,
70 guid.Data1,
72 guid.Data2,
74 guid.Data3,
76 guid.Data4[0],
77 guid.Data4[1],
79 guid.Data4[2],
80 guid.Data4[3],
81 guid.Data4[4],
82 guid.Data4[5],
83 guid.Data4[6],
84 guid.Data4[7]);
88 Creates a GUID based id and places it into buffer.
97 GUID guid = {};
98 HRM(CoCreateGuid(&guid), "Could not create GUID for id.");
100 if (format_guid(guid, buffer, bufferSize, sep) == -1) {
101 HRM(E_UNEXPECTED, "Could not format GUID into id.");