Hi all,
I would like to get total sector number of my disk. However, I found that I 
cannot get 8G sectors because of the buffer size.

I only got 4G.
buf_fmt='LL'  buf_size=struct.calcsize(buf_fmt) 
buf=win32file.DeviceIoControl(h, winioctlcon.IOCTL_DISK_GET_LENGTH_INFO, None, 
buf_size, None)
Could someone please tell me how to get the total sector number?
Thank you,
Jane
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to