For those that ask for WTS stuff, I am currently working on adding code to the DLL:

WTSEnumerateSessions
WTSEnumerateProcesses
WTSTerminateProcess
WTSQuerySessionInformation
WTSQueryUserConfig
WTSSetUserConfig
WTSSendMessage
WTSDisconnectSession
WTSLogoffSession
WTSWaitSystemEvent

WTSQuerySessionInformation can return the remote client's computername, user's DomainName, and user's account.

I am still experimenting and learning about some of the data structures. If I can decypher them then I can provide the client's network address without a separate operation and the client's video display characteristics.

[ 01. December 2002, 23:20: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/