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
268b5555
Commit
268b5555
authored
Jan 06, 2001
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 06, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't call QueryAbort16() in WriteSpool16(), since it might be called
with locks held (and we do not need to call it here).
parent
85ba8798
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
printdrv.c
dlls/gdi/printdrv.c
+10
-0
wingdi16.h
include/wine/wingdi16.h
+1
-0
No files found.
dlls/gdi/printdrv.c
View file @
268b5555
...
...
@@ -193,6 +193,11 @@ INT WINAPI EndPage(HDC hdc)
else
ret
=
Escape
(
hdc
,
NEWFRAME
,
0
,
0
,
0
);
GDI_ReleaseObj
(
hdc
);
if
(
!
QueryAbort16
(
hdc
,
0
))
{
EndDoc
(
hdc
);
ret
=
0
;
}
return
ret
;
}
...
...
@@ -604,6 +609,10 @@ INT16 WINAPI WriteSpool16(HPJOB16 hJob, LPSTR lpData, INT16 cch)
nRet
=
SP_OUTOFDISK
;
else
nRet
=
cch
;
#if 0
/* FIXME: We just cannot call 16 bit functions from here, since we
* have acquired several locks (DC). And we do not really need to.
*/
if (pPrintJob->hDC == 0) {
TRACE("hDC == 0 so no QueryAbort\n");
}
...
...
@@ -612,6 +621,7 @@ INT16 WINAPI WriteSpool16(HPJOB16 hJob, LPSTR lpData, INT16 cch)
CloseJob16(hJob); /* printing aborted */
nRet = SP_APPABORT;
}
#endif
}
return
nRet
;
}
...
...
include/wine/wingdi16.h
View file @
268b5555
...
...
@@ -483,6 +483,7 @@ BOOL16 WINAPI Polygon16(HDC16,const POINT16*,INT16);
BOOL16
WINAPI
Polyline16
(
HDC16
,
const
POINT16
*
,
INT16
);
BOOL16
WINAPI
PtInRegion16
(
HRGN16
,
INT16
,
INT16
);
BOOL16
WINAPI
PtVisible16
(
HDC16
,
INT16
,
INT16
);
BOOL16
WINAPI
QueryAbort16
(
HDC16
,
INT16
);
UINT16
WINAPI
RealizeDefaultPalette16
(
HDC16
);
BOOL16
WINAPI
Rectangle16
(
HDC16
,
INT16
,
INT16
,
INT16
,
INT16
);
BOOL16
WINAPI
RectInRegion16
(
HRGN16
,
const
RECT16
*
);
...
...
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