Creates a GUID, a unique 128-bit integer used for CLSIDs and interface identifiers
HRESULT CoCreateGuid(
__out GUID *pguid
);
pguid [out]: A pointer to the requested GUID.
Return code: S_OK The GUID was successfully created.
typedef struct _GUID {
DWORD Data1;
WORD Data2;
WORD Data3;
BYTE Data4[8];
} GUID;
复制代码