1 | /* $Id: VBoxMPCr.h 40897 2012-04-12 18:16:40Z vboxsync $ */
|
---|
2 |
|
---|
3 | /** @file
|
---|
4 | * VBox WDDM Miniport driver
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Copyright (C) 2012 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 | #ifndef ___VBoxMPCr_h__
|
---|
19 | #define ___VBoxMPCr_h__
|
---|
20 |
|
---|
21 | #include <VBox/VBoxGuestLib.h>
|
---|
22 | #include <VBoxGuestR0LibCrOgl.h>
|
---|
23 |
|
---|
24 | typedef struct VBOXMP_CRCTLCON
|
---|
25 | {
|
---|
26 | HVBOXCRCTL hCrCtl;
|
---|
27 | uint32_t cCrCtlRefs;
|
---|
28 | } VBOXMP_CRCTLCON, *PVBOXMP_CRCTLCON;
|
---|
29 |
|
---|
30 | bool VBoxMpCrCtlConIs3DSupported();
|
---|
31 |
|
---|
32 | int VBoxMpCrCtlConConnect(PVBOXMP_CRCTLCON pCrCtlCon,
|
---|
33 | uint32_t crVersionMajor, uint32_t crVersionMinor,
|
---|
34 | uint32_t *pu32ClientID);
|
---|
35 | int VBoxMpCrCtlConDisconnect(PVBOXMP_CRCTLCON pCrCtlCon, uint32_t u32ClientID);
|
---|
36 | int VBoxMpCrCtlConCall(PVBOXMP_CRCTLCON pCrCtlCon, struct VBoxGuestHGCMCallInfo *pData, uint32_t cbData);
|
---|
37 | int VBoxMpCrCtlConCallUserData(PVBOXMP_CRCTLCON pCrCtlCon, struct VBoxGuestHGCMCallInfo *pData, uint32_t cbData);
|
---|
38 |
|
---|
39 | #endif /* #ifndef ___VBoxMPCr_h__ */
|
---|