sb = ctypes.create_string_buffer(20)
i = ctypes.byref(ctypes.c_int(20))
w = b.GetComputerNameA(sb,i)

w -> 1
sb.value -> nazwa komputera

:-)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to