d3d11.idl: Added CD3D11_QUERY_DESC declaration.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-05-19 13:16:08 +02:00 committed by Alexandre Julliard
parent 986306cddb
commit 808b00d6e0
1 changed files with 15 additions and 0 deletions

View File

@ -632,6 +632,21 @@ typedef struct D3D11_QUERY_DESC
UINT MiscFlags; UINT MiscFlags;
} D3D11_QUERY_DESC; } D3D11_QUERY_DESC;
cpp_quote("#if !defined(D3D11_NO_HELPERS) && defined(__cplusplus)")
cpp_quote("struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC {")
cpp_quote(" CD3D11_QUERY_DESC() {}")
cpp_quote(" ~CD3D11_QUERY_DESC() {}")
cpp_quote(" explicit CD3D11_QUERY_DESC(const D3D11_QUERY_DESC &other) : D3D11_QUERY_DESC(other) {}")
cpp_quote(" explicit CD3D11_QUERY_DESC(D3D11_QUERY query, UINT misc_flags = 0) {")
cpp_quote(" Query = query;")
cpp_quote(" MiscFlags = misc_flags;")
cpp_quote(" }")
cpp_quote(" operator const D3D11_QUERY_DESC&() const {")
cpp_quote(" return *this;")
cpp_quote(" }")
cpp_quote("};")
cpp_quote("#endif")
typedef struct D3D11_RASTERIZER_DESC typedef struct D3D11_RASTERIZER_DESC
{ {
D3D11_FILL_MODE FillMode; D3D11_FILL_MODE FillMode;