Hi,
Does anyone know how to implement GetThreadDesktop using C#? I need to use this to find the currently logged on user from a windows service.
The process is as follows:
GetThreadDesktop()
--> GetUserObjectInformation()
--> LookUpAccountName()
Any help would be appreciated.
Regards,
Andrew
Does anyone know how to implement GetThreadDesktop using C#? I need to use this to find the currently logged on user from a windows service.
The process is as follows:
GetThreadDesktop()
--> GetUserObjectInformation()
--> LookUpAccountName()
Any help would be appreciated.
Regards,
Andrew