1 | /** @file
|
---|
2 | *
|
---|
3 | * VBoxVideo Display D3D User mode dll
|
---|
4 | *
|
---|
5 | * Copyright (C) 2010 Oracle Corporation
|
---|
6 | *
|
---|
7 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | * available from http://www.virtualbox.org. This file is free software;
|
---|
9 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | * General Public License (GPL) as published by the Free Software
|
---|
11 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | */
|
---|
15 | #ifndef ___VBoxUhgsmiKmt_h__
|
---|
16 | #define ___VBoxUhgsmiKmt_h__
|
---|
17 |
|
---|
18 | #include "VBoxUhgsmiBase.h"
|
---|
19 | #include "VBoxDispD3DCmn.h"
|
---|
20 |
|
---|
21 |
|
---|
22 | typedef struct VBOXUHGSMI_PRIVATE_KMT
|
---|
23 | {
|
---|
24 | VBOXUHGSMI_PRIVATE_BASE BasePrivate;
|
---|
25 | VBOXDISPKMT_CALLBACKS Callbacks;
|
---|
26 | VBOXDISPKMT_ADAPTER Adapter;
|
---|
27 | VBOXDISPKMT_DEVICE Device;
|
---|
28 | VBOXDISPKMT_CONTEXT Context;
|
---|
29 | } VBOXUHGSMI_PRIVATE_KMT, *PVBOXUHGSMI_PRIVATE_KMT;
|
---|
30 |
|
---|
31 | #define VBOXUHGSMIKMT_GET_PRIVATE(_p, _t) ((_t*)(((uint8_t*)_p) - RT_OFFSETOF(_t, BasePrivate.Base)))
|
---|
32 | #define VBOXUHGSMIKMT_GET(_p) VBOXUHGSMIKMT_GET_PRIVATE(_p, VBOXUHGSMI_PRIVATE_KMT)
|
---|
33 |
|
---|
34 | HRESULT vboxUhgsmiKmtCreate(PVBOXUHGSMI_PRIVATE_KMT pHgsmi, BOOL bD3D);
|
---|
35 | HRESULT vboxUhgsmiKmtDestroy(PVBOXUHGSMI_PRIVATE_KMT pHgsmi);
|
---|
36 |
|
---|
37 | HRESULT vboxUhgsmiKmtEscCreate(PVBOXUHGSMI_PRIVATE_KMT pHgsmi, BOOL bD3D);
|
---|
38 |
|
---|
39 |
|
---|
40 | #endif /* #ifndef ___VBoxUhgsmiKmt_h__ */
|
---|