I have a GUID variable and I want to write inside a text file its value. GUID definition is:
typedef struct _GUID { // size is 16 DWORD Data1;
Use UuidToString function to convert GUID to string. The function accepts UUID type which is typedef of GUID.