Lines Matching refs:extlogpen
476 EXTLOGPEN extlogpen; in Test_ExtPen() local
481 EXTLOGPEN extlogpen; in Test_ExtPen() member
493 FillMemory(&extlogpen, sizeof(EXTLOGPEN), 0x77); in Test_ExtPen()
510 ok(GetObject(hPen, 0, &extlogpen) == 0, "\n"); in Test_ExtPen()
513 ok(GetObject(hPen, 4, &extlogpen) == 0, "\n"); in Test_ExtPen()
516 ok(GetObject((HANDLE)GDI_OBJECT_TYPE_EXTPEN, 0, &extlogpen) == 0, "\n"); in Test_ExtPen()
519 ok(GetObject((HANDLE)GDI_OBJECT_TYPE_EXTPEN, 4, &extlogpen) == 0, "\n"); in Test_ExtPen()
522 ok(GetObject(hPen, sizeof(EXTLOGPEN) - 5, &extlogpen) == 0, "\n"); in Test_ExtPen()
526 ok(extlogpen.elpPenStyle == 0x77777777, "\n"); in Test_ExtPen()
527 ok(extlogpen.elpWidth == 0x77777777, "\n"); in Test_ExtPen()
529 ok(GetObject(hPen, sizeof(EXTLOGPEN), &extlogpen) == sizeof(EXTLOGPEN)-sizeof(DWORD), "\n"); in Test_ExtPen()
530 …ok(GetObject(hPen, sizeof(EXTLOGPEN)-sizeof(DWORD), &extlogpen) == sizeof(EXTLOGPEN)-sizeof(DWORD)… in Test_ExtPen()
531 ok(GetObject(hPen, sizeof(EXTLOGPEN)-sizeof(DWORD)-1, &extlogpen) == 0, "\n"); in Test_ExtPen()
532 ok(GetObject(hPen, sizeof(EXTLOGPEN)+2, &extlogpen) == sizeof(EXTLOGPEN)-sizeof(DWORD), "\n"); in Test_ExtPen()
533 ok(GetObject(hPen, -5, &extlogpen) == sizeof(EXTLOGPEN)-sizeof(DWORD), "\n"); in Test_ExtPen()
536 ok(extlogpen.elpPenStyle == (PS_GEOMETRIC | PS_DASH), "\n"); in Test_ExtPen()
537 ok(extlogpen.elpWidth == 5, "\n"); in Test_ExtPen()
538 ok(extlogpen.elpBrushStyle == 0, "\n"); in Test_ExtPen()
539 ok(extlogpen.elpColor == RGB(1,2,3), "\n"); in Test_ExtPen()
540 ok(extlogpen.elpHatch == 22, "\n"); in Test_ExtPen()
541 ok(extlogpen.elpNumEntries == 0, "\n"); in Test_ExtPen()