Windows: Break dependency on OLE32
authorChris Dickens <christopher.a.dickens@gmail.com>
Sat, 19 Dec 2020 23:33:56 +0000 (15:33 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sat, 19 Dec 2020 23:33:56 +0000 (15:33 -0800)
commit073f229fd11f0d3e3098af44e59b5607aae113e2
treeed45443b8cf852d0952566b026bbbd33bbee1b17
parent9cb2e5c111a7fc1eec13dcf73667187b06f68628
Windows: Break dependency on OLE32

The OLE32 library provides the IIDFromString() function to parse a
string to a GUID, but we can implement a simple GUID parsing function
and remove this dependence. Doing so also avoids fetching the Unicode
form of the "DeviceInterfaceGUIDs" property.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/windows_winusb.c
libusb/os/windows_winusb.h
libusb/version_nano.h