WinWlx doesn't contain the function or any pointers in the right direction. I agree with you that Olli could probably help, but I already asked him

and he's very busy right now. He helped me before with other functions from Winsta.dll to get idle and login time from terminal server sessions.