implement GetStringBitmapA (left todo implement it in win32k.sys)

svn path=/trunk/; revision=28726
This commit is contained in:
Magnus Olsen 2007-08-31 22:33:53 +00:00
parent abe208bcc5
commit d9ec9c0779

View file

@ -271,15 +271,37 @@ GetGlyphIndicesA(
}
/*
* @unimplemented
* @implemented
*/
UINT
STDCALL
GetStringBitmapA(HDC hdc,LPSTR psz,BOOL unknown,UINT cj,BYTE *lpSB)
GetStringBitmapA(HDC hdc,
LPSTR psz,
BOOL DoCall,
UINT cj,
BYTE *lpSB)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
NTSTATUS Status;
PWSTR pwsz;
UINT retValue = 0;
if (DoCall)
{
Status = HEAP_strdupA2W ( &pwsz, psz );
if ( !NT_SUCCESS (Status) )
{
SetLastError (RtlNtStatusToDosError(Status));
}
else
{
retValue = NtGdiGetStringBitmapW(hdc, pwsz, 1, lpSB, cj);
HEAP_free ( pwsz );
}
}
return retValue;
}