mpr: Don't stop enumeration on the first failing network provider.
[wine.git] / include / d3dx11core.idl
blobd47463cc8fcea44d72b836744ffd07c7cf801b6d
1 /*
2 * Copyright 2016 Andrey Gusev
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 "dxgi.idl";
22 import "d3dcommon.idl";
25 object,
26 local,
27 pointer_default(unique)
29 interface ID3DX11DataLoader
31 HRESULT Load();
32 HRESULT Decompress([out] void **data, [in] SIZE_T *bytes);
33 HRESULT Destroy();
37 object,
38 local,
39 pointer_default(unique)
41 interface ID3DX11DataProcessor
43 HRESULT Process([in] void *data, [in] SIZE_T bytes);
44 HRESULT CreateDeviceObject([out] void **data_object);
45 HRESULT Destroy();
49 object,
50 local,
51 pointer_default(unique),
52 uuid(c93fecfa-6967-478a-abbc-402d90621fcb)
54 interface ID3DX11ThreadPump : IUnknown
56 HRESULT AddWorkItem([in] ID3DX11DataLoader *loader, [in] ID3DX11DataProcessor *processor,
57 [in] HRESULT *hresult, [out] void **device_object);
58 UINT GetWorkItemCount();
60 HRESULT WaitForAllItems();
61 HRESULT ProcessDeviceWorkItems([in] UINT count);
63 HRESULT PurgeAllItems();
64 HRESULT GetQueueStatus([in] UINT *io_queue, [in] UINT *process_queue, [in] UINT *device_queue);