VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPCr.h@ 42091

Last change on this file since 42091 was 40897, checked in by vboxsync, 13 years ago

wddm: disable driver load for win8 if 3D support is unavailable

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
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
24typedef struct VBOXMP_CRCTLCON
25{
26 HVBOXCRCTL hCrCtl;
27 uint32_t cCrCtlRefs;
28} VBOXMP_CRCTLCON, *PVBOXMP_CRCTLCON;
29
30bool VBoxMpCrCtlConIs3DSupported();
31
32int VBoxMpCrCtlConConnect(PVBOXMP_CRCTLCON pCrCtlCon,
33 uint32_t crVersionMajor, uint32_t crVersionMinor,
34 uint32_t *pu32ClientID);
35int VBoxMpCrCtlConDisconnect(PVBOXMP_CRCTLCON pCrCtlCon, uint32_t u32ClientID);
36int VBoxMpCrCtlConCall(PVBOXMP_CRCTLCON pCrCtlCon, struct VBoxGuestHGCMCallInfo *pData, uint32_t cbData);
37int VBoxMpCrCtlConCallUserData(PVBOXMP_CRCTLCON pCrCtlCon, struct VBoxGuestHGCMCallInfo *pData, uint32_t cbData);
38
39#endif /* #ifndef ___VBoxMPCr_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