Searched defs:hdc (Results 1 - 25 of 34) sorted by relevance

12

/vbox/src/libs/xpcom18a4/xpcom/tests/windows/
H A DTestHelloXPLoop.cpp136 HDC hdc; local
143 hdc = BeginPaint(wnd, &ps);
147 DrawText(hdc, "Hello, XP Event Loop!", -1, &rect,
/vbox/src/VBox/Additions/WINNT/VBoxTray/
H A DVBoxSeamless.cpp55 HDC hdc; member in struct:__anon2041
286 param.hdc = GetDC(HWND_DESKTOP);
340 ReleaseDC(HWND_DESKTOP, param.hdc);
H A DVBoxDispIf.cpp587 HDC hdc = GetDC(HWND_DESKTOP); local
589 int iRet = ExtEscape(hdc, pEscape->escapeCode,
594 ReleaseDC(HWND_DESKTOP, hdc);
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dicd_drv.c59 * the pixel format of the given hdc.
61 static GLuint ComputeVisBits( HDC hdc )
67 iPixelFormat = GetPixelFormat( hdc );
69 DescribePixelFormat( hdc, iPixelFormat, sizeof(pfd), &pfd );
110 PICDTABLE APIENTRY DrvSetContext(HDC hdc, HGLRC hglrc, void *callback) argument
118 /*crDebug( "DrvSetContext called(0x%x, 0x%x)", hdc, hglrc );*/
125 window = stubGetWindowInfo(hdc);
135 BOOL APIENTRY DrvSetPixelFormat(HDC hdc, int iPixelFormat) argument
138 crDebug( "DrvSetPixelFormat(0x%x, %i) called.", hdc, iPixelFormat );
147 HGLRC APIENTRY DrvCreateContext(HDC hdc) argument
177 DrvCreateLayerContext(HDC hdc, int iLayerPlane) argument
191 DrvDescribeLayerPlane(HDC hdc,int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd) argument
201 DrvGetLayerPaletteEntries(HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr) argument
211 DrvDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR pfd) argument
317 DrvSetLayerPaletteEntries(HDC hdc, int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pcr) argument
327 DrvRealizeLayerPalette(HDC hdc, int iLayerPlane, BOOL bRealize) argument
334 DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes) argument
349 DrvSwapBuffers(HDC hdc) argument
[all...]
H A Dwgl.c39 * the pixel format of the given hdc.
41 static GLuint ComputeVisBits( HDC hdc )
47 iPixelFormat = GetPixelFormat( hdc );
49 DescribePixelFormat( hdc, iPixelFormat, sizeof(pfd), &pfd );
70 DECLEXPORT(int) WINAPI wglChoosePixelFormat_prox( HDC hdc, CONST PIXELFORMATDESCRIPTOR *pfd ) argument
167 DECLEXPORT(BOOL) WINAPI wglSetPixelFormat_prox( HDC hdc, int pixelFormat,
186 DECLEXPORT(BOOL) WINAPI wglMakeCurrent_prox( HDC hdc, HGLRC hglrc )
198 window = stubGetWindowInfo(hdc);
230 DECLEXPORT(int) WINAPI wglGetPixelFormat_prox( HDC hdc )
237 DECLEXPORT(int) WINAPI wglDescribePixelFormat_prox( HDC hdc, in argument
526 wglSetLayerPaletteEntries_prox( HDC hdc, int layerPlane, int start, int entries, CONST COLORREF *cr ) argument
534 wglGetLayerPaletteEntries_prox( HDC hdc, int layerPlane, int start, int entries, COLORREF *cr ) argument
1000 wglGetExtensionsStringARB_prox(HDC hdc) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/
H A Dsurface.c315 TRACE("iface %p, hdc %p.\n", iface, phdc);
331 static HRESULT WINAPI IDirect3DSurface9Impl_ReleaseDC(LPDIRECT3DSURFACE9 iface, HDC hdc) { argument
335 TRACE("iface %p, hdc %p.\n", iface, hdc);
338 hr = IWineD3DSurface_ReleaseDC(This->wineD3DSurface, hdc);
/vbox/src/VBox/Main/xml/
H A Dovfreader.cpp544 HardDiskController hdc; local
545 hdc.system = HardDiskController::IDE;
546 hdc.idController = i.ulInstanceID;
547 hdc.strControllerType = i.strResourceSubType;
549 hdc.lAddress = i.lAddress;
553 hdc.fPrimary = true;
560 && hdc.lAddress == 1
564 hdc.fPrimary = false;
567 && hdc.lAddress == 0
571 hdc
594 HardDiskController hdc; local
667 HardDiskController hdc; local
[all...]
/vbox/src/libs/libpng-1.2.8/contrib/gregbook/
H A Drpng-win.c604 HDC hdc; local
614 hdc = BeginPaint(hwnd, &ps);
616 rc = StretchDIBits(hdc, 0, 0, image_width, image_height,
H A Drpng2-win.c708 HDC hdc = GetDC(global_hwnd); local
711 GetTextMetrics(hdc, &tm);
714 SetBkMode(hdc, TRANSPARENT);
715 SetTextColor(hdc, GetSysColor(COLOR_HIGHLIGHTTEXT));
717 TextOut(hdc, ((x < 0)? 0 : x), ((y < 0)? 0 : y), msg, len);
718 ReleaseDC(global_hwnd, hdc);
1131 HDC hdc; local
1141 hdc = BeginPaint(hwnd, &ps);
1142 rc = StretchDIBits(hdc, 0, 0, rpng2_info.width, rpng2_info.height,
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Ddirectx.c1944 HDC hdc; local
2611 hdc = pwglGetCurrentDC();
2612 if (hdc) {
2615 WGL_Extensions = GL_EXTCALL(wglGetExtensionsStringARB(hdc));
/vbox/src/VBox/HostServices/SharedOpenGL/render/
H A Drenderspu_wgl.c379 bSetupPixelFormat( HDC hdc, GLbitfield visAttribs );
502 bSetupPixelFormatEXT( HDC hdc, GLbitfield visAttribs) argument
598 vis = render_spu.ws.wglChoosePixelFormatEXT( hdc, attribList, fattribList, 1, &pixelFormat, &numFormats);
603 render_spu.ws.wglSetPixelFormat( hdc, pixelFormat, &ppfd );
605 SetPixelFormat( hdc, pixelFormat, &ppfd );
614 bSetupPixelFormatNormal( HDC hdc, GLbitfield visAttribs ) argument
668 pixelformat = render_spu.ws.wglChoosePixelFormat( hdc, ppfd );
670 pixelformat = render_spu.ws.wglChoosePixelFormat( hdc, ppfd );
675 if ( !render_spu.ws.wglSetPixelFormat( hdc, pixelformat, ppfd ) )
680 render_spu.ws.wglDescribePixelFormat( hdc, pixelforma
724 bSetupPixelFormat( HDC hdc, GLbitfield visAttribs ) argument
[all...]
/vbox/src/libs/libpng-1.2.8/contrib/visupng/
H A DVisualPng.c146 static HDC hdc; local
403 hdc = BeginPaint (hwnd, &ps);
406 SetDIBitsToDevice (hdc, 0, 0, cxWinSize, cyWinSize, 0, 0,
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dcontext.c815 if (!VBoxExtReleaseDC(context->win_handle, context->hdc))
818 context->hdc, GetLastError());
824 if (!(context->hdc = VBoxExtGetDC(context->win_handle)))
830 if (!context_set_pixel_format(context->gl_info, context->hdc, context->pixel_format))
833 context->pixel_format, context->hdc);
837 if (!pwglMakeCurrent(context->hdc, context->glCtx))
840 context->glCtx, context->hdc, GetLastError());
884 HWND wnd = WindowFromDC(context->hdc);
890 context->hdc, wnd, context->win_handle, winEr);
957 if (context->valid && restore_ctx != context->glCtx) pwglMakeCurrent(context->hdc, contex
1344 WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, const struct wined3d_format_desc *color_format_desc, const struct wined3d_format_desc *ds_format_desc, BOOL auxBuffers, int numSamples, BOOL findCompatible) argument
1551 HDC hdc; local
[all...]
H A Ddirectx.c270 /* We need a fake window as a hdc retrieved using GetDC(0) can't be used for much GL purposes. */
2192 HDC hdc; local
2746 hdc = pwglGetCurrentDC();
2747 if (hdc) {
2750 WGL_Extensions = GL_EXTCALL(wglGetExtensionsStringARB(hdc));
5425 HDC hdc; local
5460 hdc = fake_gl_ctx.dc;
5484 GL_EXTCALL(wglGetPixelFormatAttribivARB(hdc, 0, 0, 1, &attribute, &adapter->nCfgs));
5502 res = GL_EXTCALL(wglGetPixelFormatAttribivARB(hdc, iPixelFormat, 0, nAttribs, attribs, values));
5527 if(GL_EXTCALL(wglGetPixelFormatAttribivARB(hdc, iPixelForma
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Dgdi_driver.h42 HDC hdc; member in struct:gdi_physdev
231 physdev->hdc = (*dev)->hdc;
286 extern void CDECL __wine_set_visible_region( HDC hdc, HRGN hrgn, const RECT *vis_rect,
288 extern HMODULE CDECL __wine_get_driver_module( HDC hdc );
289 extern struct opengl_funcs * CDECL __wine_get_wgl_driver( HDC hdc, UINT version );
H A Dwinuser16.h303 HDC16 hdc; member in struct:__anon14285
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUISession.cpp1574 HDC hdc = GetDC(NULL); local
1577 hBitmap = CreateDIBSection(hdc, (BITMAPINFO *)&bi, DIB_RGB_COLORS, (void **)&lpBits, NULL, (DWORD) 0);
1579 ReleaseDC(NULL, hdc);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dcontext.c785 if (!context_set_pixel_format(ctx->gl_info, ctx->hdc, ctx->pixel_format))
788 ctx->pixel_format, ctx->hdc);
792 if (backup || !wglMakeCurrent(ctx->hdc, ctx->glCtx))
803 ctx->glCtx, ctx->hdc, GetLastError());
1034 wined3d_release_dc(context->win_handle, context->hdc);
1041 if (!(context->hdc = GetDC(context->win_handle)))
1043 if (!(context->hdc = VBoxExtGetDC(context->win_handle)))
1050 if (!context_set_pixel_format(context->gl_info, context->hdc, context->pixel_format))
1053 context->pixel_format, context->hdc);
1195 wined3d_release_dc(context->win_handle, context->hdc);
1434 context_choose_pixel_format(const struct wined3d_device *device, HDC hdc, const struct wined3d_format *color_format, const struct wined3d_format *ds_format, BOOL auxBuffers, BOOL findCompatible) argument
1635 HDC hdc; local
[all...]
H A Ddirectx.c362 /* We need a fake window as a hdc retrieved using GetDC(0) can't be used for much GL purposes. */
2930 HDC hdc; local
2979 hdc = wglGetCurrentDC();
2982 WGL_Extensions = (const char *)GL_EXTCALL(wglGetExtensionsStringARB(hdc));
5350 HDC hdc = GetDC( 0 ); local
5351 const struct opengl_funcs *wgl_driver = __wine_get_wgl_driver( hdc, WINE_WGL_DRIVER_VERSION );
5352 ReleaseDC( 0, hdc );
/vbox/src/VBox/Main/src-server/
H A DApplianceImplImport.cpp512 const ovf::HardDiskController &hdc = hdcIt->second; local
513 Utf8Str strControllerID = Utf8StrFmt("%RI32", (uint32_t)hdc.idController);
515 switch (hdc.system)
524 if (!hdc.strControllerType.compare("PIIX3", Utf8Str::CaseInsensitive))
526 else if (!hdc.strControllerType.compare("ICH6", Utf8Str::CaseInsensitive))
530 hdc.strControllerType, // aOvfValue
551 hdc.strControllerType,
572 if (!hdc.strControllerType.compare("lsilogicsas", Utf8Str::CaseInsensitive))
578 else if (!hdc.strControllerType.compare("BusLogic", Utf8Str::CaseInsensitive))
582 hdc
2215 i_convertDiskAttachmentValues(const ovf::HardDiskController &hdc, uint32_t ulAddressOnParent, Bstr &controllerType, int32_t &lControllerPort, int32_t &lDevice) argument
3329 ovf::HardDiskController hdc = (*vsysThis.mapControllers.find(ovfVdisk.idController)).second; local
[all...]
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d-ogl.cpp193 BOOL fMakeCurrentRc = wglMakeCurrent((pContext)->hdc, (pContext)->hglrc); \
642 HDC hdc; member in struct:__anon13181
711 SSMFIELD_ENTRY_IGNORE( VMSVGA3DCONTEXT, hdc),
4157 BOOL ret = SwapBuffers(pContext->hdc);
4351 pContext->hdc = GetDC(pContext->hwnd);
4352 AssertMsgReturn(pContext->hdc, ("GetDC %x failed with %d\n", pContext->hwnd, GetLastError()), VERR_INTERNAL_ERROR);
4377 pixelFormat = ChoosePixelFormat(pContext->hdc, &pfd);
4379 pixelFormat = ChoosePixelFormat(pContext->hdc, &pfd);
4382 ret = SetPixelFormat(pContext->hdc, pixelFormat, &pfd);
4385 pContext->hglrc = wglCreateContext(pContext->hdc);
[all...]
/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDL.cpp4570 HDC hdc = ::GetDC(NULL); local
4573 hBitmap = ::CreateDIBSection(hdc, (BITMAPINFO *)&bi, DIB_RGB_COLORS,
4576 ::ReleaseDC(NULL, hdc);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/
H A Dwinuser16.h303 HDC16 hdc; member in struct:__anon1609
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Drichedit.h613 HDC hdc; member in struct:_formatrange
H A Dvfw.h576 HDC hdc, /* HDC to draw to */
595 HDC hdc; member in struct:__anon13896
673 #define ICDrawRealize(hic, hdc, fBackground) \
674 ICSendMessage(hic, ICM_DRAW_REALIZE, (DWORD_PTR)(UINT_PTR)(HDC)(hdc), (DWORD_PTR)(BOOL)(fBackground))
1590 UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground);
1592 BOOL VFWAPI DrawDibBegin(HDRAWDIB hdd, HDC hdc, INT dxDst, INT dyDst,
1595 BOOL VFWAPI DrawDibDraw(HDRAWDIB hdd, HDC hdc, INT xDst, INT yDst, INT dxDst, INT dyDst,
1625 #define DrawDibUpdate(hdd, hdc, x, y) \
1626 DrawDibDraw(hdd, hdc, x, y, 0, 0, NULL, NULL, 0, 0, 0, 0, DDF_UPDATE)

Completed in 256 milliseconds

12