/* This generates a UUID that is compliant with the MS GUIDs used in the VHDX spec (and elsewhere).  */
void vhdx_guid_generate(MSGUID *guid)
/* This generates a UUID that is compliant with the MS GUIDs used in the VHDX spec (and elsewhere).  */
void vhdx_guid_generate(MSGUID *guid)
{
    uuid_t uuid;
    assert(guid != NULL);
    uuid_generate(uuid);
    memcpy(guid, uuid, sizeof(MSGUID));
}