Home
last modified time | relevance | path

Searched refs:GetDC (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/reactos/modules/rostests/apitests/gdi32/
H A DSetWindowExtEx.c139 4 * GetDeviceCaps(GetDC(0), HORZRES), in Test_SetWindowExtEx()
140 -4 * GetDeviceCaps(GetDC(0), VERTRES), in Test_SetWindowExtEx()
148 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetWindowExtEx()
149 ok_long(ViewportExt.cy, -GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetWindowExtEx()
166 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetWindowExtEx()
167 ok_long(ViewportExt.cy, -GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetWindowExtEx()
180 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetWindowExtEx()
229 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetWindowExtEx()
248 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetWindowExtEx()
267 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetWindowExtEx()
[all …]
H A DGetTextExtentExPoint.c19 result = GetTextExtentExPointA(GetDC(0), "test", 4, 1000, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
25 result = GetTextExtentExPointA(GetDC(0), "test", 4, 1, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
31 result = GetTextExtentExPointA(GetDC(0), "test", 4, 0, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
36 result = GetTextExtentExPointA(GetDC(0), "test", 4, -1, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
41 result = GetTextExtentExPointA(GetDC(0), "test", 4, -2, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
45 result = GetTextExtentExPointW(GetDC(0), L"test", 4, -10, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
48 result = GetTextExtentExPointA(GetDC(0), "test", 4, -10, &nFit, NULL, &size); in Test_GetTextExtentExPoint()
H A DSetMapMode.c109 ok_long(ViewportExt.cy, -GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetMapMode()
129 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetMapMode()
130 ok_long(ViewportExt.cy, -GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetMapMode()
140 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetMapMode()
141 ok_long(ViewportExt.cy, -GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetMapMode()
151 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetMapMode()
152 ok_long(ViewportExt.cy, -GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetMapMode()
162 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetMapMode()
163 ok_long(ViewportExt.cy, -GetDeviceCaps(GetDC(0), VERTRES)); in Test_SetMapMode()
173 ok_long(ViewportExt.cx, GetDeviceCaps(GetDC(0), HORZRES)); in Test_SetMapMode()
[all …]
H A DGetClipRgn.c22 hDC = GetDC(hWnd); in Test_GetClipRgn()
/reactos/modules/rostests/winetests/user32/
H A Ddce.c48 hdc = GetDC( hwnd_cache ); in test_dc_attributes()
58 hdc = GetDC( hwnd_cache ); in test_dc_attributes()
129 hdc = GetDC(0); in test_dc_attributes()
146 hdc = GetDC( hwnd_owndc ); in test_dc_attributes()
155 hdc = GetDC( hwnd_owndc ); in test_dc_attributes()
207 hdc = GetDC( hwnd_cache ); in test_parameters()
210 hdc = GetDC( hwnd_cache ); in test_parameters()
215 hdc = GetDC( hwnd_owndc ); in test_parameters()
217 hdc = GetDC( hwnd_owndc ); in test_parameters()
541 dc1 = GetDC(hwnd_owndc); in test_invisible_create()
[all …]
/reactos/modules/rostests/tests/winhello/
H A Dwinhello.c127 hDC = GetDC(hWnd); in MainWndProc()
174 hDC = GetDC(hWnd); in MainWndProc()
204 hDC = GetDC(hWnd); in MainWndProc()
226 hDC = GetDC(hWnd); in MainWndProc()
249 hDC = GetDC(hWnd); in MainWndProc()
272 hDC = GetDC(hWnd); in MainWndProc()
295 hDC = GetDC(hWnd); in MainWndProc()
318 hDC = GetDC(hWnd); in MainWndProc()
341 hDC = GetDC(hWnd); in MainWndProc()
428 hDC = GetDC(hWnd); in MainWndProc()
[all …]
/reactos/modules/rostests/dxtest/ddraw/Surface/
H A Dmisc.cpp19 TEST (Surface->GetDC((HDC*)0xdeadbeef) == DDERR_INVALIDPARAMS); in Test_Misc()
21 TEST (Surface->ReleaseDC(GetDC(NULL)) == DDERR_NODC); in Test_Misc()
23 TEST (Surface->GetDC(&hdc) == DD_OK); in Test_Misc()
/reactos/sdk/lib/atl/
H A Datlimage.h132 GetDC();
167 GetDC();
288 GetDC(); in GetColorTable()
321 GetDC(); in GetPixel()
443 GetDC();
476 GetDC();
579 GetDC(); in SetColorTable()
586 GetDC(); in SetPixel()
594 GetDC(); in SetPixelIndexed()
617 GetDC();
[all …]
/reactos/modules/rostests/apitests/uxtheme/
H A DDrawThemeParentBackground.c69 hdc = GetDC(hWnd1); in Test_Messages()
167 hdc = GetDC(hWnd1); in Test_Params()
195 hdc = GetDC(hWnd2); in Test_Params()
/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiSaveDC.c28 hdc = GetDC(0); in START_TEST()
45 hdc = GetDC(hwnd); in START_TEST()
H A DNtGdiSelectBitmap.c57 hDC = GetDC(NULL); in START_TEST()
62 hDC = CreateCompatibleDC(GetDC(NULL)); in START_TEST()
H A DNtGdiExtTextOutW.c40 hDC = GetDC(hWnd); in START_TEST()
/reactos/modules/rostests/winetests/opengl32/
H A Dopengl.c234 hdc = GetDC( hwnd ); in test_pfd()
395 HDC hdc = GetDC(0); in test_setpixelformat()
424 HDC hdc = GetDC( hwnd ); in test_setpixelformat()
854 HDC hdc = GetDC( p->hwnd ); in wgl_thread()
1009 hdc2 = GetDC(hwnd); in test_dc()
1160 dc = GetDC(window); in test_minimized()
1302 dc = GetDC(window); in test_message_window()
1380 dc = GetDC(window); in test_destroy()
1669 dc1 = GetDC(window1); in test_swap_control()
1716 dc2 = GetDC(window2); in test_swap_control()
[all …]
/reactos/base/applications/mspaint/
H A Dhistory.cpp271 HDC ImageModel::GetDC() in GetDC() function in ImageModel
279 StretchBlt(m_hDrawingDC, GetWidth() - 1, 0, -GetWidth(), GetHeight(), GetDC(), 0, 0, in FlipHorizontally()
287 StretchBlt(m_hDrawingDC, 0, GetHeight() - 1, GetWidth(), -GetHeight(), GetDC(), 0, 0, in FlipVertically()
/reactos/dll/win32/comdlg32/
H A Dcolordlg.c225 HDC hdc = GetDC(lpp->hwndFocus); in CC_DrawCurrentFocusRect()
250 hdc = GetDC(hwnd); in CC_DrawFocusRect()
463 hdc = GetDC(hwnd); in CC_PaintSelectedColor()
495 hDC = GetDC(infoPtr->hwndSelf); in CC_PaintTriangle()
552 hDC = GetDC(hwnd); in CC_PaintCross()
610 hdc = GetDC(hwnd); in CC_PrepareColorGraph()
651 hDC = GetDC(hwnd); in CC_PaintColorGraph()
674 hDC = GetDC(hwnd); in CC_PaintLumBar()
777 hdc = GetDC(hwnd); in CC_PaintPredefColorArray()
824 hdc = GetDC(hwnd); in CC_PaintUserColorArray()
[all …]
/reactos/dll/cpl/desk/
H A Dadvappdlg.c67 hdcColorButton = GetDC(hwndColorButton); in UpdateButtonColor()
114 hdcColorButton = GetDC(hwndColorButton); in InitColorButtons()
237 hdcDlg = GetDC(hwndDlg); in UpdateControls()
264 HDC hdcDlg = GetDC(hwndDlg); in SaveCurrentValues()
418 hScreenDC = GetDC(0); in AdvAppearanceDlg_Init()
595 hdcDlg = GetDC(hwndDlg); in AdvAppearanceDlgProc()
/reactos/dll/win32/ole32/
H A Dole32_main.c89 hdcScreen = GetDC(NULL); in OleMetafilePictFromIconAndLabel()
129 hdcScreen = GetDC(NULL); in OleMetafilePictFromIconAndLabel()
/reactos/modules/rostests/dibtests/palbitblt/
H A Dpal.c51 hDC = GetDC(ActiveWindow); in DoBlt()
90 hDC = GetDC(ActiveWindow); in InitBitmap()
/reactos/modules/rosapps/templates/mdi/
H A Dchildwnd.c48 HDC hdc = GetDC(hWnd); in draw_splitbar()
197 HDC hdc = GetDC(hWnd); in ChildWndProc()
/reactos/win32ss/user/user32_vista/
H A Ddpi.c27 hDC = GetDC(NULL); in GetDpiForSystem()
/reactos/modules/rosapps/applications/screensavers/matrix/
H A Dmessage.c52 hdc = GetDC(NULL); in SetMatrixMessage()
207 hdc = GetDC(hwnd); in SetMessageFont()
/reactos/dll/directx/ddraw/Surface/
H A Dcallbacks_surf_hel.c86 hDC = GetDC((HWND)lpLockData->lpDDSurface->lpSurfMore->lpDD_lcl->hFocusWnd); in HelDdSurfLock()
202 hDC = GetDC((HWND)lpUnLockData->lpDDSurface->lpSurfMore->lpDD_lcl->hFocusWnd); in HelDdSurfUnlock()
/reactos/modules/rostests/winetests/gdi32/
H A Dpath.c313 HDC hdc = GetDC(0); in test_widenpath()
485 HDC hdc = GetDC(0); in test_arcto()
533 HDC hdc = GetDC(0); in test_anglearc()
612 HDC hdc = GetDC(0); in test_polydraw()
697 HDC hdc = GetDC(0); in test_closefigure()
927 HDC hdc = GetDC( 0 ); in test_rectangle()
1294 HDC hdc = GetDC( 0 ); in test_roundrect()
1668 HDC hdc = GetDC( 0 ); in test_ellipse()
1869 HDC hdc = GetDC( 0 ); in test_all_functions()
H A Dpalette.c43 HDC hdc = GetDC( NULL ); in test_DIB_PAL_COLORS()
155 hdc = GetDC(0); in test_halftone_palette()
298 hdc = GetDC(0); in test_system_palette_entries()
/reactos/sdk/lib/3rdparty/cardlib/
H A Dcardrgnmouse.cpp323 hdc = GetDC((HWND)parentWnd); in OnLButtonUp()
358 hdc = GetDC((HWND)parentWnd); in OnLButtonUp()
382 hdc = GetDC((HWND)parentWnd); in OnMouseMove()

12345678910>>...12