On Tue, Apr 10, 2018, at 4:32 PM, Liu Hao wrote: > 在 2018/4/10 21:44, Hugo Beauzée-Luyssen 写道: > > > > +#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) > > + > > Please clarify the rationale of this patch. > > Win8 SDK does not have this guard while the Win10 SDK uses a different > guard `WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | > WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)`. >
Registry related functions are only supposed to be available when building for Desktop, according to msdn. I'm not entirely sure what WINAPI_PARTITION_SYSTEM is supposed to mean, I'll try to put my hands on a windows SDK to check. Regards, -- Hugo Beauzée-Luyssen [email protected] ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
