-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ported code from SetupApi to CfgMgr32 #362
Conversation
DJm00n
commented
Dec 23, 2021
•
edited
Loading
edited
- Ported code from SetupApi to CfgMgr32. See: https://docs.microsoft.com/windows-hardware/drivers/install/porting-from-setupapi-to-cfgmgr32
- Use Unicode Windows API internally where possible. Windows operates natively in UTF-16 (WCHAR) so do we too.
Windows operates natively in UTF-16 (WCHAR) so do we too.
7c95075
to
c6be873
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you've removed dependency on SetupAPI - we should remove link dependency on it too: from CMakeLists, autotools and vsproj files
This is nice refactoring, thanks. |
9b7a293
to
0eea360
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove all of the link dependencies on cfgmgr32
and hid
from all of build scripts.
0eea360
to
558d337
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
except for the potential leak - looks good
A little curious why porting SetupApi to CfgMgr32?
|