Huw Davies (@huw) commented about dlls/ntdll/unix/registry.c:
*/ NTSTATUS WINAPI NtLoadKey( const OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *file ) +{
- TRACE( "(%p,%p\n)", attr, file );
- return NtLoadKeyEx( attr, file, 0, 0, 0, 0, NULL, NULL );
+}
+/******************************************************************************
NtLoadKey2 (NTDLL.@)
- */
+NTSTATUS WINAPI NtLoadKey2( const OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *file, ULONG flags ) +{
- if (flags) FIXME( "unhandled flag %x\n", flags );
- return NtLoadKey( attr, file );
+}
It probably makes more sense to forward this to `NtLoadKeyEx()`.