Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b5511bd4
Commit
b5511bd4
authored
Jun 13, 2012
by
Huw Davies
Committed by
Alexandre Julliard
Jun 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Set the timeout entries to zero.
parent
7d615965
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
info.c
dlls/winspool.drv/info.c
+2
-0
No files found.
dlls/winspool.drv/info.c
View file @
b5511bd4
...
...
@@ -3068,6 +3068,7 @@ HANDLE WINAPI AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter)
if
(
!
pi
->
pDevMode
)
HeapFree
(
GetProcessHeap
(),
0
,
dm
);
set_reg_szW
(
hkeyPrinter
,
DescriptionW
,
pi
->
pComment
);
set_reg_DWORD
(
hkeyPrinter
,
dnsTimeoutW
,
0
);
set_reg_szW
(
hkeyPrinter
,
LocationW
,
pi
->
pLocation
);
set_reg_szW
(
hkeyPrinter
,
NameW
,
pi
->
pPrinterName
);
set_reg_szW
(
hkeyPrinter
,
ParametersW
,
pi
->
pParameters
);
...
...
@@ -3080,6 +3081,7 @@ HANDLE WINAPI AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter)
set_reg_szW
(
hkeyPrinter
,
Share_NameW
,
pi
->
pShareName
);
set_reg_DWORD
(
hkeyPrinter
,
StartTimeW
,
pi
->
StartTime
);
set_reg_DWORD
(
hkeyPrinter
,
StatusW
,
pi
->
Status
);
set_reg_DWORD
(
hkeyPrinter
,
txTimeoutW
,
0
);
set_reg_DWORD
(
hkeyPrinter
,
UntilTimeW
,
pi
->
UntilTime
);
RegCloseKey
(
hkeyPrinter
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment