Reputation:
I've tried this method,But I got problem in types conversion.
unsigned char uuid[] = "00001101-0000-1000-8000-00805F9B34FB";
UUID uid;
UuidFromString(uuid, &uid);
My question is : How can i use this function??Or is there any other way to get UUID from string?
Upvotes: 1
Views: 5287
Reputation: 8131
This will work:
unsigned char uuid[] = "00001101-0000-1000-8000-00805F9B34FB";
UUID uid;
UuidFromStringA(uuid, &uid);
`
Upvotes: 2