Hi All,
I am facing problem in GUID.
Whenever we generate GUID using GUID generator it gives in the format
// {771B99E6-4941-4ef1-B364-6B635B14813B}
DEFINE_GUID(GUID_WINUSB,
0x771b99e6, 0x4941, 0x4ef1, 0xb3, 0x64, 0x6b, 0x63, 0x5b, 0x14, 0x81, 0x3b);
{771B99E6-4941-4ef1-B364-6B635B14813B} will be used in INF for registering
the Device interface which windows applications will use later.
DEFINE_GUID(GUID_WINUSB,
0x771b99e6, 0x4941, 0x4ef1, 0xb3, 0x64, 0x6b, 0x63, 0x5b, 0x14, 0x81,
0x3b); will be used in application for opening handle to device in
application.
Whenever I am using any GUID Generated by GUID Generator application is
working fine.
But in case of Device interface is alread registered with GUID, Lets
say({A7F2BFD9-10E8-437C-B79E-37F63B42A8DA}), We don’t have corresponding
DEFINE_GUID, So I am manually generating DEFINE_GUID(GUID_WINUSB,
XXXXXXXX-XXXX).
Is it ok do?
I am facing problem when I am using manaully generated DEFINE_GUID.
Application is not able to detect the device.
Possibly, manual generation creating problem, I am not sure!!
Thanks and Regards
Sunil