Win32 API in pywin32

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Sat Aug 13 20:22:37 EDT 2016


On Saturday, August 13, 2016 at 10:49:11 PM UTC+12, eryk sun wrote:
> You can call GetFileSizeEx [1]. Or call GetFileInformationByHandleEx
> [2] to get the FileStandardInfo. These APIs use the LARGE_INTEGER
> union type, which has a long long "QuadPart" member.
> ...
> FILETIME is a legacy of the Windows API. The kernel and user-mode
> runtime library (i.e. Rtl* in ntdll) use LARGE_INTEGER. Note that all
> of the info classes for GetFileInformationByHandleEx also use
> LARGE_INTEGER because they're basically a thin layer over the NT API.
> ...
> [etc etc]

What an absolute mess, compared to the simplicity of POSIX/Linux <https://www.samba.org/samba/news/articles/low_point/tale_two_stds_os2.html>.

Is it any wonder that Microsoft is now adding a Linux API layer to Windows?



More information about the Python-list mailing list