Windows C++ :Enumeration USB child device

Introduction: This blog is related to listing USB child device for particular parent (USB HUB). I had some requirement in one of my project for this. So i thought of writing this. I’m using  SetupDixxxx APIs to implement this in C++. Under USB HUB there could be list of device available. After getting device id of […]

Unicode and ANSI string operation

In windows Unicode concept used a lot in application. Unicode is worldwide character-encoding standard.Used for string and character manipulation. Difference between different types is given in below link: Unicode, UTF, ASCII, ANSI format differences Size: Wide character : 2 bytes ASCII character: 1 byte Problem: In programming side sometimes we have problem when dealing with […]