Quote Originally Posted by DeepT View Post
I am not sure I understand that Java code...
You need the code sample from MSDN page, not the user comment at the bottom. The sample is written in C++, but if you need Java help then you're posting in the wrong forum.