Vista Banter

Vista Banter (http://www.vistabanter.com/)
-   Security and Windows Vista (http://www.vistabanter.com/security-windows-vista/)
-   -   LockWorkStation and WTSLogoffSession return error code 5 in a Vist (http://www.vistabanter.com/186429-lockworkstation-wtslogoffsession-return-error-code-5-vist.html)

Santosh Panchapakesan February 4th 10 10:21 AM

LockWorkStation and WTSLogoffSession return error code 5 in a Vist
 
Hi,

I have written a service with "requestedExecutionLevel
level="highestAvailable" " in the manifest file. In the service I call into
LockWorkStation or WTSLogoffSession, which do not seem to be working on
Vista. GetLastError to both the functions returns error code 5.

Is there anything that I need to do.

Please help.

Thanks,
Santosh


All times are GMT. The time now is 07:44 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2006 VistaBanter.com