implement GetKerningPairsW (left todo implement it to win32k.sys)

svn path=/trunk/; revision=28715
This commit is contained in:
Magnus Olsen 2007-08-31 16:59:12 +00:00
parent 02c180f13c
commit 7d2d0b3329

View file

@ -34,19 +34,23 @@ PolyTextOutW(
/*
* @unimplemented
* @implemented
*/
DWORD
STDCALL
GetKerningPairsW(
HDC a0,
DWORD a1,
LPKERNINGPAIR a2
)
GetKerningPairsW(HDC hdc,
ULONG cPairs,
LPKERNINGPAIR pkpDst)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
if ((cPairs != 0) || (pkpDst == 0))
{
return NtGdiGetKerningPairs(hdc,cPairs,pkpDst);
}
else
{
SetLastError(ERROR_INVALID_PARAMETER);
return 0;
}
}