Implemented Unpluged DC code

svn path=/trunk/; revision=5169
This commit is contained in:
James Tabor 2003-07-20 00:13:36 +00:00
parent 313d9193b5
commit 6dfe326b7b
2 changed files with 87 additions and 0 deletions

View file

@ -7,6 +7,73 @@
#include <ddk/ntddk.h>
#include <win32k/kapi.h>
/*
* @implemented
*/
int
STDCALL
GetMapMode(
HDC a0
)
{
return W32kGetMapMode(a0);
}
/*
* @implemented
*/
BOOL
STDCALL
GetCurrentPositionEx(
HDC a0,
LPPOINT a1
)
{
return W32kGetCurrentPositionEx(a0, a1);
}
/*
* @implemented
*/
COLORREF
STDCALL
GetBkColor(
HDC a0
)
{
return W32kGetBkColor(a0);
}
/*
* @implemented
*/
int
STDCALL
GetBkMode(
HDC a0
)
{
return W32kGetBkMode(a0);
}
/*
* @implemented
*/
BOOL
STDCALL
GetBrushOrgEx(
HDC a0,
LPPOINT a1
)
{
return W32kGetBrushOrgEx(a0, a1);
}
/*
* @implemented
*/

View file

@ -7,6 +7,26 @@
#include <ddk/ntddk.h>
#include <win32k/kapi.h>
/*
* @implemented
*/
int
STDCALL
GetClipRgn(
HDC a0,
HRGN a1
)
{
HRGN rgn = W32kGetClipRgn(a0);
if(rgn)
{
if(W32kCombineRgn(a1, rgn, 0, RGN_COPY) != ERROR) return 1;
else
return -1;
}
else return 0;
}
/*
* @unimplemented