I'm working with code where a GUID is defined like this:
DEFINE_GUID( GUID_DEVINTERFACE_USB_DISK,
0x53f56307L, 0xb6bf, 0x11d0, 0x94, 0xf2,
0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b );
I want to change the value and use a different class GUID from here where it is is defined as {A5DCBF10-6530-11D2-901F-00C04FB951ED}
How to I set to this value or create a new GUID variable which is set to this value?
Based on another answer here I tried but that doesn't work
GUID USB_GUID = GUID {"{A5DCBF10-6530-11D2-901F-00C04FB951ED}"}
Note, this GUID is used by a windows API later in my code:
if ( ! SetupDiEnumDeviceInterfaces( hDevInfo,
NULL,
&GUID_DEVINTERFACE_USB_DISK,
dwIndex, &spdid ))
break;