VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.h@ 30215

Last change on this file since 30215 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1/** @file
2 *
3 * VirtualBox Windows NT/2000/XP guest video driver
4 *
5 * Display driver screen DirectDraw entry points.
6 *
7 * Copyright (C) 2006-2007 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17#ifndef __VBOX_DD_H__
18#define __VBOX_DD_H__
19
20#include <winddi.h>
21
22BOOL APIENTRY DrvGetDirectDrawInfo(DHPDEV dhpdev, DD_HALINFO *pHalInfo, DWORD *pdwNumHeaps, VIDEOMEMORY *pvmList, DWORD *pdwNumFourCCCodes, DWORD *pdwFourCC);
23BOOL APIENTRY DrvEnableDirectDraw(DHPDEV dhpdev, DD_CALLBACKS *pCallBacks, DD_SURFACECALLBACKS *pSurfaceCallBacks, DD_PALETTECALLBACKS *pPaletteCallBacks);
24VOID APIENTRY DrvDisableDirectDraw(DHPDEV dhpdev);
25DWORD CALLBACK DdGetDriverInfo(DD_GETDRIVERINFODATA *lpData);
26DWORD APIENTRY DdCreateSurface(PDD_CREATESURFACEDATA lpCreateSurface);
27DWORD APIENTRY DdCanCreateSurface(PDD_CANCREATESURFACEDATA lpCanCreateSurface);
28DWORD APIENTRY DdDestroySurface(PDD_DESTROYSURFACEDATA lpDestroySurface);
29DWORD APIENTRY DdLock(PDD_LOCKDATA lpLock);
30DWORD APIENTRY DdUnlock(PDD_UNLOCKDATA lpUnlock);
31DWORD APIENTRY DdFreeDriverMemory(PDD_FREEDRIVERMEMORYDATA lpFreeDriverMemory);
32DWORD APIENTRY DdSetExclusiveMode(PDD_SETEXCLUSIVEMODEDATA lpSetExclusiveMode);
33DWORD APIENTRY DdFlipToGDISurface(PDD_FLIPTOGDISURFACEDATA lpFlipToGDISurface);
34HBITMAP DrvDeriveSurface(DD_DIRECTDRAW_GLOBAL* pDirectDraw, DD_SURFACE_LOCAL* pSurface);
35DWORD CALLBACK DdMapMemory(PDD_MAPMEMORYDATA lpMapMemory);
36
37#ifdef VBOX_WITH_VIDEOHWACCEL
38DWORD APIENTRY DdSetColorKey(PDD_SETCOLORKEYDATA lpSetColorKey);
39DWORD APIENTRY DdAddAttachedSurface(PDD_ADDATTACHEDSURFACEDATA lpAddAttachedSurface);
40DWORD APIENTRY DdBlt(PDD_BLTDATA lpBlt);
41DWORD APIENTRY DdFlip(PDD_FLIPDATA lpFlip);
42DWORD APIENTRY DdGetBltStatus(PDD_GETBLTSTATUSDATA lpGetBltStatus);
43DWORD APIENTRY DdGetFlipStatus(PDD_GETFLIPSTATUSDATA lpGetFlipStatus);
44DWORD APIENTRY DdSetOverlayPosition(PDD_SETOVERLAYPOSITIONDATA lpSetOverlayPosition);
45DWORD APIENTRY DdUpdateOverlay(PDD_UPDATEOVERLAYDATA lpUpdateOverlay);
46#endif
47
48#endif /* __VBOX_DD_H__*/
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette