On Fri Aug 26 11:12:10 2022 +0000, Santino Mazza wrote:
I could pass the flags, but I'm not entirely sure if they are the same flags, obviously some flags should not be supported by NtLoadKey2, like the LOAD_APP_KEY flag as it needs an extra parameter for returning the loaded key.
according to some unofficial documentation, the only valid flags are REG_NO_LAZY_FLUSH and no flags, adding support for REG_NO_LAZY_FLUSH, should be all that is needed Since it's an undocumented function, it isn't used by many applications, so maybe we can ignore flags and get away with it for now