Commit ef7b2a1b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Use ntgdi interface for printer driver functions.

parent 800cde3c
...@@ -1888,6 +1888,38 @@ INT WINAPI StartDocA( HDC hdc, const DOCINFOA *doc ) ...@@ -1888,6 +1888,38 @@ INT WINAPI StartDocA( HDC hdc, const DOCINFOA *doc )
return ret; return ret;
} }
/***********************************************************************
* StartPage (GDI32.@)
*/
INT WINAPI StartPage( HDC hdc )
{
return NtGdiStartPage( hdc );
}
/***********************************************************************
* EndPage (GDI32.@)
*/
INT WINAPI EndPage( HDC hdc )
{
return NtGdiEndPage( hdc );
}
/***********************************************************************
* EndDoc (GDI32.@)
*/
INT WINAPI EndDoc( HDC hdc )
{
return NtGdiEndDoc( hdc );
}
/***********************************************************************
* AbortDoc (GDI32.@)
*/
INT WINAPI AbortDoc( HDC hdc )
{
return NtGdiAbortDoc( hdc );
}
/********************************************************************** /**********************************************************************
* SetAbortProc (GDI32.@) * SetAbortProc (GDI32.@)
*/ */
......
...@@ -81,10 +81,9 @@ INT WINAPI NtGdiStartDoc( HDC hdc, const DOCINFOW *doc, BOOL *banding, INT job ) ...@@ -81,10 +81,9 @@ INT WINAPI NtGdiStartDoc( HDC hdc, const DOCINFOW *doc, BOOL *banding, INT job )
/****************************************************************** /******************************************************************
* EndDoc [GDI32.@] * NtGdiEndDoc (win32u.@)
*
*/ */
INT WINAPI EndDoc(HDC hdc) INT WINAPI NtGdiEndDoc( HDC hdc )
{ {
INT ret = SP_ERROR; INT ret = SP_ERROR;
DC *dc = get_dc_ptr( hdc ); DC *dc = get_dc_ptr( hdc );
...@@ -100,10 +99,9 @@ INT WINAPI EndDoc(HDC hdc) ...@@ -100,10 +99,9 @@ INT WINAPI EndDoc(HDC hdc)
/****************************************************************** /******************************************************************
* StartPage [GDI32.@] * NtGdiStartPage (win32u.@)
*
*/ */
INT WINAPI StartPage(HDC hdc) INT WINAPI NtGdiStartPage( HDC hdc )
{ {
INT ret = SP_ERROR; INT ret = SP_ERROR;
DC *dc = get_dc_ptr( hdc ); DC *dc = get_dc_ptr( hdc );
...@@ -119,10 +117,9 @@ INT WINAPI StartPage(HDC hdc) ...@@ -119,10 +117,9 @@ INT WINAPI StartPage(HDC hdc)
/****************************************************************** /******************************************************************
* EndPage [GDI32.@] * NtGdiEndPage (win32u.@)
*
*/ */
INT WINAPI EndPage(HDC hdc) INT WINAPI NtGdiEndPage( HDC hdc )
{ {
INT ret = SP_ERROR; INT ret = SP_ERROR;
DC *dc = get_dc_ptr( hdc ); DC *dc = get_dc_ptr( hdc );
...@@ -137,10 +134,10 @@ INT WINAPI EndPage(HDC hdc) ...@@ -137,10 +134,10 @@ INT WINAPI EndPage(HDC hdc)
} }
/****************************************************************************** /***********************************************************************
* AbortDoc [GDI32.@] * NtGdiAbortDoc (win32u.@)
*/ */
INT WINAPI AbortDoc(HDC hdc) INT WINAPI NtGdiAbortDoc( HDC hdc )
{ {
INT ret = SP_ERROR; INT ret = SP_ERROR;
DC *dc = get_dc_ptr( hdc ); DC *dc = get_dc_ptr( hdc );
......
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