Commit c7a167ea authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winspool: Add SeekPrinter implementation.

parent 8aaaf417
...@@ -7640,3 +7640,21 @@ HANDLE WINAPI GetSpoolFileHandle( HANDLE printer ) ...@@ -7640,3 +7640,21 @@ HANDLE WINAPI GetSpoolFileHandle( HANDLE printer )
FIXME( "%p: stub\n", printer ); FIXME( "%p: stub\n", printer );
return INVALID_HANDLE_VALUE; 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);
}
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
@ stdcall ResetPrinterA(long ptr) @ stdcall ResetPrinterA(long ptr)
@ stdcall ResetPrinterW(long ptr) @ stdcall ResetPrinterW(long ptr)
@ stdcall ScheduleJob(long long) @ stdcall ScheduleJob(long long)
@ stdcall SeekPrinter(long int64 ptr long long)
@ stub SetAllocFailCount @ stub SetAllocFailCount
@ stdcall SetFormA(long str long ptr) @ stdcall SetFormA(long str long ptr)
@ stdcall SetFormW(long wstr long ptr) @ stdcall SetFormW(long wstr long ptr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment