af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2002-2003 The wine-d3d team
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2002-2003 Jason Edmeades
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2002-2003 Raphael Junqueira
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2005 Oliver Stieber
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2006 Stefan Dösinger
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2006 Stefan Dösinger for CodeWeavers
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2007 Henri Verbeet
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2008 Henri Verbeet for CodeWeavers
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport "unknwn.idl";
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define MAKE_WINED3DSTATUS(code) MAKE_HRESULT(0, _FACWINED3D, code)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DOK_NOAUTOGEN MAKE_WINED3DSTATUS(2159)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define MAKE_WINED3DHRESULT(code) MAKE_HRESULT(1, _FACWINED3D, code)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_WRONGTEXTUREFORMAT MAKE_WINED3DHRESULT(2072)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_UNSUPPORTEDCOLOROPERATION MAKE_WINED3DHRESULT(2073)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_UNSUPPORTEDCOLORARG MAKE_WINED3DHRESULT(2074)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_UNSUPPORTEDALPHAOPERATION MAKE_WINED3DHRESULT(2075)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_UNSUPPORTEDALPHAARG MAKE_WINED3DHRESULT(2076)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_TOOMANYOPERATIONS MAKE_WINED3DHRESULT(2077)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_CONFLICTINGTEXTUREFILTER MAKE_WINED3DHRESULT(2078)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_UNSUPPORTEDFACTORVALUE MAKE_WINED3DHRESULT(2079)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_CONFLICTINGRENDERSTATE MAKE_WINED3DHRESULT(2081)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_WINED3DHRESULT(2082)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_CONFLICTINGTEXTUREPALETTE MAKE_WINED3DHRESULT(2086)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_DRIVERINTERNALERROR MAKE_WINED3DHRESULT(2087)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_NOTFOUND MAKE_WINED3DHRESULT(2150)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_MOREDATA MAKE_WINED3DHRESULT(2151)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_DEVICELOST MAKE_WINED3DHRESULT(2152)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_DEVICENOTRESET MAKE_WINED3DHRESULT(2153)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_NOTAVAILABLE MAKE_WINED3DHRESULT(2154)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_OUTOFVIDEOMEMORY MAKE_WINED3DHRESULT(380)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_INVALIDDEVICE MAKE_WINED3DHRESULT(2155)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_INVALIDCALL MAKE_WINED3DHRESULT(2156)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_DRIVERINVALIDCALL MAKE_WINED3DHRESULT(2157)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DERR_WASSTILLDRAWING MAKE_WINED3DHRESULT(540)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_NOTAOVERLAYSURFACE MAKE_WINED3DHRESULT(580)")
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsynccpp_quote("#define WINEDDERR_NOTLOCKED MAKE_WINED3DHRESULT(584)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_NODC MAKE_WINED3DHRESULT(586)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_DCALREADYCREATED MAKE_WINED3DHRESULT(620)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_NOTFLIPPABLE MAKE_WINED3DHRESULT(582)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_SURFACEBUSY MAKE_WINED3DHRESULT(430)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_INVALIDRECT MAKE_WINED3DHRESULT(150)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_NOCLIPLIST MAKE_WINED3DHRESULT(205)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINEDDERR_OVERLAYNOTVISIBLE MAKE_WINED3DHRESULT(577)")
ee6bcfc59fe3b0230aad85e2ef63d0402b7719b2vboxsync ((unsigned long)(unsigned char)(ch0) | ((unsigned long)(unsigned char)(ch1) << 8) | \
ee6bcfc59fe3b0230aad85e2ef63d0402b7719b2vboxsync ((unsigned long)(unsigned char)(ch2) << 16) | ((unsigned long)(unsigned char)(ch3) << 24))
5112e32d7072e280613921c982a6672f2c859cf3vboxsync /* FOURCC formats. */
ee6bcfc59fe3b0230aad85e2ef63d0402b7719b2vboxsync WINED3DFMT_MULTI2_ARGB8 = WINEMAKEFOURCC('M','E','T','1'),
ee6bcfc59fe3b0230aad85e2ef63d0402b7719b2vboxsync WINED3DFMT_G8R8_G8B8 = WINEMAKEFOURCC('G','R','G','B'),
ee6bcfc59fe3b0230aad85e2ef63d0402b7719b2vboxsync WINED3DFMT_R8G8_B8G8 = WINEMAKEFOURCC('R','G','B','G'),
ee6bcfc59fe3b0230aad85e2ef63d0402b7719b2vboxsync WINED3DFMT_ATI2N = WINEMAKEFOURCC('A','T','I','2'),
af062818b47340eef15700d2f0211576ba3506eevboxsync WINED3DRS_TRANSLUCENTSORTINDEPENDENT = 51, /* d3d7 */
af062818b47340eef15700d2f0211576ba3506eevboxsync WINED3DRS_SOFTWAREVERTEXPROCESSING = 153, /* d3d8 */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEHIGHEST_RENDER_STATE = WINED3DRS_BLENDOPALPHA;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3D_HIGHEST_SAMPLER_STATE = WINED3DSAMP_DMAPOFFSET;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3D_HIGHEST_TEXTURE_STATE = WINED3DTSS_CONSTANT;
5112e32d7072e280613921c982a6672f2c859cf3vboxsync WINED3DTS_WORLD = 256, /*WINED3DTS_WORLDMATRIX(0)*/
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DTS_WORLDMATRIX(index) (WINED3DTRANSFORMSTATETYPE)(index + 256)")
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncconst UINT WINED3DRTYPECOUNT = WINED3DRTYPE_BUFFER + 1;
af062818b47340eef15700d2f0211576ba3506eevboxsync SURFACE_UNKNOWN = 0, /* Default / Unknown surface type */
af062818b47340eef15700d2f0211576ba3506eevboxsync SURFACE_OPENGL, /* OpenGL surface: Renders using libGL, needed for 3D */
af062818b47340eef15700d2f0211576ba3506eevboxsync SURFACE_GDI, /* User surface. No 3D, DirectDraw rendering with GDI */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTSS_TCI_CAMERASPACENORMAL = 0x10000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTSS_TCI_CAMERASPACEPOSITION = 0x20000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR = 0x30000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENTFLAG_LOCKABLE_BACKBUFFER = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENTFLAG_DISCARD_DEPTHSTENCIL = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENTFLAG_DEVICECLIP = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENTFLAG_NOAUTOROTATE = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENTFLAG_UNPRUNEDMODE = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DUSAGE_SOFTWAREPROCESSING = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DUSAGE_QUERY_LEGACYBUMPMAP = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DUSAGE_QUERY_SRGBREAD = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DUSAGE_QUERY_SRGBWRITE = 0x00040000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DUSAGE_QUERY_VERTEXTEXTURE = 0x00100000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DUSAGE_QUERY_WRAPANDMIP = 0x00200000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENT_RATE_DEFAULT = 0x000000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENT_INTERVAL_DEFAULT = 0x00000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENT_INTERVAL_ONE = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENT_INTERVAL_TWO = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENT_INTERVAL_THREE = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENT_INTERVAL_FOUR = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRESENT_INTERVAL_IMMEDIATE = 0x80000000;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* FVF (Flexible Vertex Format) codes */
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DFVF_TEXCOORDSIZE1(CoordIndex) (WINED3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DFVF_TEXCOORDSIZE2(CoordIndex) (WINED3DFVF_TEXTUREFORMAT2)")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DFVF_TEXCOORDSIZE3(CoordIndex) (WINED3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define WINED3DFVF_TEXCOORDSIZE4(CoordIndex) (WINED3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))")
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Clear flags */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Stream source flags */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DSTREAMSOURCE_INDEXEDDATA = (1 << 30);
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DSTREAMSOURCE_INSTANCEDATA = (2 << 30);
af062818b47340eef15700d2f0211576ba3506eevboxsync/* SetPrivateData flags */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* IWineD3D::CreateDevice behaviour flags */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCREATE_SOFTWARE_VERTEXPROCESSING = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCREATE_HARDWARE_VERTEXPROCESSING = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCREATE_MIXED_VERTEXPROCESSING = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCREATE_DISABLE_DRIVER_MANAGEMENT = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCREATE_ADAPTERGROUP_DEVICE = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* VTF defines */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVERTEXTEXTURESAMPLER0 = (WINED3DDMAPSAMPLER + 1);
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVERTEXTEXTURESAMPLER1 = (WINED3DDMAPSAMPLER + 2);
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVERTEXTEXTURESAMPLER2 = (WINED3DDMAPSAMPLER + 3);
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVERTEXTEXTURESAMPLER3 = (WINED3DDMAPSAMPLER + 4);
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS3_LINEAR_TO_SRGB_PRESENTATION = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS3_COPY_TO_VIDMEM = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS3_COPY_TO_SYSTEMMEM = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS2_STREAMOFFSET = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS2_ADAPTIVETESSRTPATCH = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS2_ADAPTIVETESSNPATCH = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS2_PRESAMPLEDDMAPNPATCH = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DFVFCAPS_TEXCOORDCOUNTMASK = 0x0000ffff;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DFVFCAPS_DONOTSTRIPELEMENTS = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_INVSRCCOLOR = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_INVSRCALPHA = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_DESTALPHA = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_INVDESTALPHA = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_DESTCOLOR = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_INVDESTCOLOR = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_SRCALPHASAT = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_BOTHSRCALPHA = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_BOTHINVSRCALPHA = 0x00001000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPBLENDCAPS_BLENDFACTOR = 0x00002000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPCMPCAPS_GREATEREQUAL = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_LINEPATTERNREP = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_COLORWRITEENABLE = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_CLIPPLANESCALEDPOINTS = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_CLIPTLVERTS = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_TSSARGTEMP = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_NULLREFERENCE = 0x00001000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS = 0x00004000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_PERSTAGECONSTANT = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_FOGANDSPECULARALPHA = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_SEPARATEALPHABLEND = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS = 0x00040000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPMISCCAPS_FOGVERTEXCLAMPED = 0x00100000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH = 24;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH = 0;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20_MAX_STATICFLOWCONTROLDEPTH = 4;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20_MIN_STATICFLOWCONTROLDEPTH = 0;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20_MAX_NUMINSTRUCTIONSLOTS = 512;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20_MIN_NUMINSTRUCTIONSLOTS = 96;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20CAPS_ARBITRARYSWIZZLE = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20CAPS_GRADIENTINSTRUCTIONS = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20CAPS_PREDICATION = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20CAPS_NODEPENDENTREADLIMIT = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPS20CAPS_NOTEXINSTRUCTIONLIMIT = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTADDRESSCAPS_MIRROR = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTADDRESSCAPS_BORDER = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTADDRESSCAPS_INDEPENDENTUV = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTADDRESSCAPS_MIRRORONCE = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DSTENCILCAPS_TWOSIDED = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_SELECTARG1 = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_SELECTARG2 = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_MODULATE2X = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_MODULATE4X = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_ADDSIGNED2X = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_BLENDDIFFUSEALPHA = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_BLENDTEXTUREALPHA = 0x00001000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_BLENDFACTORALPHA = 0x00002000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_BLENDTEXTUREALPHAPM = 0x00004000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_BLENDCURRENTALPHA = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_PREMODULATE = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_MODULATECOLOR_ADDALPHA = 0x00040000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA = 0x00100000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_BUMPENVMAP = 0x00200000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_BUMPENVMAPLUMINANCE = 0x00400000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_DOTPRODUCT3 = 0x00800000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DTEXOPCAPS_MULTIPLYADD = 0x01000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH = 24;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH = 0;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVS20_MAX_STATICFLOWCONTROLDEPTH = 4;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVS20_MIN_STATICFLOWCONTROLDEPTH = 1;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVS20CAPS_PREDICATION = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS2_NO2DDURING3DSCENE = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS2_FULLSCREENGAMMA = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS2_CANRENDERWINDOWED = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS2_CANCALIBRATEGAMMA = 0x00100000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS2_CANMANAGERESOURCE = 0x10000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS2_DYNAMICTEXTURES = 0x20000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DCAPS2_CANAUTOGENMIPMAP = 0x40000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_SUBPIXEL = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_SUBPIXELX = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_FOGVERTEX = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_FOGTABLE = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_ANTIALIASSORTDEPENDENT = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_ANTIALIASEDGES = 0x00001000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_MIPMAPLODBIAS = 0x00002000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_ZBUFFERLESSHSR = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_FOGRANGE = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_ANISOTROPY = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_COLORPERSPECTIVE = 0x00400000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_SCISSORTEST = 0x01000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_SLOPESCALEDEPTHBIAS = 0x02000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_DEPTHBIAS = 0x04000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPRASTERCAPS_MULTISAMPLE_TOGGLE = 0x08000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_COLORFLATMONO = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_COLORFLATRGB = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_COLORGOURAUDMONO = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_COLORGOURAUDRGB = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_COLORPHONGMONO = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_COLORPHONGRGB = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_SPECULARFLATMONO = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_SPECULARFLATRGB = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_SPECULARGOURAUDMONO = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_SPECULARGOURAUDRGB = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_SPECULARPHONGMONO = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_SPECULARPHONGRGB = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_ALPHAFLATBLEND = 0x00001000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_ALPHAFLATSTIPPLED = 0x00002000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_ALPHAGOURAUDBLEND = 0x00004000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_ALPHAGOURAUDSTIPPLED = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_ALPHAPHONGBLEND = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_ALPHAPHONGSTIPPLED = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPSHADECAPS_FOGGOURAUD = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_PERSPECTIVE = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_TRANSPARENCY = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_SQUAREONLY = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_ALPHAPALETTE = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_PROJECTED = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_CUBEMAP = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_COLORKEYBLEND = 0x00001000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_VOLUMEMAP = 0x00002000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_MIPVOLUMEMAP = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_MIPCUBEMAP = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_CUBEMAP_POW2 = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_VOLUMEMAP_POW2 = 0x00040000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTEXTURECAPS_NOPROJECTEDBUMPENV = 0x00200000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_NEAREST = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MIPNEAREST = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MIPLINEAR = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_LINEARMIPNEAREST = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_LINEARMIPLINEAR = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MINFPOINT = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MINFLINEAR = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MINFANISOTROPIC = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MIPFPOINT = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MIPFLINEAR = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MAGFPOINT = 0x01000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MAGFLINEAR = 0x02000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MAGFANISOTROPIC = 0x04000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MAGFPYRAMIDALQUAD = 0x08000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DPTFILTERCAPS_MAGFGAUSSIANQUAD = 0x10000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVTXPCAPS_MATERIALSOURCE7 = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVTXPCAPS_DIRECTIONALLIGHTS = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVTXPCAPS_POSITIONALLIGHTS = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVTXPCAPS_LOCALVIEWER = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVTXPCAPS_TEXGEN_SPHEREMAP = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_FLOATTLVERTEX = 0x00000001;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_SORTINCREASINGZ = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_SORTDECREASINGZ = 0X00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_EXECUTESYSTEMMEMORY = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_EXECUTEVIDEOMEMORY = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_TLVERTEXSYSTEMMEMORY = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_TLVERTEXVIDEOMEMORY = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_TEXTURESYSTEMMEMORY = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_TEXTUREVIDEOMEMORY = 0x00000200;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_DRAWPRIMTLVERTEX = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_CANRENDERAFTERFLIP = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_TEXTURENONLOCALVIDMEM = 0x00001000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_DRAWPRIMITIVES2 = 0x00002000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_SEPARATETEXTUREMEMORIES = 0x00004000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_DRAWPRIMITIVES2EX = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_HWTRANSFORMANDLIGHT = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_CANBLTSYSTONONLOCAL = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_HWRASTERIZATION = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_QUINTICRTPATCHES = 0x00200000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINED3DDEVCAPS_RTPATCHHANDLEZERO = 0x00800000;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwDDFX */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* arithmetic stretching along y axis */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* mirror on y axis */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLTFX_MIRRORLEFTRIGHT = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* mirror on x axis */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* do not tear */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* 180 degrees clockwise rotation */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* 270 degrees clockwise rotation */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* 90 degrees clockwise rotation */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwZBufferLow and dwZBufferHigh specify limits to the copied Z values */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* add dwZBufferBaseDest to every source z value before compare */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLTFX_ZBUFFERBASEDEST = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwFlags for Blt* */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ALPHADESTCONSTOVERRIDE = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ALPHADESTSURFACEOVERRIDE = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ALPHASRCCONSTOVERRIDE = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ALPHASRCSURFACEOVERRIDE = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ZBUFFERDESTCONSTOVERRIDE = 0x00100000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ZBUFFERDESTOVERRIDE = 0x00200000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ZBUFFERSRCCONSTOVERRIDE = 0x00400000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDBLT_ZBUFFERSRCOVERRIDE = 0x00800000;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwTrans for BltFast */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DDSURFACEDESC.dwFlags */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Set/Get Colour Key Flags */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEY_COLORSPACE = 0x00000001; /* Struct is single colour space */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEY_DESTBLT = 0x00000002; /* To be used as dest for blt */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEY_DESTOVERLAY = 0x00000004; /* To be used as dest for CK overlays */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEY_SRCBLT = 0x00000008; /* To be used as src for blt */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEY_SRCOVERLAY = 0x00000010; /* To be used as src for CK overlays */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwFlags for GetBltStatus */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwFlags for GetFlipStatus */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* dwFlags for Flip */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFLIP_EVEN = 0x00000002; /* only valid for overlay */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFLIP_ODD = 0x00000004; /* only valid for overlay */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDOVER_ALPHADESTCONSTOVERRIDE = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDOVER_ALPHADESTSURFACEOVERRIDE = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDOVER_ALPHASRCCONSTOVERRIDE = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDOVER_ALPHASRCSURFACEOVERRIDE = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDOVER_REFRESHDIRTYRECTS = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDOVER_OVERRIDEBOBWEAVE = 0x00400000;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DirectDraw Caps */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDSCAPS_PRIMARYSURFACELEFT = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDSCAPS_STANDARDVGAMODE = 0x40000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_DESTBLTCLRSPACE = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_DESTBLTCLRSPACEYUV = 0x00000004;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_DESTOVERLAYCLRSPACE = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_DESTOVERLAYCLRSPACEYUV = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_DESTOVERLAYONEACTIVE = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_DESTOVERLAYYUV = 0x00000100;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_SRCBLTCLRSPACE = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_SRCBLTCLRSPACEYUV = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_SRCOVERLAYCLRSPACE = 0x00004000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_SRCOVERLAYCLRSPACEYUV = 0x00008000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_SRCOVERLAYONEACTIVE = 0x00010000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_SRCOVERLAYYUV = 0x00020000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCKEYCAPS_NOCOSTOVERLAY = 0x00040000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_BLTARITHSTRETCHYN = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_BLTARITHSTRETCHY = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_BLTMIRRORLEFTRIGHT = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_BLTMIRRORUPDOWN = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYARITHSTRETCHY = 0x00040000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYARITHSTRETCHYN = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSHRINKX = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSHRINKXN = 0x00100000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSHRINKY = 0x00200000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSHRINKYN = 0x00400000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSTRETCHX = 0x00800000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSTRETCHXN = 0x01000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSTRETCHY = 0x02000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYSTRETCHYN = 0x04000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYMIRRORLEFTRIGHT = 0x08000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDFXCAPS_OVERLAYMIRRORUPDOWN = 0x10000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS_ALIGNBOUNDARYDEST = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS_ALIGNBOUNDARYSRC = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS_COLORKEYHWASSIST = 0x01000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS_CANCLIPSTRETCHED = 0x40000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_NO2DDURING3DSCENE = 0x00000002;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_AUTOFLIPOVERLAY = 0x00000008;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_CANBOBINTERLEAVED = 0x00000010;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_CANBOBNONINTERLEAVED = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_COLORCONTROLOVERLAY = 0x00000040;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_COLORCONTROLPRIMARY = 0x00000080;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_NONLOCALVIDMEMCAPS = 0x00000400;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_NOPAGELOCKREQUIRED = 0x00000800;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_CANRENDERWINDOWED = 0x00080000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_CANCALIBRATEGAMMA = 0x00100000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_CANMANAGETEXTURE = 0x00800000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_TEXMANINNONLOCALVIDMEM = 0x01000000;
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDCAPS2_SYSTONONLOCAL_AS_SYSTOLOCAL = 0x04000000;
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DDCAPS.d */
af062818b47340eef15700d2f0211576ba3506eevboxsyncconst UINT WINEDDPCAPS_PRIMARYSURFACELEFT = 0x00000020;
af062818b47340eef15700d2f0211576ba3506eevboxsync float WaitingForGPUToUseApplicationResourceTimePercent;
af062818b47340eef15700d2f0211576ba3506eevboxsync float WaitingForGPUToAcceptMoreCommandsTimePercent;
af062818b47340eef15700d2f0211576ba3506eevboxsync/*Vertex cache optimization hints.*/
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD Pattern; /* Must be a 4 char code FOURCC (e.g. CACH) */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD OptMethod; /* 0 to get the longest strips, 1 vertex cache */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD CacheSize; /* Cache size to use (only valid if OptMethod==1) */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD MagicNumber; /* Internal for deciding when to restart strips,
af062818b47340eef15700d2f0211576ba3506eevboxsync non user modifiable (only valid if OptMethod==1) */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync DWORD dwStride; /* Stride between occurrences of this data */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync WineDirect3DStridedData texCoords[WINED3DDP_MAXTEXCOORD];
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD Reserved2; /* Not in the microsoft headers but documented */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* DirectDraw types */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwColorSpaceLowValue; /* low boundary of color space that is to
af062818b47340eef15700d2f0211576ba3506eevboxsync * be treated as Color Key, inclusive */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwColorSpaceHighValue; /* high boundary of color space that is
af062818b47340eef15700d2f0211576ba3506eevboxsync * to be treated as Color Key, inclusive */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwDDROP; /* Raster operations new for DirectDraw */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwRotationAngle; /* Rotation angle for blt */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwZBufferBaseDest; /* Destination base value */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwZDestConstBitDepth; /* Bit depth used to specify Z constant for destination */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwZDestConst; /* Constant to use as Z buffer for dest */
af062818b47340eef15700d2f0211576ba3506eevboxsync struct IWineD3DSurface *lpDDSZBufferDest; /* Surface to use as Z buffer for dest */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwZSrcConstBitDepth; /* Bit depth used to specify Z constant for source */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwZSrcConst; /* Constant to use as Z buffer for src */
af062818b47340eef15700d2f0211576ba3506eevboxsync struct IWineD3DSurface *lpDDSZBufferSrc; /* Surface to use as Z buffer for src */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaEdgeBlendBitDepth; /* Bit depth used to specify constant for alpha edge blend */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaEdgeBlend; /* Alpha for edge blending */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaDestConstBitDepth; /* Bit depth used to specify alpha constant for destination */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaDestConst; /* Constant to use as Alpha Channel */
af062818b47340eef15700d2f0211576ba3506eevboxsync struct IWineD3DSurface *lpDDSAlphaDest; /* Surface to use as Alpha Channel */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaSrcConstBitDepth; /* Bit depth used to specify alpha constant for source */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaSrcConst; /* Constant to use as Alpha Channel */
af062818b47340eef15700d2f0211576ba3506eevboxsync struct IWineD3DSurface *lpDDSAlphaSrc; /* Surface to use as Alpha Channel */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwFillColor; /* color in RGB or Palettized */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwFillPixel; /* pixel val for RGBA or RGBZ */
af062818b47340eef15700d2f0211576ba3506eevboxsync struct IWineD3DSurface *lpDDSPattern; /* Surface to use as pattern */
af062818b47340eef15700d2f0211576ba3506eevboxsync WINEDDCOLORKEY ddckDestColorkey; /* DestColorkey override */
af062818b47340eef15700d2f0211576ba3506eevboxsync WINEDDCOLORKEY ddckSrcColorkey; /* SrcColorkey override */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaEdgeBlendBitDepth; /* Bit depth used to specify constant for alpha edge blend */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaEdgeBlend; /* Constant to use as alpha for edge blend */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaDestConstBitDepth; /* Bit depth used to specify alpha constant for destination */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaDestConst; /* Constant to use as alpha channel for dest */
af062818b47340eef15700d2f0211576ba3506eevboxsync struct IWineD3DSurface *lpDDSAlphaDest; /* Surface to use as alpha channel for dest */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaSrcConstBitDepth; /* Bit depth used to specify alpha constant for source */
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwAlphaSrcConst; /* Constant to use as alpha channel for src */
af062818b47340eef15700d2f0211576ba3506eevboxsync struct IWineD3DSurface *lpDDSAlphaSrc; /* Surface to use as alpha channel for src */
af062818b47340eef15700d2f0211576ba3506eevboxsync WINEDDCOLORKEY dckDestColorkey; /* DestColorkey override */
af062818b47340eef15700d2f0211576ba3506eevboxsync WINEDDCOLORKEY dckSrcColorkey; /* SrcColorkey override */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync [in, out] WINED3DPRESENT_PARAMETERS *present_parameters,
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef ULONG (*D3DCB_DESTROYSWAPCHAINFN)(IWineD3DSwapChain *pSwapChain);
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef HRESULT (*D3DCB_ENUMRESOURCES)(IWineD3DResource *resource, void *pData);
af062818b47340eef15700d2f0211576ba3506eevboxsync const void *GetData(
af062818b47340eef15700d2f0211576ba3506eevboxsyncinterface IWineD3DVolumeTexture : IWineD3DBaseTexture
af062818b47340eef15700d2f0211576ba3506eevboxsync [out] WINED3DPRESENT_PARAMETERS *present_parameters
5112e32d7072e280613921c982a6672f2c859cf3vboxsyncinterface IWineD3DGeometryShader : IWineD3DBaseShader
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] WINED3DPRESENT_PARAMETERS *present_parameters,
554f00fe75489f3f3ce7fbb6d126ce1d2c5c922cvboxsync [in] const struct wined3d_shader_signature *output_signature,
5112e32d7072e280613921c982a6672f2c859cf3vboxsync [in] const struct wined3d_shader_signature *output_signature,
554f00fe75489f3f3ce7fbb6d126ce1d2c5c922cvboxsync [in] const struct wined3d_shader_signature *output_signature,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] D3DCB_DESTROYSWAPCHAINFN destroy_swapchain_callback
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] D3DCB_DESTROYSWAPCHAINFN destroy_swapchain_callback
af062818b47340eef15700d2f0211576ba3506eevboxsync [out] WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] const WineDirect3DVertexStridedData *strided_data
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] const WineDirect3DVertexStridedData *strided_data,
af062818b47340eef15700d2f0211576ba3506eevboxsyncIWineD3D *WineDirect3DCreate(UINT dxVersion, IUnknown *parent);