Re: include: flesh out d3d11.idl (try 4)

2013-01-22 Thread Dmitry Timoshkov
Austin English wrote: > try 4: only include enough to add a stub for D3D11CreateDevice, You could also try to make it work for compilers that don't suppport anonymous unions. -- Dmitry.

Re: include: flesh out d3d11.idl (try 2)

2013-01-14 Thread Austin English
On Fri, Jan 11, 2013 at 8:42 PM, Dmitry Timoshkov wrote: > Austin English wrote: > >> >> +/* Forward declarations */ >> > >> > You've copied too much from the PSDK version, better leave it to someone >> > else, and do it step by step when particular functionality gets >> > implemented. >> >> The

Re: include: flesh out d3d11.idl (try 2)

2013-01-12 Thread Henri Verbeet
On 12 January 2013 03:47, Austin English wrote: > The forward declarations are necessary due to the convoluted nature of > the interfaces. My end goal is to add a stub for D3D11CreateDevice, > which fixes http://bugs.winehq.org/show_bug.cgi?id=32520 (so users > don't have to disable d3d11). Howeve

Re: include: flesh out d3d11.idl (try 2)

2013-01-11 Thread Dmitry Timoshkov
Austin English wrote: > >> +/* Forward declarations */ > > > > You've copied too much from the PSDK version, better leave it to someone > > else, and do it step by step when particular functionality gets implemented. > > The forward declarations are necessary due to the convoluted nature of > th

Re: include: flesh out d3d11.idl (try 2)

2013-01-11 Thread Austin English
On Thu, Jan 10, 2013 at 8:18 PM, Dmitry Timoshkov wrote: > Austin English wrote: > >> Try 2: >> Remove L suffixes, C++ comment. > >> +/* Forward declarations */ > > You've copied too much from the PSDK version, better leave it to someone > else, and do it step by step when particular functionalit

Re: include: flesh out d3d11.idl (try 2)

2013-01-10 Thread Dmitry Timoshkov
Austin English wrote: > Try 2: > Remove L suffixes, C++ comment. > +/* Forward declarations */ You've copied too much from the PSDK version, better leave it to someone else, and do it step by step when particular functionality gets implemented. -- Dmitry.

Re: include: flesh out d3d11.idl

2013-01-10 Thread Nikolay Sivov
On 1/10/2013 22:35, Austin English wrote: Some minor things. +typedef enum D3D11_RESOURCE_DIMENSION +{ +D3D11_RESOURCE_DIMENSION_UNKNOWN = 0, +D3D11_RESOURCE_DIMENSION_BUFFER = 1, +D3D11_RESOURCE_DIMENSION_TEXTURE1D = 2, +D3D11_RESOURCE_DIMENSION_TEXTURE2D = 3, +D3D11_RESOU