if (!NT_SUCCESS(Status))
{
/* Just warn, but continue with the remaining sub-keys */
- WARN_(VIDEOPRT, "failed to set value '%wZ'.\n", NameString);
+ WARN_(VIDEOPRT, "failed to set value '%wZ'.\n", &NameString);
}
/* Next subkey */
RtlAppendUnicodeToString(DeviceRegistryPath, Insert2);
}
- DbgPrint("Formatted registry key '%wZ' -> '%wZ'\n",
- DriverRegistryPath, DeviceRegistryPath);
+ DPRINT("Formatted registry key '%wZ' -> '%wZ'\n",
+ DriverRegistryPath, DeviceRegistryPath);
return STATUS_SUCCESS;
}