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 […]

Windows Driver debugging

For Windows Driver Developers BSOD(Blue Screen Of Death) is really headache to solve.To solve issue with any device driver it’s always suggested to go with Debugging techniques. WinDbg is really good tool for driver debugging.That is used for Windows user mode and kernel mode debugging. There are different ways to debug kernel mode driver.One of […]