Re: win32file.DeviceIoControl(FSCTL_GET_RETRIEVAL_POINTERS)

2006-11-04 Thread Jim
Mea culpa: files with *no* clusters return the end-of-file error. -- http://mail.python.org/mailman/listinfo/python-list

Re: win32file.DeviceIoControl(FSCTL_GET_RETRIEVAL_POINTERS)

2006-11-04 Thread Martin v. Löwis
Jim schrieb: > I'm not sure how to perform this operation in Python. The difficulty is > in knowing the size of the output buffer: if it is too small, I get an > "insufficient buffer" exception; too large, and I get an "end of file" > exception. In neither case is any partial data available. What

win32file.DeviceIoControl(FSCTL_GET_RETRIEVAL_POINTERS)

2006-11-04 Thread Jim
I'm not sure how to perform this operation in Python. The difficulty is in knowing the size of the output buffer: if it is too small, I get an "insufficient buffer" exception; too large, and I get an "end of file" exception. In neither case is any partial data available. I'd rather not resort to a