Re: [python-win32] Need a value from pywin32

2022-06-22 Thread Steven Manross
We have a winner! Huge thanks from me even though I wasn’t the OP because I've wanted to know how to do this for a while and just started to get my feet wet in this arena!!! I now have a VERY GOOD EXAMPLE of how to start looking at doing a complex task like this with all the nested

Re: [python-win32] Need a value from pywin32

2022-06-22 Thread Eryk Sun
On 6/21/22, Steven Manross wrote: > > class WinStationInformation(ctypes.Structure): > __fields__ = [ > ('ConnectState', ctypes.c_long), > ('WinStationName', ctypes.wintypes.WCHAR), > ('LogonId', ctypes.c_ulong), > ('ConnectTime',

Re: [python-win32] Need a value from pywin32

2022-06-22 Thread Steven Manross
Thanks a lot for the help!!! This is no longer Excepting... But the Result is 0 and there doesn't seem to be any data in the Buf structure or indication that there were results in RtnLen... I get to debug this more.. YAY!!! Steven -Original Message- From: python-win32 On Behalf Of