Tidy ups some missed changes.

svn path=/trunk/; revision=33031
This commit is contained in:
James Tabor
2008-04-19 02:42:37 +00:00
parent 3c7ef0d991
commit d385734856
2 changed files with 6 additions and 13 deletions
+6
View File
@@ -155,6 +155,9 @@ EngGetDriverName(HDEV hdev)
{
// DHPDEV from NtGdiGetDhpdev must be from print driver.
PDRIVER_INFO_2W pDrvInfo2 = (PDRIVER_INFO_2W)NtGdiGetDhpdev(hdev);
if (!pDrvInfo2) return NULL;
if (pDrvInfo2->cVersion != 0xFEDCBA98 ) // Init mask for ver 2+
{
PDRIVER_INFO_1W pDrvInfo1 = (PDRIVER_INFO_1W) pDrvInfo2;
@@ -170,6 +173,9 @@ LPWSTR STDCALL
EngGetPrinterDataFileName(HDEV hdev)
{
PDRIVER_INFO_2W pDrvInfo2 = (PDRIVER_INFO_2W)NtGdiGetDhpdev(hdev);
if (!pDrvInfo2) return NULL;
if (pDrvInfo2->cVersion != 0xFEDCBA98 )
{
PDRIVER_INFO_1W pDrvInfo1 = (PDRIVER_INFO_1W) pDrvInfo2;
-13
View File
@@ -91,19 +91,6 @@ NtGdiOffsetWindowOrgEx (
LPPOINT Point
);
/* Use SetDIBitsToDevice in gdi32. */
INT
STDCALL
NtGdiSetDIBits (
HDC hDC,
HBITMAP hBitmap,
UINT StartScan,
UINT ScanLines,
CONST VOID * Bits,
CONST BITMAPINFO * bmi,
UINT ColorUse
);
/* Needs to be done in user-mode. */
BOOL
STDCALL