Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c7a167ea
Commit
c7a167ea
authored
Dec 06, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Add SeekPrinter implementation.
parent
8aaaf417
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
info.c
dlls/winspool.drv/info.c
+18
-0
winspool.drv.spec
dlls/winspool.drv/winspool.drv.spec
+1
-0
No files found.
dlls/winspool.drv/info.c
View file @
c7a167ea
...
...
@@ -7640,3 +7640,21 @@ HANDLE WINAPI GetSpoolFileHandle( HANDLE printer )
FIXME
(
"%p: stub
\n
"
,
printer
);
return
INVALID_HANDLE_VALUE
;
}
/*****************************************************************************
* SeekPrinter [WINSPOOL.@]
*/
BOOL
WINAPI
SeekPrinter
(
HANDLE
printer
,
LARGE_INTEGER
distance
,
LARGE_INTEGER
*
pos
,
DWORD
method
,
BOOL
bwrite
)
{
HANDLE
handle
=
get_backend_handle
(
printer
);
TRACE
(
"(%p %I64d %p %lx %x)
\n
"
,
printer
,
distance
.
QuadPart
,
pos
,
method
,
bwrite
);
if
(
!
handle
)
{
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
return
backend
->
fpSeekPrinter
(
handle
,
distance
,
pos
,
method
,
bwrite
);
}
dlls/winspool.drv/winspool.drv.spec
View file @
c7a167ea
...
...
@@ -162,6 +162,7 @@
@ stdcall ResetPrinterA(long ptr)
@ stdcall ResetPrinterW(long ptr)
@ stdcall ScheduleJob(long long)
@ stdcall SeekPrinter(long int64 ptr long long)
@ stub SetAllocFailCount
@ stdcall SetFormA(long str long ptr)
@ stdcall SetFormW(long wstr long ptr)
...
...
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