ntdll: add a stub for NtLoadKey2/ZwLoadKey2

Dmitry Timoshkov dmitry at baikal.ru
Fri Jan 27 02:06:37 CST 2017


Austin English <austinenglish at gmail.com> wrote:

> +NTSTATUS WINAPI NtLoadKey2(OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *file, ULONG flags)
> +{
> +    NTSTATUS ret;
> +
> +    FIXME("(%p,%p,0x%08x) semi-stub: ignoring flags\n", attr, file, flags);
> +    ret = NtLoadKey(attr, file);
> +
> +    return ret;
> +}

There is no need for an intermediate variable.

-- 
Dmitry.



More information about the wine-devel mailing list