Modified the win32 window adapter ( fixes #196 )