VirtualBox

Ignore:
Timestamp:
Oct 6, 2009 6:07:06 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: update to wine 1.1.30

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.h

    r22496 r23571  
    1 /*** Autogenerated by WIDL 1.1.27 from ../../include/wine/wined3d.idl - Do not edit ***/
     1/*** Autogenerated by WIDL 1.1.30 from ../../include/wine/wined3d.idl - Do not edit ***/
    22
    33#include <rpc.h>
     
    218218typedef enum _WINED3DFORMAT {
    219219    WINED3DFMT_UNKNOWN = 0,
    220     WINED3DFMT_R8G8B8 = 1,
    221     WINED3DFMT_A8R8G8B8 = 2,
    222     WINED3DFMT_X8R8G8B8 = 3,
    223     WINED3DFMT_R5G6B5 = 4,
    224     WINED3DFMT_X1R5G5B5 = 5,
    225     WINED3DFMT_A1R5G5B5 = 6,
    226     WINED3DFMT_A4R4G4B4 = 7,
    227     WINED3DFMT_R3G3B2 = 8,
    228     WINED3DFMT_A8R3G3B2 = 9,
    229     WINED3DFMT_X4R4G4B4 = 10,
    230     WINED3DFMT_X8B8G8R8 = 11,
    231     WINED3DFMT_A2R10G10B10 = 12,
    232     WINED3DFMT_A8P8 = 13,
    233     WINED3DFMT_P8 = 14,
    234     WINED3DFMT_L8 = 15,
    235     WINED3DFMT_A8L8 = 16,
    236     WINED3DFMT_A4L4 = 17,
    237     WINED3DFMT_L6V5U5 = 18,
    238     WINED3DFMT_X8L8V8U8 = 19,
    239     WINED3DFMT_W11V11U10 = 20,
    240     WINED3DFMT_A2W10V10U10 = 21,
    241     WINED3DFMT_D16_LOCKABLE = 22,
    242     WINED3DFMT_D32 = 23,
    243     WINED3DFMT_D15S1 = 24,
    244     WINED3DFMT_D24S8 = 25,
    245     WINED3DFMT_D24X8 = 26,
    246     WINED3DFMT_D24X4S4 = 27,
    247     WINED3DFMT_L16 = 28,
    248     WINED3DFMT_D32F_LOCKABLE = 29,
    249     WINED3DFMT_D24FS8 = 30,
    250     WINED3DFMT_VERTEXDATA = 31,
    251     WINED3DFMT_CxV8U8 = 32,
    252     WINED3DFMT_R32G32B32A32_TYPELESS = 33,
    253     WINED3DFMT_R32G32B32A32_FLOAT = 34,
    254     WINED3DFMT_R32G32B32A32_UINT = 35,
    255     WINED3DFMT_R32G32B32A32_SINT = 36,
    256     WINED3DFMT_R32G32B32_TYPELESS = 37,
    257     WINED3DFMT_R32G32B32_FLOAT = 38,
    258     WINED3DFMT_R32G32B32_UINT = 39,
    259     WINED3DFMT_R32G32B32_SINT = 40,
    260     WINED3DFMT_R16G16B16A16_TYPELESS = 41,
    261     WINED3DFMT_R16G16B16A16_FLOAT = 42,
    262     WINED3DFMT_R16G16B16A16_UNORM = 43,
    263     WINED3DFMT_R16G16B16A16_UINT = 44,
    264     WINED3DFMT_R16G16B16A16_SNORM = 45,
    265     WINED3DFMT_R16G16B16A16_SINT = 46,
    266     WINED3DFMT_R32G32_TYPELESS = 47,
    267     WINED3DFMT_R32G32_FLOAT = 48,
    268     WINED3DFMT_R32G32_UINT = 49,
    269     WINED3DFMT_R32G32_SINT = 50,
    270     WINED3DFMT_R32G8X24_TYPELESS = 51,
    271     WINED3DFMT_D32_FLOAT_S8X24_UINT = 52,
    272     WINED3DFMT_R32_FLOAT_X8X24_TYPELESS = 53,
    273     WINED3DFMT_X32_TYPELESS_G8X24_UINT = 54,
    274     WINED3DFMT_R10G10B10A2_TYPELESS = 55,
    275     WINED3DFMT_R10G10B10A2_UNORM = 56,
    276     WINED3DFMT_R10G10B10A2_UINT = 57,
    277     WINED3DFMT_R10G10B10A2_SNORM = 58,
    278     WINED3DFMT_R11G11B10_FLOAT = 59,
    279     WINED3DFMT_R8G8B8A8_TYPELESS = 60,
    280     WINED3DFMT_R8G8B8A8_UNORM = 61,
    281     WINED3DFMT_R8G8B8A8_UNORM_SRGB = 62,
    282     WINED3DFMT_R8G8B8A8_UINT = 63,
    283     WINED3DFMT_R8G8B8A8_SNORM = 64,
    284     WINED3DFMT_R8G8B8A8_SINT = 65,
    285     WINED3DFMT_R16G16_TYPELESS = 66,
    286     WINED3DFMT_R16G16_FLOAT = 67,
    287     WINED3DFMT_R16G16_UNORM = 68,
    288     WINED3DFMT_R16G16_UINT = 69,
    289     WINED3DFMT_R16G16_SNORM = 70,
    290     WINED3DFMT_R16G16_SINT = 71,
    291     WINED3DFMT_R32_TYPELESS = 72,
    292     WINED3DFMT_D32_FLOAT = 73,
    293     WINED3DFMT_R32_FLOAT = 74,
    294     WINED3DFMT_R32_UINT = 75,
    295     WINED3DFMT_R32_SINT = 76,
    296     WINED3DFMT_R24G8_TYPELESS = 77,
    297     WINED3DFMT_D24_UNORM_S8_UINT = 78,
    298     WINED3DFMT_R24_UNORM_X8_TYPELESS = 79,
    299     WINED3DFMT_X24_TYPELESS_G8_UINT = 80,
    300     WINED3DFMT_R8G8_TYPELESS = 81,
    301     WINED3DFMT_R8G8_UNORM = 82,
    302     WINED3DFMT_R8G8_UINT = 83,
    303     WINED3DFMT_R8G8_SNORM = 84,
    304     WINED3DFMT_R8G8_SINT = 85,
    305     WINED3DFMT_R16_TYPELESS = 86,
    306     WINED3DFMT_R16_FLOAT = 87,
    307     WINED3DFMT_D16_UNORM = 88,
    308     WINED3DFMT_R16_UNORM = 89,
    309     WINED3DFMT_R16_UINT = 90,
    310     WINED3DFMT_R16_SNORM = 91,
    311     WINED3DFMT_R16_SINT = 92,
    312     WINED3DFMT_R8_TYPELESS = 93,
    313     WINED3DFMT_R8_UNORM = 94,
    314     WINED3DFMT_R8_UINT = 95,
    315     WINED3DFMT_R8_SNORM = 96,
    316     WINED3DFMT_R8_SINT = 97,
    317     WINED3DFMT_A8_UNORM = 98,
    318     WINED3DFMT_R1_UNORM = 99,
    319     WINED3DFMT_R9G9B9E5_SHAREDEXP = 100,
    320     WINED3DFMT_R8G8_B8G8_UNORM = 101,
    321     WINED3DFMT_G8R8_G8B8_UNORM = 102,
    322     WINED3DFMT_BC1_TYPELESS = 103,
    323     WINED3DFMT_BC1_UNORM = 104,
    324     WINED3DFMT_BC1_UNORM_SRGB = 105,
    325     WINED3DFMT_BC2_TYPELESS = 106,
    326     WINED3DFMT_BC2_UNORM = 107,
    327     WINED3DFMT_BC2_UNORM_SRGB = 108,
    328     WINED3DFMT_BC3_TYPELESS = 109,
    329     WINED3DFMT_BC3_UNORM = 110,
    330     WINED3DFMT_BC3_UNORM_SRGB = 111,
    331     WINED3DFMT_BC4_TYPELESS = 112,
    332     WINED3DFMT_BC4_UNORM = 113,
    333     WINED3DFMT_BC4_SNORM = 114,
    334     WINED3DFMT_BC5_TYPELESS = 115,
    335     WINED3DFMT_BC5_UNORM = 116,
    336     WINED3DFMT_BC5_SNORM = 117,
    337     WINED3DFMT_B5G6R5_UNORM = 118,
    338     WINED3DFMT_B5G5R5A1_UNORM = 119,
    339     WINED3DFMT_B8G8R8A8_UNORM = 120,
    340     WINED3DFMT_B8G8R8X8_UNORM = 121,
     220    WINED3DFMT_B8G8R8_UNORM = 1,
     221    WINED3DFMT_B5G5R5X1_UNORM = 2,
     222    WINED3DFMT_B4G4R4A4_UNORM = 3,
     223    WINED3DFMT_B2G3R3_UNORM = 4,
     224    WINED3DFMT_B2G3R3A8_UNORM = 5,
     225    WINED3DFMT_B4G4R4X4_UNORM = 6,
     226    WINED3DFMT_R8G8B8X8_UNORM = 7,
     227    WINED3DFMT_B10G10R10A2_UNORM = 8,
     228    WINED3DFMT_P8_UINT_A8_UNORM = 9,
     229    WINED3DFMT_P8_UINT = 10,
     230    WINED3DFMT_L8_UNORM = 11,
     231    WINED3DFMT_L8A8_UNORM = 12,
     232    WINED3DFMT_L4A4_UNORM = 13,
     233    WINED3DFMT_R5G5_SNORM_L6_UNORM = 14,
     234    WINED3DFMT_R8G8_SNORM_L8X8_UNORM = 15,
     235    WINED3DFMT_R10G11B11_SNORM = 16,
     236    WINED3DFMT_R10G10B10_SNORM_A2_UNORM = 17,
     237    WINED3DFMT_D16_LOCKABLE = 18,
     238    WINED3DFMT_D32_UNORM = 19,
     239    WINED3DFMT_S1_UINT_D15_UNORM = 20,
     240    WINED3DFMT_S8_UINT_D24_UNORM = 21,
     241    WINED3DFMT_X8D24_UNORM = 22,
     242    WINED3DFMT_S4X4_UINT_D24_UNORM = 23,
     243    WINED3DFMT_L16_UNORM = 24,
     244    WINED3DFMT_S8_UINT_D24_FLOAT = 25,
     245    WINED3DFMT_VERTEXDATA = 26,
     246    WINED3DFMT_R8G8_SNORM_Cx = 27,
     247    WINED3DFMT_R32G32B32A32_TYPELESS = 28,
     248    WINED3DFMT_R32G32B32A32_FLOAT = 29,
     249    WINED3DFMT_R32G32B32A32_UINT = 30,
     250    WINED3DFMT_R32G32B32A32_SINT = 31,
     251    WINED3DFMT_R32G32B32_TYPELESS = 32,
     252    WINED3DFMT_R32G32B32_FLOAT = 33,
     253    WINED3DFMT_R32G32B32_UINT = 34,
     254    WINED3DFMT_R32G32B32_SINT = 35,
     255    WINED3DFMT_R16G16B16A16_TYPELESS = 36,
     256    WINED3DFMT_R16G16B16A16_FLOAT = 37,
     257    WINED3DFMT_R16G16B16A16_UNORM = 38,
     258    WINED3DFMT_R16G16B16A16_UINT = 39,
     259    WINED3DFMT_R16G16B16A16_SNORM = 40,
     260    WINED3DFMT_R16G16B16A16_SINT = 41,
     261    WINED3DFMT_R32G32_TYPELESS = 42,
     262    WINED3DFMT_R32G32_FLOAT = 43,
     263    WINED3DFMT_R32G32_UINT = 44,
     264    WINED3DFMT_R32G32_SINT = 45,
     265    WINED3DFMT_R32G8X24_TYPELESS = 46,
     266    WINED3DFMT_D32_FLOAT_S8X24_UINT = 47,
     267    WINED3DFMT_R32_FLOAT_X8X24_TYPELESS = 48,
     268    WINED3DFMT_X32_TYPELESS_G8X24_UINT = 49,
     269    WINED3DFMT_R10G10B10A2_TYPELESS = 50,
     270    WINED3DFMT_R10G10B10A2_UNORM = 51,
     271    WINED3DFMT_R10G10B10A2_UINT = 52,
     272    WINED3DFMT_R10G10B10A2_SNORM = 53,
     273    WINED3DFMT_R11G11B10_FLOAT = 54,
     274    WINED3DFMT_R8G8B8A8_TYPELESS = 55,
     275    WINED3DFMT_R8G8B8A8_UNORM = 56,
     276    WINED3DFMT_R8G8B8A8_UNORM_SRGB = 57,
     277    WINED3DFMT_R8G8B8A8_UINT = 58,
     278    WINED3DFMT_R8G8B8A8_SNORM = 59,
     279    WINED3DFMT_R8G8B8A8_SINT = 60,
     280    WINED3DFMT_R16G16_TYPELESS = 61,
     281    WINED3DFMT_R16G16_FLOAT = 62,
     282    WINED3DFMT_R16G16_UNORM = 63,
     283    WINED3DFMT_R16G16_UINT = 64,
     284    WINED3DFMT_R16G16_SNORM = 65,
     285    WINED3DFMT_R16G16_SINT = 66,
     286    WINED3DFMT_R32_TYPELESS = 67,
     287    WINED3DFMT_D32_FLOAT = 68,
     288    WINED3DFMT_R32_FLOAT = 69,
     289    WINED3DFMT_R32_UINT = 70,
     290    WINED3DFMT_R32_SINT = 71,
     291    WINED3DFMT_R24G8_TYPELESS = 72,
     292    WINED3DFMT_D24_UNORM_S8_UINT = 73,
     293    WINED3DFMT_R24_UNORM_X8_TYPELESS = 74,
     294    WINED3DFMT_X24_TYPELESS_G8_UINT = 75,
     295    WINED3DFMT_R8G8_TYPELESS = 76,
     296    WINED3DFMT_R8G8_UNORM = 77,
     297    WINED3DFMT_R8G8_UINT = 78,
     298    WINED3DFMT_R8G8_SNORM = 79,
     299    WINED3DFMT_R8G8_SINT = 80,
     300    WINED3DFMT_R16_TYPELESS = 81,
     301    WINED3DFMT_R16_FLOAT = 82,
     302    WINED3DFMT_D16_UNORM = 83,
     303    WINED3DFMT_R16_UNORM = 84,
     304    WINED3DFMT_R16_UINT = 85,
     305    WINED3DFMT_R16_SNORM = 86,
     306    WINED3DFMT_R16_SINT = 87,
     307    WINED3DFMT_R8_TYPELESS = 88,
     308    WINED3DFMT_R8_UNORM = 89,
     309    WINED3DFMT_R8_UINT = 90,
     310    WINED3DFMT_R8_SNORM = 91,
     311    WINED3DFMT_R8_SINT = 92,
     312    WINED3DFMT_A8_UNORM = 93,
     313    WINED3DFMT_R1_UNORM = 94,
     314    WINED3DFMT_R9G9B9E5_SHAREDEXP = 95,
     315    WINED3DFMT_R8G8_B8G8_UNORM = 96,
     316    WINED3DFMT_G8R8_G8B8_UNORM = 97,
     317    WINED3DFMT_BC1_TYPELESS = 98,
     318    WINED3DFMT_BC1_UNORM = 99,
     319    WINED3DFMT_BC1_UNORM_SRGB = 100,
     320    WINED3DFMT_BC2_TYPELESS = 101,
     321    WINED3DFMT_BC2_UNORM = 102,
     322    WINED3DFMT_BC2_UNORM_SRGB = 103,
     323    WINED3DFMT_BC3_TYPELESS = 104,
     324    WINED3DFMT_BC3_UNORM = 105,
     325    WINED3DFMT_BC3_UNORM_SRGB = 106,
     326    WINED3DFMT_BC4_TYPELESS = 107,
     327    WINED3DFMT_BC4_UNORM = 108,
     328    WINED3DFMT_BC4_SNORM = 109,
     329    WINED3DFMT_BC5_TYPELESS = 110,
     330    WINED3DFMT_BC5_UNORM = 111,
     331    WINED3DFMT_BC5_SNORM = 112,
     332    WINED3DFMT_B5G6R5_UNORM = 113,
     333    WINED3DFMT_B5G5R5A1_UNORM = 114,
     334    WINED3DFMT_B8G8R8A8_UNORM = 115,
     335    WINED3DFMT_B8G8R8X8_UNORM = 116,
    341336    WINED3DFMT_FORCE_DWORD = 0xffffffff
    342337} WINED3DFORMAT;
     
    26062601};
    26072602
     2603struct wined3d_parent_ops {
     2604    void (STDMETHODCALLTYPE *wined3d_object_destroyed)(void *parent);
     2605};
     2606
    26082607#ifndef __IWineD3DResource_FWD_DEFINED__
    26092608#define __IWineD3DResource_FWD_DEFINED__
     
    28642863#endif  /* __IWineD3DDeviceParent_INTERFACE_DEFINED__ */
    28652864
    2866 typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYSURFACEFN)(IWineD3DSurface *pSurface);
    2867 typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYVOLUMEFN)(IWineD3DVolume *pVolume);
    28682865typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYSWAPCHAINFN)(IWineD3DSwapChain *pSwapChain);
    28692866typedef HRESULT (STDMETHODCALLTYPE *D3DCB_ENUMRESOURCES)(IWineD3DResource *resource,void *pData);
     
    50705067interface IWineD3DTexture : public IWineD3DBaseTexture
    50715068{
    5072     virtual void STDMETHODCALLTYPE Destroy(
    5073         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)) = 0;
    5074 
    50755069    virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
    50765070        UINT level,
     
    51925186
    51935187    /*** IWineD3DTexture methods ***/
    5194     void (STDMETHODCALLTYPE *Destroy)(
    5195         IWineD3DTexture* This,
    5196         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));
    5197 
    51985188    HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
    51995189        IWineD3DTexture* This,
     
    52575247#define IWineD3DTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
    52585248/*** IWineD3DTexture methods ***/
    5259 #define IWineD3DTexture_Destroy(This,destroy_surface_callback) (This)->lpVtbl->Destroy(This,destroy_surface_callback)
    52605249#define IWineD3DTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
    52615250#define IWineD3DTexture_GetSurfaceLevel(This,level,surface) (This)->lpVtbl->GetSurfaceLevel(This,level,surface)
     
    52675256#endif
    52685257
    5269 void STDMETHODCALLTYPE IWineD3DTexture_Destroy_Proxy(
    5270     IWineD3DTexture* This,
    5271     ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));
    5272 void __RPC_STUB IWineD3DTexture_Destroy_Stub(
    5273     IRpcStubBuffer* This,
    5274     IRpcChannelBuffer* pRpcChannelBuffer,
    5275     PRPC_MESSAGE pRpcMessage,
    5276     DWORD* pdwStubPhase);
    52775258HRESULT STDMETHODCALLTYPE IWineD3DTexture_GetLevelDesc_Proxy(
    52785259    IWineD3DTexture* This,
     
    53335314interface IWineD3DCubeTexture : public IWineD3DBaseTexture
    53345315{
    5335     virtual void STDMETHODCALLTYPE Destroy(
    5336         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)) = 0;
    5337 
    53385316    virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
    53395317        UINT level,
     
    54595437
    54605438    /*** IWineD3DCubeTexture methods ***/
    5461     void (STDMETHODCALLTYPE *Destroy)(
    5462         IWineD3DCubeTexture* This,
    5463         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));
    5464 
    54655439    HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
    54665440        IWineD3DCubeTexture* This,
     
    55285502#define IWineD3DCubeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
    55295503/*** IWineD3DCubeTexture methods ***/
    5530 #define IWineD3DCubeTexture_Destroy(This,destroy_surface_callback) (This)->lpVtbl->Destroy(This,destroy_surface_callback)
    55315504#define IWineD3DCubeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
    55325505#define IWineD3DCubeTexture_GetCubeMapSurface(This,face,level,surface) (This)->lpVtbl->GetCubeMapSurface(This,face,level,surface)
     
    55385511#endif
    55395512
    5540 void STDMETHODCALLTYPE IWineD3DCubeTexture_Destroy_Proxy(
    5541     IWineD3DCubeTexture* This,
    5542     ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));
    5543 void __RPC_STUB IWineD3DCubeTexture_Destroy_Stub(
    5544     IRpcStubBuffer* This,
    5545     IRpcChannelBuffer* pRpcChannelBuffer,
    5546     PRPC_MESSAGE pRpcMessage,
    5547     DWORD* pdwStubPhase);
    55485513HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_GetLevelDesc_Proxy(
    55495514    IWineD3DCubeTexture* This,
     
    56085573interface IWineD3DVolumeTexture : public IWineD3DBaseTexture
    56095574{
    5610     virtual void STDMETHODCALLTYPE Destroy(
    5611         ULONG (STDMETHODCALLTYPE * destroy_volume_callback)(IWineD3DVolume *pVolume)) = 0;
    5612 
    56135575    virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
    56145576        UINT level,
     
    57305692
    57315693    /*** IWineD3DVolumeTexture methods ***/
    5732     void (STDMETHODCALLTYPE *Destroy)(
    5733         IWineD3DVolumeTexture* This,
    5734         ULONG (STDMETHODCALLTYPE * destroy_volume_callback)(IWineD3DVolume *pVolume));
    5735 
    57365694    HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
    57375695        IWineD3DVolumeTexture* This,
     
    57955753#define IWineD3DVolumeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
    57965754/*** IWineD3DVolumeTexture methods ***/
    5797 #define IWineD3DVolumeTexture_Destroy(This,destroy_volume_callback) (This)->lpVtbl->Destroy(This,destroy_volume_callback)
    57985755#define IWineD3DVolumeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
    57995756#define IWineD3DVolumeTexture_GetVolumeLevel(This,level,volume) (This)->lpVtbl->GetVolumeLevel(This,level,volume)
     
    58055762#endif
    58065763
    5807 void STDMETHODCALLTYPE IWineD3DVolumeTexture_Destroy_Proxy(
    5808     IWineD3DVolumeTexture* This,
    5809     ULONG (STDMETHODCALLTYPE * destroy_volume_callback)(IWineD3DVolume *pVolume));
    5810 void __RPC_STUB IWineD3DVolumeTexture_Destroy_Stub(
    5811     IRpcStubBuffer* This,
    5812     IRpcChannelBuffer* pRpcChannelBuffer,
    5813     PRPC_MESSAGE pRpcMessage,
    5814     DWORD* pdwStubPhase);
    58155764HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_GetLevelDesc_Proxy(
    58165765    IWineD3DVolumeTexture* This,
     
    61906139{
    61916140    virtual void STDMETHODCALLTYPE Destroy(
    6192         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)) = 0;
     6141        ) = 0;
    61936142
    61946143    virtual HRESULT STDMETHODCALLTYPE GetDevice(
     
    62536202    /*** IWineD3DSwapChain methods ***/
    62546203    void (STDMETHODCALLTYPE *Destroy)(
    6255         IWineD3DSwapChain* This,
    6256         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));
     6204        IWineD3DSwapChain* This);
    62576205
    62586206    HRESULT (STDMETHODCALLTYPE *GetDevice)(
     
    63176265#define IWineD3DSwapChain_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
    63186266/*** IWineD3DSwapChain methods ***/
    6319 #define IWineD3DSwapChain_Destroy(This,destroy_surface_callback) (This)->lpVtbl->Destroy(This,destroy_surface_callback)
     6267#define IWineD3DSwapChain_Destroy(This) (This)->lpVtbl->Destroy(This)
    63206268#define IWineD3DSwapChain_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
    63216269#define IWineD3DSwapChain_Present(This,src_rect,dst_rect,dst_window_override,dirty_region,flags) (This)->lpVtbl->Present(This,src_rect,dst_rect,dst_window_override,dirty_region,flags)
     
    63336281
    63346282void STDMETHODCALLTYPE IWineD3DSwapChain_Destroy_Proxy(
    6335     IWineD3DSwapChain* This,
    6336     ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));
     6283    IWineD3DSwapChain* This);
    63376284void __RPC_STUB IWineD3DSwapChain_Destroy_Stub(
    63386285    IRpcStubBuffer* This,
     
    65976544interface IWineD3DBaseShader : public IWineD3DBase
    65986545{
    6599     virtual HRESULT STDMETHODCALLTYPE SetFunction(
    6600         const DWORD *function,
    6601         const struct wined3d_shader_signature *output_signature) = 0;
     6546    virtual HRESULT STDMETHODCALLTYPE GetDevice(
     6547        IWineD3DDevice **device) = 0;
     6548
     6549    virtual HRESULT STDMETHODCALLTYPE GetFunction(
     6550        void *data,
     6551        UINT *data_size) = 0;
    66026552
    66036553};
     
    66246574
    66256575    /*** IWineD3DBaseShader methods ***/
    6626     HRESULT (STDMETHODCALLTYPE *SetFunction)(
     6576    HRESULT (STDMETHODCALLTYPE *GetDevice)(
    66276577        IWineD3DBaseShader* This,
    6628         const DWORD *function,
    6629         const struct wined3d_shader_signature *output_signature);
     6578        IWineD3DDevice **device);
     6579
     6580    HRESULT (STDMETHODCALLTYPE *GetFunction)(
     6581        IWineD3DBaseShader* This,
     6582        void *data,
     6583        UINT *data_size);
    66306584
    66316585    END_INTERFACE
     
    66436597#define IWineD3DBaseShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
    66446598/*** IWineD3DBaseShader methods ***/
    6645 #define IWineD3DBaseShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature)
     6599#define IWineD3DBaseShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
     6600#define IWineD3DBaseShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
    66466601#endif
    66476602
    66486603#endif
    66496604
    6650 HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_SetFunction_Proxy(
     6605HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_GetDevice_Proxy(
    66516606    IWineD3DBaseShader* This,
    6652     const DWORD *function,
    6653     const struct wined3d_shader_signature *output_signature);
    6654 void __RPC_STUB IWineD3DBaseShader_SetFunction_Stub(
     6607    IWineD3DDevice **device);
     6608void __RPC_STUB IWineD3DBaseShader_GetDevice_Stub(
     6609    IRpcStubBuffer* This,
     6610    IRpcChannelBuffer* pRpcChannelBuffer,
     6611    PRPC_MESSAGE pRpcMessage,
     6612    DWORD* pdwStubPhase);
     6613HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_GetFunction_Proxy(
     6614    IWineD3DBaseShader* This,
     6615    void *data,
     6616    UINT *data_size);
     6617void __RPC_STUB IWineD3DBaseShader_GetFunction_Stub(
    66556618    IRpcStubBuffer* This,
    66566619    IRpcChannelBuffer* pRpcChannelBuffer,
     
    66706633interface IWineD3DVertexShader : public IWineD3DBaseShader
    66716634{
    6672     virtual HRESULT STDMETHODCALLTYPE GetDevice(
    6673         IWineD3DDevice **device) = 0;
    6674 
    6675     virtual HRESULT STDMETHODCALLTYPE GetFunction(
    6676         void *data,
    6677         UINT *data_size) = 0;
    6678 
    66796635    virtual HRESULT STDMETHODCALLTYPE SetLocalConstantsF(
    66806636        UINT start_idx,
     
    67056661
    67066662    /*** IWineD3DBaseShader methods ***/
    6707     HRESULT (STDMETHODCALLTYPE *SetFunction)(
    6708         IWineD3DVertexShader* This,
    6709         const DWORD *function,
    6710         const struct wined3d_shader_signature *output_signature);
    6711 
    6712     /*** IWineD3DVertexShader methods ***/
    67136663    HRESULT (STDMETHODCALLTYPE *GetDevice)(
    67146664        IWineD3DVertexShader* This,
     
    67206670        UINT *data_size);
    67216671
     6672    /*** IWineD3DVertexShader methods ***/
    67226673    HRESULT (STDMETHODCALLTYPE *SetLocalConstantsF)(
    67236674        IWineD3DVertexShader* This,
     
    67406691#define IWineD3DVertexShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
    67416692/*** IWineD3DBaseShader methods ***/
    6742 #define IWineD3DVertexShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature)
    6743 /*** IWineD3DVertexShader methods ***/
    67446693#define IWineD3DVertexShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
    67456694#define IWineD3DVertexShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
     6695/*** IWineD3DVertexShader methods ***/
    67466696#define IWineD3DVertexShader_SetLocalConstantsF(This,start_idx,src_data,vector4f_count) (This)->lpVtbl->SetLocalConstantsF(This,start_idx,src_data,vector4f_count)
    67476697#endif
     
    67496699#endif
    67506700
    6751 HRESULT STDMETHODCALLTYPE IWineD3DVertexShader_GetDevice_Proxy(
    6752     IWineD3DVertexShader* This,
    6753     IWineD3DDevice **device);
    6754 void __RPC_STUB IWineD3DVertexShader_GetDevice_Stub(
    6755     IRpcStubBuffer* This,
    6756     IRpcChannelBuffer* pRpcChannelBuffer,
    6757     PRPC_MESSAGE pRpcMessage,
    6758     DWORD* pdwStubPhase);
    6759 HRESULT STDMETHODCALLTYPE IWineD3DVertexShader_GetFunction_Proxy(
    6760     IWineD3DVertexShader* This,
    6761     void *data,
    6762     UINT *data_size);
    6763 void __RPC_STUB IWineD3DVertexShader_GetFunction_Stub(
    6764     IRpcStubBuffer* This,
    6765     IRpcChannelBuffer* pRpcChannelBuffer,
    6766     PRPC_MESSAGE pRpcMessage,
    6767     DWORD* pdwStubPhase);
    67686701HRESULT STDMETHODCALLTYPE IWineD3DVertexShader_SetLocalConstantsF_Proxy(
    67696702    IWineD3DVertexShader* This,
     
    67896722interface IWineD3DPixelShader : public IWineD3DBaseShader
    67906723{
    6791     virtual HRESULT STDMETHODCALLTYPE GetDevice(
    6792         IWineD3DDevice **device) = 0;
    6793 
    6794     virtual HRESULT STDMETHODCALLTYPE GetFunction(
    6795         void *data,
    6796         UINT *data_size) = 0;
    6797 
    67986724};
    67996725#else
     
    68196745
    68206746    /*** IWineD3DBaseShader methods ***/
    6821     HRESULT (STDMETHODCALLTYPE *SetFunction)(
    6822         IWineD3DPixelShader* This,
    6823         const DWORD *function,
    6824         const struct wined3d_shader_signature *output_signature);
    6825 
    6826     /*** IWineD3DPixelShader methods ***/
    68276747    HRESULT (STDMETHODCALLTYPE *GetDevice)(
    68286748        IWineD3DPixelShader* This,
     
    68486768#define IWineD3DPixelShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
    68496769/*** IWineD3DBaseShader methods ***/
    6850 #define IWineD3DPixelShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature)
    6851 /*** IWineD3DPixelShader methods ***/
    68526770#define IWineD3DPixelShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
    68536771#define IWineD3DPixelShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
     
    68566774#endif
    68576775
    6858 HRESULT STDMETHODCALLTYPE IWineD3DPixelShader_GetDevice_Proxy(
    6859     IWineD3DPixelShader* This,
    6860     IWineD3DDevice **device);
    6861 void __RPC_STUB IWineD3DPixelShader_GetDevice_Stub(
    6862     IRpcStubBuffer* This,
    6863     IRpcChannelBuffer* pRpcChannelBuffer,
    6864     PRPC_MESSAGE pRpcMessage,
    6865     DWORD* pdwStubPhase);
    6866 HRESULT STDMETHODCALLTYPE IWineD3DPixelShader_GetFunction_Proxy(
    6867     IWineD3DPixelShader* This,
    6868     void *data,
    6869     UINT *data_size);
    6870 void __RPC_STUB IWineD3DPixelShader_GetFunction_Stub(
    6871     IRpcStubBuffer* This,
    6872     IRpcChannelBuffer* pRpcChannelBuffer,
    6873     PRPC_MESSAGE pRpcMessage,
    6874     DWORD* pdwStubPhase);
    68756776
    68766777#endif  /* __IWineD3DPixelShader_INTERFACE_DEFINED__ */
     
    68906791        const void *data,
    68916792        IUnknown *parent,
     6793        const struct wined3d_parent_ops *parent_ops,
    68926794        IWineD3DBuffer **buffer) = 0;
    68936795
     
    68986800        WINED3DPOOL pool,
    68996801        IWineD3DBuffer **vertex_buffer,
    6900         IUnknown *parent) = 0;
     6802        IUnknown *parent,
     6803        const struct wined3d_parent_ops *parent_ops) = 0;
    69016804
    69026805    virtual HRESULT STDMETHODCALLTYPE CreateIndexBuffer(
     
    69056808        WINED3DPOOL pool,
    69066809        IWineD3DBuffer **index_buffer,
    6907         IUnknown *parent) = 0;
     6810        IUnknown *parent,
     6811        const struct wined3d_parent_ops *parent_ops) = 0;
    69086812
    69096813    virtual HRESULT STDMETHODCALLTYPE CreateStateBlock(
     
    69256829        DWORD multisample_quality,
    69266830        WINED3DSURFTYPE surface_type,
    6927         IUnknown *parent) = 0;
     6831        IUnknown *parent,
     6832        const struct wined3d_parent_ops *parent_ops) = 0;
    69286833
    69296834    virtual HRESULT STDMETHODCALLTYPE CreateRendertargetView(
     
    69406845        WINED3DPOOL pool,
    69416846        IWineD3DTexture **texture,
    6942         IUnknown *parent) = 0;
     6847        IUnknown *parent,
     6848        const struct wined3d_parent_ops *parent_ops) = 0;
    69436849
    69446850    virtual HRESULT STDMETHODCALLTYPE CreateVolumeTexture(
     
    69516857        WINED3DPOOL pool,
    69526858        IWineD3DVolumeTexture **texture,
    6953         IUnknown *parent) = 0;
     6859        IUnknown *parent,
     6860        const struct wined3d_parent_ops *parent_ops) = 0;
    69546861
    69556862    virtual HRESULT STDMETHODCALLTYPE CreateVolume(
     
    69616868        WINED3DPOOL pool,
    69626869        IWineD3DVolume **volume,
    6963         IUnknown *parent) = 0;
     6870        IUnknown *parent,
     6871        const struct wined3d_parent_ops *parent_ops) = 0;
    69646872
    69656873    virtual HRESULT STDMETHODCALLTYPE CreateCubeTexture(
     
    69706878        WINED3DPOOL pool,
    69716879        IWineD3DCubeTexture **texture,
    6972         IUnknown *parent) = 0;
     6880        IUnknown *parent,
     6881        const struct wined3d_parent_ops *parent_ops) = 0;
    69736882
    69746883    virtual HRESULT STDMETHODCALLTYPE CreateQuery(
     
    69866895        IWineD3DVertexDeclaration **declaration,
    69876896        IUnknown *parent,
     6897        const struct wined3d_parent_ops *parent_ops,
    69886898        const WINED3DVERTEXELEMENT *elements,
    69896899        UINT element_count) = 0;
     
    69926902        IWineD3DVertexDeclaration **declaration,
    69936903        IUnknown *parent,
     6904        const struct wined3d_parent_ops *parent_ops,
    69946905        DWORD fvf) = 0;
    69956906
     
    69986909        const struct wined3d_shader_signature *output_signature,
    69996910        IWineD3DVertexShader **shader,
    7000         IUnknown *parent) = 0;
     6911        IUnknown *parent,
     6912        const struct wined3d_parent_ops *parent_ops) = 0;
    70016913
    70026914    virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
     
    70046916        const struct wined3d_shader_signature *output_signature,
    70056917        IWineD3DPixelShader **shader,
    7006         IUnknown *parent) = 0;
     6918        IUnknown *parent,
     6919        const struct wined3d_parent_ops *parent_ops) = 0;
    70076920
    70086921    virtual HRESULT STDMETHODCALLTYPE CreatePalette(
     
    70196932
    70206933    virtual HRESULT STDMETHODCALLTYPE Uninit3D(
    7021         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface),
    70226934        ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)) = 0;
    70236935
     
    71257037        WINED3DGAMMARAMP *ramp) = 0;
    71267038
    7127     virtual HRESULT STDMETHODCALLTYPE SetIndices(
     7039    virtual HRESULT STDMETHODCALLTYPE SetIndexBuffer(
    71287040        IWineD3DBuffer *index_buffer,
    71297041        WINED3DFORMAT format) = 0;
    71307042
    7131     virtual HRESULT STDMETHODCALLTYPE GetIndices(
     7043    virtual HRESULT STDMETHODCALLTYPE GetIndexBuffer(
    71327044        IWineD3DBuffer **index_buffer) = 0;
    71337045
     
    74037315
    74047316    virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitive(
    7405         UINT min_vertex_idx,
    7406         UINT vertex_count,
    74077317        UINT start_idx,
    74087318        UINT index_count) = 0;
     
    74147324
    74157325    virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitiveUP(
    7416         UINT min_vertex_idx,
    7417         UINT vertex_count,
    74187326        UINT index_count,
    74197327        const void *index_data,
     
    74977405        const void *data,
    74987406        IUnknown *parent,
     7407        const struct wined3d_parent_ops *parent_ops,
    74997408        IWineD3DBuffer **buffer);
    75007409
     
    75067415        WINED3DPOOL pool,
    75077416        IWineD3DBuffer **vertex_buffer,
    7508         IUnknown *parent);
     7417        IUnknown *parent,
     7418        const struct wined3d_parent_ops *parent_ops);
    75097419
    75107420    HRESULT (STDMETHODCALLTYPE *CreateIndexBuffer)(
     
    75147424        WINED3DPOOL pool,
    75157425        IWineD3DBuffer **index_buffer,
    7516         IUnknown *parent);
     7426        IUnknown *parent,
     7427        const struct wined3d_parent_ops *parent_ops);
    75177428
    75187429    HRESULT (STDMETHODCALLTYPE *CreateStateBlock)(
     
    75367447        DWORD multisample_quality,
    75377448        WINED3DSURFTYPE surface_type,
    7538         IUnknown *parent);
     7449        IUnknown *parent,
     7450        const struct wined3d_parent_ops *parent_ops);
    75397451
    75407452    HRESULT (STDMETHODCALLTYPE *CreateRendertargetView)(
     
    75537465        WINED3DPOOL pool,
    75547466        IWineD3DTexture **texture,
    7555         IUnknown *parent);
     7467        IUnknown *parent,
     7468        const struct wined3d_parent_ops *parent_ops);
    75567469
    75577470    HRESULT (STDMETHODCALLTYPE *CreateVolumeTexture)(
     
    75657478        WINED3DPOOL pool,
    75667479        IWineD3DVolumeTexture **texture,
    7567         IUnknown *parent);
     7480        IUnknown *parent,
     7481        const struct wined3d_parent_ops *parent_ops);
    75687482
    75697483    HRESULT (STDMETHODCALLTYPE *CreateVolume)(
     
    75767490        WINED3DPOOL pool,
    75777491        IWineD3DVolume **volume,
    7578         IUnknown *parent);
     7492        IUnknown *parent,
     7493        const struct wined3d_parent_ops *parent_ops);
    75797494
    75807495    HRESULT (STDMETHODCALLTYPE *CreateCubeTexture)(
     
    75867501        WINED3DPOOL pool,
    75877502        IWineD3DCubeTexture **texture,
    7588         IUnknown *parent);
     7503        IUnknown *parent,
     7504        const struct wined3d_parent_ops *parent_ops);
    75897505
    75907506    HRESULT (STDMETHODCALLTYPE *CreateQuery)(
     
    76057521        IWineD3DVertexDeclaration **declaration,
    76067522        IUnknown *parent,
     7523        const struct wined3d_parent_ops *parent_ops,
    76077524        const WINED3DVERTEXELEMENT *elements,
    76087525        UINT element_count);
     
    76127529        IWineD3DVertexDeclaration **declaration,
    76137530        IUnknown *parent,
     7531        const struct wined3d_parent_ops *parent_ops,
    76147532        DWORD fvf);
    76157533
     
    76197537        const struct wined3d_shader_signature *output_signature,
    76207538        IWineD3DVertexShader **shader,
    7621         IUnknown *parent);
     7539        IUnknown *parent,
     7540        const struct wined3d_parent_ops *parent_ops);
    76227541
    76237542    HRESULT (STDMETHODCALLTYPE *CreatePixelShader)(
     
    76267545        const struct wined3d_shader_signature *output_signature,
    76277546        IWineD3DPixelShader **shader,
    7628         IUnknown *parent);
     7547        IUnknown *parent,
     7548        const struct wined3d_parent_ops *parent_ops);
    76297549
    76307550    HRESULT (STDMETHODCALLTYPE *CreatePalette)(
     
    76457565    HRESULT (STDMETHODCALLTYPE *Uninit3D)(
    76467566        IWineD3DDevice* This,
    7647         ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface),
    76487567        ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
    76497568
     
    77757694        WINED3DGAMMARAMP *ramp);
    77767695
    7777     HRESULT (STDMETHODCALLTYPE *SetIndices)(
     7696    HRESULT (STDMETHODCALLTYPE *SetIndexBuffer)(
    77787697        IWineD3DDevice* This,
    77797698        IWineD3DBuffer *index_buffer,
    77807699        WINED3DFORMAT format);
    77817700
    7782     HRESULT (STDMETHODCALLTYPE *GetIndices)(
     7701    HRESULT (STDMETHODCALLTYPE *GetIndexBuffer)(
    77837702        IWineD3DDevice* This,
    77847703        IWineD3DBuffer **index_buffer);
     
    81178036    HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitive)(
    81188037        IWineD3DDevice* This,
    8119         UINT min_vertex_idx,
    8120         UINT vertex_count,
    81218038        UINT start_idx,
    81228039        UINT index_count);
     
    81308047    HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitiveUP)(
    81318048        IWineD3DDevice* This,
    8132         UINT min_vertex_idx,
    8133         UINT vertex_count,
    81348049        UINT index_count,
    81358050        const void *index_data,
     
    82098124#define IWineD3DDevice_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
    82108125/*** IWineD3DDevice methods ***/
    8211 #define IWineD3DDevice_CreateBuffer(This,desc,data,parent,buffer) (This)->lpVtbl->CreateBuffer(This,desc,data,parent,buffer)
    8212 #define IWineD3DDevice_CreateVertexBuffer(This,length,usage,fvf,pool,vertex_buffer,parent) (This)->lpVtbl->CreateVertexBuffer(This,length,usage,fvf,pool,vertex_buffer,parent)
    8213 #define IWineD3DDevice_CreateIndexBuffer(This,length,usage,pool,index_buffer,parent) (This)->lpVtbl->CreateIndexBuffer(This,length,usage,pool,index_buffer,parent)
     8126#define IWineD3DDevice_CreateBuffer(This,desc,data,parent,parent_ops,buffer) (This)->lpVtbl->CreateBuffer(This,desc,data,parent,parent_ops,buffer)
     8127#define IWineD3DDevice_CreateVertexBuffer(This,length,usage,fvf,pool,vertex_buffer,parent,parent_ops) (This)->lpVtbl->CreateVertexBuffer(This,length,usage,fvf,pool,vertex_buffer,parent,parent_ops)
     8128#define IWineD3DDevice_CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops) (This)->lpVtbl->CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops)
    82148129#define IWineD3DDevice_CreateStateBlock(This,type,stateblock,parent) (This)->lpVtbl->CreateStateBlock(This,type,stateblock,parent)
    8215 #define IWineD3DDevice_CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent) (This)->lpVtbl->CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent)
     8130#define IWineD3DDevice_CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops) (This)->lpVtbl->CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops)
    82168131#define IWineD3DDevice_CreateRendertargetView(This,resource,parent,rendertarget_view) (This)->lpVtbl->CreateRendertargetView(This,resource,parent,rendertarget_view)
    8217 #define IWineD3DDevice_CreateTexture(This,width,height,levels,usage,format,pool,texture,parent) (This)->lpVtbl->CreateTexture(This,width,height,levels,usage,format,pool,texture,parent)
    8218 #define IWineD3DDevice_CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent) (This)->lpVtbl->CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent)
    8219 #define IWineD3DDevice_CreateVolume(This,width,height,depth,usage,format,pool,volume,parent) (This)->lpVtbl->CreateVolume(This,width,height,depth,usage,format,pool,volume,parent)
    8220 #define IWineD3DDevice_CreateCubeTexture(This,edge_length,levels,usage,format,pool,texture,parent) (This)->lpVtbl->CreateCubeTexture(This,edge_length,levels,usage,format,pool,texture,parent)
     8132#define IWineD3DDevice_CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops)
     8133#define IWineD3DDevice_CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent,parent_ops)
     8134#define IWineD3DDevice_CreateVolume(This,width,height,depth,usage,format,pool,volume,parent,parent_ops) (This)->lpVtbl->CreateVolume(This,width,height,depth,usage,format,pool,volume,parent,parent_ops)
     8135#define IWineD3DDevice_CreateCubeTexture(This,edge_length,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateCubeTexture(This,edge_length,levels,usage,format,pool,texture,parent,parent_ops)
    82218136#define IWineD3DDevice_CreateQuery(This,type,query,parent) (This)->lpVtbl->CreateQuery(This,type,query,parent)
    82228137#define IWineD3DDevice_CreateSwapChain(This,present_parameters,swapchain,parent,surface_type) (This)->lpVtbl->CreateSwapChain(This,present_parameters,swapchain,parent,surface_type)
    8223 #define IWineD3DDevice_CreateVertexDeclaration(This,declaration,parent,elements,element_count) (This)->lpVtbl->CreateVertexDeclaration(This,declaration,parent,elements,element_count)
    8224 #define IWineD3DDevice_CreateVertexDeclarationFromFVF(This,declaration,parent,fvf) (This)->lpVtbl->CreateVertexDeclarationFromFVF(This,declaration,parent,fvf)
    8225 #define IWineD3DDevice_CreateVertexShader(This,function,output_signature,shader,parent) (This)->lpVtbl->CreateVertexShader(This,function,output_signature,shader,parent)
    8226 #define IWineD3DDevice_CreatePixelShader(This,function,output_signature,shader,parent) (This)->lpVtbl->CreatePixelShader(This,function,output_signature,shader,parent)
     8138#define IWineD3DDevice_CreateVertexDeclaration(This,declaration,parent,parent_ops,elements,element_count) (This)->lpVtbl->CreateVertexDeclaration(This,declaration,parent,parent_ops,elements,element_count)
     8139#define IWineD3DDevice_CreateVertexDeclarationFromFVF(This,declaration,parent,parent_ops,fvf) (This)->lpVtbl->CreateVertexDeclarationFromFVF(This,declaration,parent,parent_ops,fvf)
     8140#define IWineD3DDevice_CreateVertexShader(This,function,output_signature,shader,parent,parent_ops) (This)->lpVtbl->CreateVertexShader(This,function,output_signature,shader,parent,parent_ops)
     8141#define IWineD3DDevice_CreatePixelShader(This,function,output_signature,shader,parent,parent_ops) (This)->lpVtbl->CreatePixelShader(This,function,output_signature,shader,parent,parent_ops)
    82278142#define IWineD3DDevice_CreatePalette(This,flags,palette_entry,palette,parent) (This)->lpVtbl->CreatePalette(This,flags,palette_entry,palette,parent)
    82288143#define IWineD3DDevice_Init3D(This,present_parameters) (This)->lpVtbl->Init3D(This,present_parameters)
    82298144#define IWineD3DDevice_InitGDI(This,present_parameters) (This)->lpVtbl->InitGDI(This,present_parameters)
    8230 #define IWineD3DDevice_Uninit3D(This,destroy_surface_callback,destroy_swapchain_callback) (This)->lpVtbl->Uninit3D(This,destroy_surface_callback,destroy_swapchain_callback)
     8145#define IWineD3DDevice_Uninit3D(This,destroy_swapchain_callback) (This)->lpVtbl->Uninit3D(This,destroy_swapchain_callback)
    82318146#define IWineD3DDevice_UninitGDI(This,destroy_swapchain_callback) (This)->lpVtbl->UninitGDI(This,destroy_swapchain_callback)
    82328147#define IWineD3DDevice_SetMultithreaded(This) (This)->lpVtbl->SetMultithreaded(This)
     
    82588173#define IWineD3DDevice_SetGammaRamp(This,swapchain_idx,flags,ramp) (This)->lpVtbl->SetGammaRamp(This,swapchain_idx,flags,ramp)
    82598174#define IWineD3DDevice_GetGammaRamp(This,swapchain_idx,ramp) (This)->lpVtbl->GetGammaRamp(This,swapchain_idx,ramp)
    8260 #define IWineD3DDevice_SetIndices(This,index_buffer,format) (This)->lpVtbl->SetIndices(This,index_buffer,format)
    8261 #define IWineD3DDevice_GetIndices(This,index_buffer) (This)->lpVtbl->GetIndices(This,index_buffer)
     8175#define IWineD3DDevice_SetIndexBuffer(This,index_buffer,format) (This)->lpVtbl->SetIndexBuffer(This,index_buffer,format)
     8176#define IWineD3DDevice_GetIndexBuffer(This,index_buffer) (This)->lpVtbl->GetIndexBuffer(This,index_buffer)
    82628177#define IWineD3DDevice_SetBaseVertexIndex(This,base_index) (This)->lpVtbl->SetBaseVertexIndex(This,base_index)
    82638178#define IWineD3DDevice_GetBaseVertexIndex(This,base_index) (This)->lpVtbl->GetBaseVertexIndex(This,base_index)
     
    83268241#define IWineD3DDevice_GetPrimitiveType(This,primitive_topology) (This)->lpVtbl->GetPrimitiveType(This,primitive_topology)
    83278242#define IWineD3DDevice_DrawPrimitive(This,start_vertex,vertex_count) (This)->lpVtbl->DrawPrimitive(This,start_vertex,vertex_count)
    8328 #define IWineD3DDevice_DrawIndexedPrimitive(This,min_vertex_idx,vertex_count,start_idx,index_count) (This)->lpVtbl->DrawIndexedPrimitive(This,min_vertex_idx,vertex_count,start_idx,index_count)
     8243#define IWineD3DDevice_DrawIndexedPrimitive(This,start_idx,index_count) (This)->lpVtbl->DrawIndexedPrimitive(This,start_idx,index_count)
    83298244#define IWineD3DDevice_DrawPrimitiveUP(This,vertex_count,stream_data,stream_stride) (This)->lpVtbl->DrawPrimitiveUP(This,vertex_count,stream_data,stream_stride)
    8330 #define IWineD3DDevice_DrawIndexedPrimitiveUP(This,min_vertex_idx,vertex_count,index_count,index_data,index_data_format,stream_data,stream_stride) (This)->lpVtbl->DrawIndexedPrimitiveUP(This,min_vertex_idx,vertex_count,index_count,index_data,index_data_format,stream_data,stream_stride)
     8245#define IWineD3DDevice_DrawIndexedPrimitiveUP(This,index_count,index_data,index_data_format,stream_data,stream_stride) (This)->lpVtbl->DrawIndexedPrimitiveUP(This,index_count,index_data,index_data_format,stream_data,stream_stride)
    83318246#define IWineD3DDevice_DrawPrimitiveStrided(This,vertex_count,strided_data) (This)->lpVtbl->DrawPrimitiveStrided(This,vertex_count,strided_data)
    83328247#define IWineD3DDevice_DrawIndexedPrimitiveStrided(This,index_count,strided_data,vertex_count,index_data,index_data_format) (This)->lpVtbl->DrawIndexedPrimitiveStrided(This,index_count,strided_data,vertex_count,index_data,index_data_format)
     
    83488263    const void *data,
    83498264    IUnknown *parent,
     8265    const struct wined3d_parent_ops *parent_ops,
    83508266    IWineD3DBuffer **buffer);
    83518267void __RPC_STUB IWineD3DDevice_CreateBuffer_Stub(
     
    83618277    WINED3DPOOL pool,
    83628278    IWineD3DBuffer **vertex_buffer,
    8363     IUnknown *parent);
     8279    IUnknown *parent,
     8280    const struct wined3d_parent_ops *parent_ops);
    83648281void __RPC_STUB IWineD3DDevice_CreateVertexBuffer_Stub(
    83658282    IRpcStubBuffer* This,
     
    83738290    WINED3DPOOL pool,
    83748291    IWineD3DBuffer **index_buffer,
    8375     IUnknown *parent);
     8292    IUnknown *parent,
     8293    const struct wined3d_parent_ops *parent_ops);
    83768294void __RPC_STUB IWineD3DDevice_CreateIndexBuffer_Stub(
    83778295    IRpcStubBuffer* This,
     
    84038321    DWORD multisample_quality,
    84048322    WINED3DSURFTYPE surface_type,
    8405     IUnknown *parent);
     8323    IUnknown *parent,
     8324    const struct wined3d_parent_ops *parent_ops);
    84068325void __RPC_STUB IWineD3DDevice_CreateSurface_Stub(
    84078326    IRpcStubBuffer* This,
     
    84288347    WINED3DPOOL pool,
    84298348    IWineD3DTexture **texture,
    8430     IUnknown *parent);
     8349    IUnknown *parent,
     8350    const struct wined3d_parent_ops *parent_ops);
    84318351void __RPC_STUB IWineD3DDevice_CreateTexture_Stub(
    84328352    IRpcStubBuffer* This,
     
    84448364    WINED3DPOOL pool,
    84458365    IWineD3DVolumeTexture **texture,
    8446     IUnknown *parent);
     8366    IUnknown *parent,
     8367    const struct wined3d_parent_ops *parent_ops);
    84478368void __RPC_STUB IWineD3DDevice_CreateVolumeTexture_Stub(
    84488369    IRpcStubBuffer* This,
     
    84598380    WINED3DPOOL pool,
    84608381    IWineD3DVolume **volume,
    8461     IUnknown *parent);
     8382    IUnknown *parent,
     8383    const struct wined3d_parent_ops *parent_ops);
    84628384void __RPC_STUB IWineD3DDevice_CreateVolume_Stub(
    84638385    IRpcStubBuffer* This,
     
    84738395    WINED3DPOOL pool,
    84748396    IWineD3DCubeTexture **texture,
    8475     IUnknown *parent);
     8397    IUnknown *parent,
     8398    const struct wined3d_parent_ops *parent_ops);
    84768399void __RPC_STUB IWineD3DDevice_CreateCubeTexture_Stub(
    84778400    IRpcStubBuffer* This,
     
    85048427    IWineD3DVertexDeclaration **declaration,
    85058428    IUnknown *parent,
     8429    const struct wined3d_parent_ops *parent_ops,
    85068430    const WINED3DVERTEXELEMENT *elements,
    85078431    UINT element_count);
     
    85158439    IWineD3DVertexDeclaration **declaration,
    85168440    IUnknown *parent,
     8441    const struct wined3d_parent_ops *parent_ops,
    85178442    DWORD fvf);
    85188443void __RPC_STUB IWineD3DDevice_CreateVertexDeclarationFromFVF_Stub(
     
    85268451    const struct wined3d_shader_signature *output_signature,
    85278452    IWineD3DVertexShader **shader,
    8528     IUnknown *parent);
     8453    IUnknown *parent,
     8454    const struct wined3d_parent_ops *parent_ops);
    85298455void __RPC_STUB IWineD3DDevice_CreateVertexShader_Stub(
    85308456    IRpcStubBuffer* This,
     
    85378463    const struct wined3d_shader_signature *output_signature,
    85388464    IWineD3DPixelShader **shader,
    8539     IUnknown *parent);
     8465    IUnknown *parent,
     8466    const struct wined3d_parent_ops *parent_ops);
    85408467void __RPC_STUB IWineD3DDevice_CreatePixelShader_Stub(
    85418468    IRpcStubBuffer* This,
     
    85728499HRESULT STDMETHODCALLTYPE IWineD3DDevice_Uninit3D_Proxy(
    85738500    IWineD3DDevice* This,
    8574     ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface),
    85758501    ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
    85768502void __RPC_STUB IWineD3DDevice_Uninit3D_Stub(
     
    88228748    PRPC_MESSAGE pRpcMessage,
    88238749    DWORD* pdwStubPhase);
    8824 HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetIndices_Proxy(
     8750HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetIndexBuffer_Proxy(
    88258751    IWineD3DDevice* This,
    88268752    IWineD3DBuffer *index_buffer,
    88278753    WINED3DFORMAT format);
    8828 void __RPC_STUB IWineD3DDevice_SetIndices_Stub(
    8829     IRpcStubBuffer* This,
    8830     IRpcChannelBuffer* pRpcChannelBuffer,
    8831     PRPC_MESSAGE pRpcMessage,
    8832     DWORD* pdwStubPhase);
    8833 HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetIndices_Proxy(
     8754void __RPC_STUB IWineD3DDevice_SetIndexBuffer_Stub(
     8755    IRpcStubBuffer* This,
     8756    IRpcChannelBuffer* pRpcChannelBuffer,
     8757    PRPC_MESSAGE pRpcMessage,
     8758    DWORD* pdwStubPhase);
     8759HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetIndexBuffer_Proxy(
    88348760    IWineD3DDevice* This,
    88358761    IWineD3DBuffer **index_buffer);
    8836 void __RPC_STUB IWineD3DDevice_GetIndices_Stub(
     8762void __RPC_STUB IWineD3DDevice_GetIndexBuffer_Stub(
    88378763    IRpcStubBuffer* This,
    88388764    IRpcChannelBuffer* pRpcChannelBuffer,
     
    94369362HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitive_Proxy(
    94379363    IWineD3DDevice* This,
    9438     UINT min_vertex_idx,
    9439     UINT vertex_count,
    94409364    UINT start_idx,
    94419365    UINT index_count);
     
    94579381HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitiveUP_Proxy(
    94589382    IWineD3DDevice* This,
    9459     UINT min_vertex_idx,
    9460     UINT vertex_count,
    94619383    UINT index_count,
    94629384    const void *index_data,
     
    95739495IWineD3DClipper * STDMETHODCALLTYPE  WineDirect3DCreateClipper(IUnknown *parent);
    95749496
     9497void STDMETHODCALLTYPE  wined3d_mutex_lock(void);
     9498
     9499void STDMETHODCALLTYPE  wined3d_mutex_unlock(void);
     9500
    95759501/* Begin additional prototypes for all interfaces */
    95769502
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette