mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
- Very basic implementation of ExtEscape
svn path=/trunk/; revision=8092
This commit is contained in:
parent
a99ec32abd
commit
671f7f1315
3 changed files with 48 additions and 30 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: stubs.c,v 1.46 2004/01/24 08:23:12 ekohl Exp $
|
||||
/* $Id: stubs.c,v 1.47 2004/02/08 16:16:24 navaraf Exp $
|
||||
*
|
||||
* reactos/lib/gdi32/misc/stubs.c
|
||||
*
|
||||
|
@ -162,25 +162,6 @@ Escape(
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
ExtEscape(
|
||||
HDC a0,
|
||||
int a1,
|
||||
int a2,
|
||||
LPCSTR a3,
|
||||
int a4,
|
||||
LPSTR a5
|
||||
)
|
||||
{
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
|
|
@ -907,3 +907,20 @@ RectVisible(
|
|||
{
|
||||
return NtGdiRectVisible(a0,(RECT *)a1);
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
ExtEscape(
|
||||
HDC a0,
|
||||
int a1,
|
||||
int a2,
|
||||
LPCSTR a3,
|
||||
int a4,
|
||||
LPSTR a5
|
||||
)
|
||||
{
|
||||
return NtGdiExtEscape(a0, a1, a2, a3, a4, a5);
|
||||
}
|
||||
|
|
|
@ -16,11 +16,13 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: print.c,v 1.11 2003/08/19 11:48:50 weiden Exp $ */
|
||||
/* $Id: print.c,v 1.12 2004/02/08 16:16:24 navaraf Exp $ */
|
||||
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <ddk/ntddk.h>
|
||||
#include <win32k/print.h>
|
||||
#include <win32k/dc.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <win32k/debug1.h>
|
||||
|
@ -57,16 +59,34 @@ NtGdiEscape(HDC hDC,
|
|||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
INT
|
||||
STDCALL
|
||||
NtGdiExtEscape(HDC hDC,
|
||||
INT Escape,
|
||||
INT InSize,
|
||||
LPCSTR InData,
|
||||
INT OutSize,
|
||||
LPSTR OutData)
|
||||
INT STDCALL
|
||||
NtGdiExtEscape(
|
||||
HDC hDC,
|
||||
INT Escape,
|
||||
INT InSize,
|
||||
LPCSTR InData,
|
||||
INT OutSize,
|
||||
LPSTR OutData)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
PDC pDC = DC_LockDc(hDC);
|
||||
INT Result;
|
||||
|
||||
if (pDC == NULL)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
Result = pDC->DriverFunctions.Escape(
|
||||
pDC->Surface,
|
||||
Escape,
|
||||
InSize,
|
||||
(PVOID)InData,
|
||||
OutSize,
|
||||
(PVOID)OutData);
|
||||
|
||||
DC_UnlockDc(hDC);
|
||||
|
||||
return Result;
|
||||
}
|
||||
|
||||
INT
|
||||
|
|
Loading…
Reference in a new issue