[WIN32SS|KBDHID]

- fix some typos and copypastas

svn path=/trunk/; revision=75800
This commit is contained in:
Kamil Hornicek 2017-09-08 20:20:34 +00:00
parent 7279c0c541
commit f65d8f9140
3 changed files with 4 additions and 4 deletions

View file

@ -372,7 +372,7 @@ KbdHid_InternalDeviceControl(
if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUSE_ATTRIBUTES)) if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUSE_ATTRIBUTES))
{ {
/* invalid request */ /* invalid request */
DPRINT1("[MOUHID] IOCTL_MOUSE_QUERY_ATTRIBUTES Buffer too small\n"); DPRINT1("[KBDHID] IOCTL_KEYBOARD_QUERY_ATTRIBUTES Buffer too small\n");
Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL; Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;
IoCompleteRequest(Irp, IO_NO_INCREMENT); IoCompleteRequest(Irp, IO_NO_INCREMENT);
return STATUS_BUFFER_TOO_SMALL; return STATUS_BUFFER_TOO_SMALL;

View file

@ -436,7 +436,7 @@ CreateDIBitmap(
/* CBM_CREATDIB needs Data. */ /* CBM_CREATDIB needs Data. */
if (pbmiConverted == NULL) if (pbmiConverted == NULL)
{ {
DPRINT1("CBM_CREATDIB needs a BITMAINFO!\n"); DPRINT1("CBM_CREATDIB needs a BITMAPINFO!\n");
goto Exit; goto Exit;
} }

View file

@ -382,7 +382,7 @@ NtGdiMaskBlt(
ahDC[1] = UsesSource ? hdcSrc : NULL; ahDC[1] = UsesSource ? hdcSrc : NULL;
if (!GDIOBJ_bLockMultipleObjects(2, (HGDIOBJ*)ahDC, apObj, GDIObjType_DC_TYPE)) if (!GDIOBJ_bLockMultipleObjects(2, (HGDIOBJ*)ahDC, apObj, GDIObjType_DC_TYPE))
{ {
WARN("Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiAlphaBlend\n", hdcDest, hdcSrc); WARN("Invalid dc handle (dest=0x%p, src=0x%p) passed to NtGdiMaskBlt\n", hdcDest, hdcSrc);
EngSetLastError(ERROR_INVALID_HANDLE); EngSetLastError(ERROR_INVALID_HANDLE);
return FALSE; return FALSE;
} }
@ -393,7 +393,7 @@ NtGdiMaskBlt(
if (NULL == DCDest) if (NULL == DCDest)
{ {
if(DCSrc) DC_UnlockDc(DCSrc); if(DCSrc) DC_UnlockDc(DCSrc);
WARN("Invalid destination dc handle (0x%p) passed to NtGdiBitBlt\n", hdcDest); WARN("Invalid destination dc handle (0x%p) passed to NtGdiMaskBlt\n", hdcDest);
return FALSE; return FALSE;
} }