winspool: Add a missing default priority value.

This commit is contained in:
Huw Davies 2012-06-15 12:53:53 +01:00 committed by Alexandre Julliard
parent a294ad42e0
commit afab51c4e7
1 changed files with 1 additions and 0 deletions

View File

@ -3032,6 +3032,7 @@ HANDLE WINAPI AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter)
set_reg_DWORD(hkeyPrinter, AttributesW, pi->Attributes); set_reg_DWORD(hkeyPrinter, AttributesW, pi->Attributes);
set_reg_szW(hkeyPrinter, DatatypeW, pi->pDatatype); set_reg_szW(hkeyPrinter, DatatypeW, pi->pDatatype);
set_reg_DWORD(hkeyPrinter, Default_PriorityW, pi->DefaultPriority);
set_reg_szW(hkeyPrinter, DescriptionW, pi->pComment); set_reg_szW(hkeyPrinter, DescriptionW, pi->pComment);
set_reg_DWORD(hkeyPrinter, dnsTimeoutW, 0); set_reg_DWORD(hkeyPrinter, dnsTimeoutW, 0);
set_reg_szW(hkeyPrinter, LocationW, pi->pLocation); set_reg_szW(hkeyPrinter, LocationW, pi->pLocation);