1 | /* $Id: VBoxDispDDraw.h 37423 2011-06-12 18:37:56Z vboxsync $ */
|
---|
2 |
|
---|
3 | /** @file
|
---|
4 | * VBox XPDM Display driver, direct draw callbacks
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Copyright (C) 2011 Oracle Corporation
|
---|
9 | *
|
---|
10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | * General Public License (GPL) as published by the Free Software
|
---|
14 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | */
|
---|
18 |
|
---|
19 | #ifndef VBOXDISPDDRAW_H
|
---|
20 | #define VBOXDISPDDRAW_H
|
---|
21 |
|
---|
22 | #include <winddi.h>
|
---|
23 |
|
---|
24 | DWORD APIENTRY VBoxDispDDCanCreateSurface(PDD_CANCREATESURFACEDATA lpCanCreateSurface);
|
---|
25 | DWORD APIENTRY VBoxDispDDCreateSurface(PDD_CREATESURFACEDATA lpCreateSurface);
|
---|
26 | DWORD APIENTRY VBoxDispDDDestroySurface(PDD_DESTROYSURFACEDATA lpDestroySurface);
|
---|
27 | DWORD APIENTRY VBoxDispDDLock(PDD_LOCKDATA lpLock);
|
---|
28 | DWORD APIENTRY VBoxDispDDUnlock(PDD_UNLOCKDATA lpUnlock);
|
---|
29 | DWORD APIENTRY VBoxDispDDMapMemory(PDD_MAPMEMORYDATA lpMapMemory);
|
---|
30 |
|
---|
31 | #ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
32 | int VBoxDispVHWAUpdateDDHalInfo(PVBOXDISPDEV pDev, DD_HALINFO *pHalInfo);
|
---|
33 |
|
---|
34 | DWORD APIENTRY VBoxDispDDGetDriverInfo(DD_GETDRIVERINFODATA *lpData);
|
---|
35 | DWORD APIENTRY VBoxDispDDSetColorKey(PDD_SETCOLORKEYDATA lpSetColorKey);
|
---|
36 | DWORD APIENTRY VBoxDispDDAddAttachedSurface(PDD_ADDATTACHEDSURFACEDATA lpAddAttachedSurface);
|
---|
37 | DWORD APIENTRY VBoxDispDDBlt(PDD_BLTDATA lpBlt);
|
---|
38 | DWORD APIENTRY VBoxDispDDFlip(PDD_FLIPDATA lpFlip);
|
---|
39 | DWORD APIENTRY VBoxDispDDGetBltStatus(PDD_GETBLTSTATUSDATA lpGetBltStatus);
|
---|
40 | DWORD APIENTRY VBoxDispDDGetFlipStatus(PDD_GETFLIPSTATUSDATA lpGetFlipStatus);
|
---|
41 | DWORD APIENTRY VBoxDispDDSetOverlayPosition(PDD_SETOVERLAYPOSITIONDATA lpSetOverlayPosition);
|
---|
42 | DWORD APIENTRY VBoxDispDDUpdateOverlay(PDD_UPDATEOVERLAYDATA lpUpdateOverlay);
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #endif /*VBOXDISPDDRAW_H*/
|
---|