- removes the logging skip if the Settings key is not present
- logs if the interface guid doesnt change
Signed-off-by: Owen Smith <owen.smith@cloud.com>
SubKeyName,
KEY_READ,
&SubKey);
- if (!NT_SUCCESS(status)) {
- if (status == STATUS_OBJECT_NAME_NOT_FOUND)
- goto done;
-
+ if (!NT_SUCCESS(status))
goto fail1;
- }
status = RegistryQuerySzValue(SubKey,
"NetCfgInstanceId",
NetLuid,
&Ansi,
InterfaceLuid);
+ } else {
+ Info("%s: SettingsCopy not required for %ws\n",
+ SubKeyName,
+ Description);
}
RtlFreeAnsiString(&Ansi);
RegistryCloseKey(SubKey);
-done:
return STATUS_SUCCESS;
fail4: