RPD server use WTSQuerySessionInformation function in Wtsapi32 to get win8 ip address failed

hi,

On my WIN server2008 R2 server, I write a program to get client ip address, who connceting to this server. The program use WTSQuerySessionInformation function in Wtsapi32 API, when client is XP, WIN7,etc, everything is ok. But WIN8 failed  :(, and get client ip address 48.46.48.46. I print the WIN8  AddressFamily, it's special and value is zero.

anyone can help me?

October 8th, 2013 4:02am

Hi,

According to your description, your program can not work on windows 8.

Meanwhile, since the program use WTSQuerySessionInformation function, I suggest you post the question on Dev Center Desktop forum for further help.

Dev Center - Desktop

http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?category=windowsdesktopdev

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.

Regards,

Free Windows Admin Tool Kit Click here and download it now
October 9th, 2013 10:32pm

thanks for ur help!
October 10th, 2013 12:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics