doc, just an fyi.
ran your code on some machines and they all returned some trash.
everything before display adapter was gone, etc...

could there be string length issue in your code or just an bug?