bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] stat: implement GetFileInformationByHandle with Winstore app


From: Bruno Haible
Subject: Re: [PATCH] stat: implement GetFileInformationByHandle with Winstore apps restrictions
Date: Sat, 30 May 2020 11:41:02 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Hi,

Steve Lhomme wrote:
> GetFileInformationByHandle() cannot be called. But the same information can be
> gathered via calls to GetFileInformationByHandleEx() which is allowed.

I am understanding from [1] that Microsoft is augmenting the list of allowed
functions in UWP over time, and that ultimately most Windows API functions will
be allowed in UWP in the end, because "developers want the Windows API".

So, it makes sense to put your code into a separate library, that implements
Windows API on top of UWP API. Gnulib focuses (partially) on providing the
POSIX and glibc API on top of the Windows API.

The two, that is the Windows API emulation on top of UWP API and Gnulib, ought
to work seamlessly together (assuming that other library does not have GPL-
incompatible license terms).

Bruno

[1] 
https://www.thurrott.com/dev/206351/microsoft-confirms-uwp-is-not-the-future-of-windows-apps




reply via email to

[Prev in Thread] Current Thread [Next in Thread]