riched20: Remove unneeded NONAMELESSXXX directives.
[wine/multimedia.git] / include / d3d11_1.idl
blob928548fa7bac196a86ca97be0e905c6f89378da1
1 /*
2 * Copyright 2014 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "oaidl.idl";
20 import "ocidl.idl";
21 import "dxgi1_2.idl";
22 import "d3dcommon.idl";
23 import "d3d11.idl";
26 uuid(5c1e0d8a-7c23-48f9-8c59-a92958ceff11),
27 object,
28 local,
29 pointer_default(unique)
31 interface ID3DDeviceContextState : ID3D11DeviceChild
36 uuid(bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1),
37 object,
38 local,
39 pointer_default(unique)
41 interface ID3D11DeviceContext1 : ID3D11DeviceContext
43 void CopySubresourceRegion1(
44 ID3D11Resource *pDstResource,
45 UINT DstSubresource,
46 UINT DstX,
47 UINT DstY,
48 UINT DstZ,
49 ID3D11Resource *pSrcResource,
50 UINT SrcSubresource,
51 const D3D11_BOX *pSrcBox,
52 UINT CopyFlags);
54 void UpdateSubresource1(
55 ID3D11Resource *pDstResource,
56 UINT DstSubresource,
57 const D3D11_BOX *pDstBox,
58 const void *pSrcData,
59 UINT SrcRowPitch,
60 UINT SrcDepthPitch,
61 UINT CopyFlags);
63 void DiscardResource(ID3D11Resource *pResource);
65 void DiscardView(ID3D11View *pResourceView);
67 void VSSetConstantBuffers1(
68 UINT StartSlot,
69 UINT NumBuffers,
70 ID3D11Buffer *const *ppConstantBuffers,
71 const UINT *pFirstConstant,
72 const UINT *pNumConstants);
74 void HSSetConstantBuffers1(
75 UINT StartSlot,
76 UINT NumBuffers,
77 ID3D11Buffer *const *ppConstantBuffers,
78 const UINT *pFirstConstant,
79 const UINT *pNumConstants);
81 void DSSetConstantBuffers1(
82 UINT StartSlot,
83 UINT NumBuffers,
84 ID3D11Buffer *const *ppConstantBuffers,
85 const UINT *pFirstConstant,
86 const UINT *pNumConstants);
88 void GSSetConstantBuffers1(
89 UINT StartSlot,
90 UINT NumBuffers,
91 ID3D11Buffer *const *ppConstantBuffers,
92 const UINT *pFirstConstant,
93 const UINT *pNumConstants);
95 void PSSetConstantBuffers1(
96 UINT StartSlot,
97 UINT NumBuffers,
98 ID3D11Buffer *const *ppConstantBuffers,
99 const UINT *pFirstConstant,
100 const UINT *pNumConstants);
102 void CSSetConstantBuffers1(
103 UINT StartSlot,
104 UINT NumBuffers,
105 ID3D11Buffer *const *ppConstantBuffers,
106 const UINT *pFirstConstant,
107 const UINT *pNumConstants);
109 void VSGetConstantBuffers1(
110 UINT StartSlot,
111 UINT NumBuffers,
112 ID3D11Buffer **ppConstantBuffers,
113 UINT *pFirstConstant,
114 UINT *pNumConstants);
116 void HSGetConstantBuffers1(
117 UINT StartSlot,
118 UINT NumBuffers,
119 ID3D11Buffer **ppConstantBuffers,
120 UINT *pFirstConstant,
121 UINT *pNumConstants);
123 void DSGetConstantBuffers1(
124 UINT StartSlot,
125 UINT NumBuffers,
126 ID3D11Buffer **ppConstantBuffers,
127 UINT *pFirstConstant,
128 UINT *pNumConstants);
130 void GSGetConstantBuffers1(
131 UINT StartSlot,
132 UINT NumBuffers,
133 ID3D11Buffer **ppConstantBuffers,
134 UINT *pFirstConstant,
135 UINT *pNumConstants);
137 void PSGetConstantBuffers1(
138 UINT StartSlot,
139 UINT NumBuffers,
140 ID3D11Buffer **ppConstantBuffers,
141 UINT *pFirstConstant,
142 UINT *pNumConstants);
144 void CSGetConstantBuffers1(
145 UINT StartSlot,
146 UINT NumBuffers,
147 ID3D11Buffer **ppConstantBuffers,
148 UINT *pFirstConstant,
149 UINT *pNumConstants);
151 void SwapDeviceContextState(
152 ID3DDeviceContextState *pState,
153 ID3DDeviceContextState **ppPreviousState);
155 void ClearView(
156 ID3D11View *pView,
157 FLOAT Color[4],
158 const D3D11_RECT *pRect,
159 UINT NumRects);
161 void DiscardView1(
162 ID3D11View *pResourceView,
163 const D3D11_RECT *pRects,
164 UINT NumRects);
168 uuid(b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab),
169 object,
170 local,
171 pointer_default(unique)
173 interface ID3DUserDefinedAnnotation : IUnknown
175 INT BeginEvent(LPCWSTR Name);
176 INT EndEvent();
177 void SetMarker(LPCWSTR Name);
178 BOOL GetStatus();