}
else
{
- ERR_(VIDEOPRT, "Requested to set session, but session is already set to: 0x%lx",
+ ERR_(VIDEOPRT, "Requested to set session, but session is already set to: 0x%lx\n",
DeviceExtension->SessionId);
SessionState->bSuccess = FALSE;
}
&DevInstRegKey);
if (Status != STATUS_SUCCESS)
{
- ERR_(VIDEOPRT, "Failed to open device software key. Status 0x%lx", Status);
+ ERR_(VIDEOPRT, "Failed to open device software key. Status 0x%lx\n", Status);
return Status;
}
if (Status != STATUS_SUCCESS)
{
- ERR_(VIDEOPRT, "Failed to open settings key. Status 0x%lx", Status);
+ ERR_(VIDEOPRT, "Failed to open settings key. Status 0x%lx\n", Status);
return Status;
}
Status = ZwOpenKey(&SourceKeyHandle, KEY_WRITE, &ObjectAttributes);
if (Status != STATUS_SUCCESS)
{
- ERR_(VIDEOPRT, "ZwOpenKey failed for settings key: status 0x%lx", Status);
+ ERR_(VIDEOPRT, "ZwOpenKey failed for settings key: status 0x%lx\n", Status);
ObCloseHandle(DestKeyHandle, KernelMode);
return Status;
}
}
else
{
- WARN_(VIDEOPRT, "Unparsable registry path %wZ", DriverRegistryPath);
+ WARN_(VIDEOPRT, "Unparsable registry path %wZ\n", DriverRegistryPath);
}
/* If path doesn't point to *ControlSet*, use DriverRegistryPath directly */