comctl32/tests: Use CRT allocation functions.
[wine.git] / include / windows.graphics.directx.direct3d11.idl
blobf53140545b066a97b373054aa0bde80e81ec1e6a
1 /*
2 * Copyright (C) 2023 Mohamad Al-Jaf
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 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
23 import "inspectable.idl";
24 import "asyncinfo.idl";
25 import "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28 import "windows.graphics.directx.idl";
30 namespace Windows.Graphics.DirectX.Direct3D11 {
31 typedef struct Direct3DMultisampleDescription Direct3DMultisampleDescription;
32 typedef struct Direct3DSurfaceDescription Direct3DSurfaceDescription;
34 interface IDirect3DDevice;
37 contract(Windows.Foundation.UniversalApiContract, 1.0)
39 struct Direct3DMultisampleDescription
41 INT32 Count;
42 INT32 Quality;
46 contract(Windows.Foundation.UniversalApiContract, 1.0)
48 struct Direct3DSurfaceDescription
50 INT32 Width;
51 INT32 Height;
52 Windows.Graphics.DirectX.DirectXPixelFormat Format;
53 Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription MultisampleDescription;
57 contract(Windows.Foundation.UniversalApiContract, 1.0),
58 uuid(a37624ab-8d5f-4650-9d3e-9eae3d9bc670)
60 interface IDirect3DDevice : IInspectable
61 requires Windows.Foundation.IClosable
63 HRESULT Trim();