QUOTE(hooovahh @ May 7 2007, 05:08 PM)
Hi,
the good thing that comes with these forums is to get started in solving something that you get stuck in, not to expect someone to spend his time to fully solve your problems.
If you looked in the block diagram smartly, you could figure out that "count" shows how many usb devices exists, so testing it is usefull to see if something changed in the system (so the rest of the code can be placed in some case structure).
If you want to know more, please read msdn.
cosmin