简体   繁体   English

想在Windows Mobile中使用C ++ WTSGetActiveConsoleSessionId()?

[英]wanting to use C++ WTSGetActiveConsoleSessionId() in Windows Mobile?

This function WTSGetActiveConsoleSessionId() is compiled fine on Win32, but when I compile for Windows Mobile 6 Professional SDK and it has error. 此函数WTSGetActiveConsoleSessionId()在Win32上可以很好地编译,但是在为Windows Mobile 6 Professional SDK编译时却出错。 Is there a similar function to this for Windows Mobile platform? Windows Mobile平台有与此相似的功能吗? Thank you. 谢谢。

Why should a single user, single session OS should provide a WTSGetActiveConsoleSessionId function? 为什么单个用户,单个会话的操作系统应该提供WTSGetActiveConsoleSessionId函数?

I am sorry, but there is no such function in Windows Mobile and there is no need for it. 抱歉,Windows Mobile中没有此类功能,因此也不需要它。 So you cannot use WTSGetActiveConsoleSessionId on any Windows Mobile device. 因此,您不能在任何Windows Mobile设备上使用WTSGetActiveConsoleSessionId。

Or did I misunderstand you? 还是我误会了你?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM