Changeset 23571 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/wined3d.h
- Timestamp:
- Oct 6, 2009 6:07:06 AM (15 years ago)
- 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. 27from ../../include/wine/wined3d.idl - Do not edit ***/1 /*** Autogenerated by WIDL 1.1.30 from ../../include/wine/wined3d.idl - Do not edit ***/ 2 2 3 3 #include <rpc.h> … … 218 218 typedef enum _WINED3DFORMAT { 219 219 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, 341 336 WINED3DFMT_FORCE_DWORD = 0xffffffff 342 337 } WINED3DFORMAT; … … 2606 2601 }; 2607 2602 2603 struct wined3d_parent_ops { 2604 void (STDMETHODCALLTYPE *wined3d_object_destroyed)(void *parent); 2605 }; 2606 2608 2607 #ifndef __IWineD3DResource_FWD_DEFINED__ 2609 2608 #define __IWineD3DResource_FWD_DEFINED__ … … 2864 2863 #endif /* __IWineD3DDeviceParent_INTERFACE_DEFINED__ */ 2865 2864 2866 typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYSURFACEFN)(IWineD3DSurface *pSurface);2867 typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYVOLUMEFN)(IWineD3DVolume *pVolume);2868 2865 typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYSWAPCHAINFN)(IWineD3DSwapChain *pSwapChain); 2869 2866 typedef HRESULT (STDMETHODCALLTYPE *D3DCB_ENUMRESOURCES)(IWineD3DResource *resource,void *pData); … … 5070 5067 interface IWineD3DTexture : public IWineD3DBaseTexture 5071 5068 { 5072 virtual void STDMETHODCALLTYPE Destroy(5073 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)) = 0;5074 5075 5069 virtual HRESULT STDMETHODCALLTYPE GetLevelDesc( 5076 5070 UINT level, … … 5192 5186 5193 5187 /*** IWineD3DTexture methods ***/ 5194 void (STDMETHODCALLTYPE *Destroy)(5195 IWineD3DTexture* This,5196 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));5197 5198 5188 HRESULT (STDMETHODCALLTYPE *GetLevelDesc)( 5199 5189 IWineD3DTexture* This, … … 5257 5247 #define IWineD3DTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This) 5258 5248 /*** IWineD3DTexture methods ***/ 5259 #define IWineD3DTexture_Destroy(This,destroy_surface_callback) (This)->lpVtbl->Destroy(This,destroy_surface_callback)5260 5249 #define IWineD3DTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc) 5261 5250 #define IWineD3DTexture_GetSurfaceLevel(This,level,surface) (This)->lpVtbl->GetSurfaceLevel(This,level,surface) … … 5267 5256 #endif 5268 5257 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);5277 5258 HRESULT STDMETHODCALLTYPE IWineD3DTexture_GetLevelDesc_Proxy( 5278 5259 IWineD3DTexture* This, … … 5333 5314 interface IWineD3DCubeTexture : public IWineD3DBaseTexture 5334 5315 { 5335 virtual void STDMETHODCALLTYPE Destroy(5336 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)) = 0;5337 5338 5316 virtual HRESULT STDMETHODCALLTYPE GetLevelDesc( 5339 5317 UINT level, … … 5459 5437 5460 5438 /*** IWineD3DCubeTexture methods ***/ 5461 void (STDMETHODCALLTYPE *Destroy)(5462 IWineD3DCubeTexture* This,5463 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface));5464 5465 5439 HRESULT (STDMETHODCALLTYPE *GetLevelDesc)( 5466 5440 IWineD3DCubeTexture* This, … … 5528 5502 #define IWineD3DCubeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This) 5529 5503 /*** IWineD3DCubeTexture methods ***/ 5530 #define IWineD3DCubeTexture_Destroy(This,destroy_surface_callback) (This)->lpVtbl->Destroy(This,destroy_surface_callback)5531 5504 #define IWineD3DCubeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc) 5532 5505 #define IWineD3DCubeTexture_GetCubeMapSurface(This,face,level,surface) (This)->lpVtbl->GetCubeMapSurface(This,face,level,surface) … … 5538 5511 #endif 5539 5512 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);5548 5513 HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_GetLevelDesc_Proxy( 5549 5514 IWineD3DCubeTexture* This, … … 5608 5573 interface IWineD3DVolumeTexture : public IWineD3DBaseTexture 5609 5574 { 5610 virtual void STDMETHODCALLTYPE Destroy(5611 ULONG (STDMETHODCALLTYPE * destroy_volume_callback)(IWineD3DVolume *pVolume)) = 0;5612 5613 5575 virtual HRESULT STDMETHODCALLTYPE GetLevelDesc( 5614 5576 UINT level, … … 5730 5692 5731 5693 /*** IWineD3DVolumeTexture methods ***/ 5732 void (STDMETHODCALLTYPE *Destroy)(5733 IWineD3DVolumeTexture* This,5734 ULONG (STDMETHODCALLTYPE * destroy_volume_callback)(IWineD3DVolume *pVolume));5735 5736 5694 HRESULT (STDMETHODCALLTYPE *GetLevelDesc)( 5737 5695 IWineD3DVolumeTexture* This, … … 5795 5753 #define IWineD3DVolumeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This) 5796 5754 /*** IWineD3DVolumeTexture methods ***/ 5797 #define IWineD3DVolumeTexture_Destroy(This,destroy_volume_callback) (This)->lpVtbl->Destroy(This,destroy_volume_callback)5798 5755 #define IWineD3DVolumeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc) 5799 5756 #define IWineD3DVolumeTexture_GetVolumeLevel(This,level,volume) (This)->lpVtbl->GetVolumeLevel(This,level,volume) … … 5805 5762 #endif 5806 5763 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);5815 5764 HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_GetLevelDesc_Proxy( 5816 5765 IWineD3DVolumeTexture* This, … … 6190 6139 { 6191 6140 virtual void STDMETHODCALLTYPE Destroy( 6192 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)) = 0;6141 ) = 0; 6193 6142 6194 6143 virtual HRESULT STDMETHODCALLTYPE GetDevice( … … 6253 6202 /*** IWineD3DSwapChain methods ***/ 6254 6203 void (STDMETHODCALLTYPE *Destroy)( 6255 IWineD3DSwapChain* This, 6256 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)); 6204 IWineD3DSwapChain* This); 6257 6205 6258 6206 HRESULT (STDMETHODCALLTYPE *GetDevice)( … … 6317 6265 #define IWineD3DSwapChain_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 6318 6266 /*** 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) 6320 6268 #define IWineD3DSwapChain_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device) 6321 6269 #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) … … 6333 6281 6334 6282 void STDMETHODCALLTYPE IWineD3DSwapChain_Destroy_Proxy( 6335 IWineD3DSwapChain* This, 6336 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface)); 6283 IWineD3DSwapChain* This); 6337 6284 void __RPC_STUB IWineD3DSwapChain_Destroy_Stub( 6338 6285 IRpcStubBuffer* This, … … 6597 6544 interface IWineD3DBaseShader : public IWineD3DBase 6598 6545 { 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; 6602 6552 6603 6553 }; … … 6624 6574 6625 6575 /*** IWineD3DBaseShader methods ***/ 6626 HRESULT (STDMETHODCALLTYPE * SetFunction)(6576 HRESULT (STDMETHODCALLTYPE *GetDevice)( 6627 6577 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); 6630 6584 6631 6585 END_INTERFACE … … 6643 6597 #define IWineD3DBaseShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 6644 6598 /*** 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) 6646 6601 #endif 6647 6602 6648 6603 #endif 6649 6604 6650 HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_ SetFunction_Proxy(6605 HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_GetDevice_Proxy( 6651 6606 IWineD3DBaseShader* This, 6652 const DWORD *function, 6653 const struct wined3d_shader_signature *output_signature); 6654 void __RPC_STUB IWineD3DBaseShader_SetFunction_Stub( 6607 IWineD3DDevice **device); 6608 void __RPC_STUB IWineD3DBaseShader_GetDevice_Stub( 6609 IRpcStubBuffer* This, 6610 IRpcChannelBuffer* pRpcChannelBuffer, 6611 PRPC_MESSAGE pRpcMessage, 6612 DWORD* pdwStubPhase); 6613 HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_GetFunction_Proxy( 6614 IWineD3DBaseShader* This, 6615 void *data, 6616 UINT *data_size); 6617 void __RPC_STUB IWineD3DBaseShader_GetFunction_Stub( 6655 6618 IRpcStubBuffer* This, 6656 6619 IRpcChannelBuffer* pRpcChannelBuffer, … … 6670 6633 interface IWineD3DVertexShader : public IWineD3DBaseShader 6671 6634 { 6672 virtual HRESULT STDMETHODCALLTYPE GetDevice(6673 IWineD3DDevice **device) = 0;6674 6675 virtual HRESULT STDMETHODCALLTYPE GetFunction(6676 void *data,6677 UINT *data_size) = 0;6678 6679 6635 virtual HRESULT STDMETHODCALLTYPE SetLocalConstantsF( 6680 6636 UINT start_idx, … … 6705 6661 6706 6662 /*** 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 ***/6713 6663 HRESULT (STDMETHODCALLTYPE *GetDevice)( 6714 6664 IWineD3DVertexShader* This, … … 6720 6670 UINT *data_size); 6721 6671 6672 /*** IWineD3DVertexShader methods ***/ 6722 6673 HRESULT (STDMETHODCALLTYPE *SetLocalConstantsF)( 6723 6674 IWineD3DVertexShader* This, … … 6740 6691 #define IWineD3DVertexShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 6741 6692 /*** IWineD3DBaseShader methods ***/ 6742 #define IWineD3DVertexShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature)6743 /*** IWineD3DVertexShader methods ***/6744 6693 #define IWineD3DVertexShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device) 6745 6694 #define IWineD3DVertexShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size) 6695 /*** IWineD3DVertexShader methods ***/ 6746 6696 #define IWineD3DVertexShader_SetLocalConstantsF(This,start_idx,src_data,vector4f_count) (This)->lpVtbl->SetLocalConstantsF(This,start_idx,src_data,vector4f_count) 6747 6697 #endif … … 6749 6699 #endif 6750 6700 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);6768 6701 HRESULT STDMETHODCALLTYPE IWineD3DVertexShader_SetLocalConstantsF_Proxy( 6769 6702 IWineD3DVertexShader* This, … … 6789 6722 interface IWineD3DPixelShader : public IWineD3DBaseShader 6790 6723 { 6791 virtual HRESULT STDMETHODCALLTYPE GetDevice(6792 IWineD3DDevice **device) = 0;6793 6794 virtual HRESULT STDMETHODCALLTYPE GetFunction(6795 void *data,6796 UINT *data_size) = 0;6797 6798 6724 }; 6799 6725 #else … … 6819 6745 6820 6746 /*** 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 ***/6827 6747 HRESULT (STDMETHODCALLTYPE *GetDevice)( 6828 6748 IWineD3DPixelShader* This, … … 6848 6768 #define IWineD3DPixelShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 6849 6769 /*** IWineD3DBaseShader methods ***/ 6850 #define IWineD3DPixelShader_SetFunction(This,function,output_signature) (This)->lpVtbl->SetFunction(This,function,output_signature)6851 /*** IWineD3DPixelShader methods ***/6852 6770 #define IWineD3DPixelShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device) 6853 6771 #define IWineD3DPixelShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size) … … 6856 6774 #endif 6857 6775 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);6875 6776 6876 6777 #endif /* __IWineD3DPixelShader_INTERFACE_DEFINED__ */ … … 6890 6791 const void *data, 6891 6792 IUnknown *parent, 6793 const struct wined3d_parent_ops *parent_ops, 6892 6794 IWineD3DBuffer **buffer) = 0; 6893 6795 … … 6898 6800 WINED3DPOOL pool, 6899 6801 IWineD3DBuffer **vertex_buffer, 6900 IUnknown *parent) = 0; 6802 IUnknown *parent, 6803 const struct wined3d_parent_ops *parent_ops) = 0; 6901 6804 6902 6805 virtual HRESULT STDMETHODCALLTYPE CreateIndexBuffer( … … 6905 6808 WINED3DPOOL pool, 6906 6809 IWineD3DBuffer **index_buffer, 6907 IUnknown *parent) = 0; 6810 IUnknown *parent, 6811 const struct wined3d_parent_ops *parent_ops) = 0; 6908 6812 6909 6813 virtual HRESULT STDMETHODCALLTYPE CreateStateBlock( … … 6925 6829 DWORD multisample_quality, 6926 6830 WINED3DSURFTYPE surface_type, 6927 IUnknown *parent) = 0; 6831 IUnknown *parent, 6832 const struct wined3d_parent_ops *parent_ops) = 0; 6928 6833 6929 6834 virtual HRESULT STDMETHODCALLTYPE CreateRendertargetView( … … 6940 6845 WINED3DPOOL pool, 6941 6846 IWineD3DTexture **texture, 6942 IUnknown *parent) = 0; 6847 IUnknown *parent, 6848 const struct wined3d_parent_ops *parent_ops) = 0; 6943 6849 6944 6850 virtual HRESULT STDMETHODCALLTYPE CreateVolumeTexture( … … 6951 6857 WINED3DPOOL pool, 6952 6858 IWineD3DVolumeTexture **texture, 6953 IUnknown *parent) = 0; 6859 IUnknown *parent, 6860 const struct wined3d_parent_ops *parent_ops) = 0; 6954 6861 6955 6862 virtual HRESULT STDMETHODCALLTYPE CreateVolume( … … 6961 6868 WINED3DPOOL pool, 6962 6869 IWineD3DVolume **volume, 6963 IUnknown *parent) = 0; 6870 IUnknown *parent, 6871 const struct wined3d_parent_ops *parent_ops) = 0; 6964 6872 6965 6873 virtual HRESULT STDMETHODCALLTYPE CreateCubeTexture( … … 6970 6878 WINED3DPOOL pool, 6971 6879 IWineD3DCubeTexture **texture, 6972 IUnknown *parent) = 0; 6880 IUnknown *parent, 6881 const struct wined3d_parent_ops *parent_ops) = 0; 6973 6882 6974 6883 virtual HRESULT STDMETHODCALLTYPE CreateQuery( … … 6986 6895 IWineD3DVertexDeclaration **declaration, 6987 6896 IUnknown *parent, 6897 const struct wined3d_parent_ops *parent_ops, 6988 6898 const WINED3DVERTEXELEMENT *elements, 6989 6899 UINT element_count) = 0; … … 6992 6902 IWineD3DVertexDeclaration **declaration, 6993 6903 IUnknown *parent, 6904 const struct wined3d_parent_ops *parent_ops, 6994 6905 DWORD fvf) = 0; 6995 6906 … … 6998 6909 const struct wined3d_shader_signature *output_signature, 6999 6910 IWineD3DVertexShader **shader, 7000 IUnknown *parent) = 0; 6911 IUnknown *parent, 6912 const struct wined3d_parent_ops *parent_ops) = 0; 7001 6913 7002 6914 virtual HRESULT STDMETHODCALLTYPE CreatePixelShader( … … 7004 6916 const struct wined3d_shader_signature *output_signature, 7005 6917 IWineD3DPixelShader **shader, 7006 IUnknown *parent) = 0; 6918 IUnknown *parent, 6919 const struct wined3d_parent_ops *parent_ops) = 0; 7007 6920 7008 6921 virtual HRESULT STDMETHODCALLTYPE CreatePalette( … … 7019 6932 7020 6933 virtual HRESULT STDMETHODCALLTYPE Uninit3D( 7021 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface),7022 6934 ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)) = 0; 7023 6935 … … 7125 7037 WINED3DGAMMARAMP *ramp) = 0; 7126 7038 7127 virtual HRESULT STDMETHODCALLTYPE SetInd ices(7039 virtual HRESULT STDMETHODCALLTYPE SetIndexBuffer( 7128 7040 IWineD3DBuffer *index_buffer, 7129 7041 WINED3DFORMAT format) = 0; 7130 7042 7131 virtual HRESULT STDMETHODCALLTYPE GetInd ices(7043 virtual HRESULT STDMETHODCALLTYPE GetIndexBuffer( 7132 7044 IWineD3DBuffer **index_buffer) = 0; 7133 7045 … … 7403 7315 7404 7316 virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitive( 7405 UINT min_vertex_idx,7406 UINT vertex_count,7407 7317 UINT start_idx, 7408 7318 UINT index_count) = 0; … … 7414 7324 7415 7325 virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitiveUP( 7416 UINT min_vertex_idx,7417 UINT vertex_count,7418 7326 UINT index_count, 7419 7327 const void *index_data, … … 7497 7405 const void *data, 7498 7406 IUnknown *parent, 7407 const struct wined3d_parent_ops *parent_ops, 7499 7408 IWineD3DBuffer **buffer); 7500 7409 … … 7506 7415 WINED3DPOOL pool, 7507 7416 IWineD3DBuffer **vertex_buffer, 7508 IUnknown *parent); 7417 IUnknown *parent, 7418 const struct wined3d_parent_ops *parent_ops); 7509 7419 7510 7420 HRESULT (STDMETHODCALLTYPE *CreateIndexBuffer)( … … 7514 7424 WINED3DPOOL pool, 7515 7425 IWineD3DBuffer **index_buffer, 7516 IUnknown *parent); 7426 IUnknown *parent, 7427 const struct wined3d_parent_ops *parent_ops); 7517 7428 7518 7429 HRESULT (STDMETHODCALLTYPE *CreateStateBlock)( … … 7536 7447 DWORD multisample_quality, 7537 7448 WINED3DSURFTYPE surface_type, 7538 IUnknown *parent); 7449 IUnknown *parent, 7450 const struct wined3d_parent_ops *parent_ops); 7539 7451 7540 7452 HRESULT (STDMETHODCALLTYPE *CreateRendertargetView)( … … 7553 7465 WINED3DPOOL pool, 7554 7466 IWineD3DTexture **texture, 7555 IUnknown *parent); 7467 IUnknown *parent, 7468 const struct wined3d_parent_ops *parent_ops); 7556 7469 7557 7470 HRESULT (STDMETHODCALLTYPE *CreateVolumeTexture)( … … 7565 7478 WINED3DPOOL pool, 7566 7479 IWineD3DVolumeTexture **texture, 7567 IUnknown *parent); 7480 IUnknown *parent, 7481 const struct wined3d_parent_ops *parent_ops); 7568 7482 7569 7483 HRESULT (STDMETHODCALLTYPE *CreateVolume)( … … 7576 7490 WINED3DPOOL pool, 7577 7491 IWineD3DVolume **volume, 7578 IUnknown *parent); 7492 IUnknown *parent, 7493 const struct wined3d_parent_ops *parent_ops); 7579 7494 7580 7495 HRESULT (STDMETHODCALLTYPE *CreateCubeTexture)( … … 7586 7501 WINED3DPOOL pool, 7587 7502 IWineD3DCubeTexture **texture, 7588 IUnknown *parent); 7503 IUnknown *parent, 7504 const struct wined3d_parent_ops *parent_ops); 7589 7505 7590 7506 HRESULT (STDMETHODCALLTYPE *CreateQuery)( … … 7605 7521 IWineD3DVertexDeclaration **declaration, 7606 7522 IUnknown *parent, 7523 const struct wined3d_parent_ops *parent_ops, 7607 7524 const WINED3DVERTEXELEMENT *elements, 7608 7525 UINT element_count); … … 7612 7529 IWineD3DVertexDeclaration **declaration, 7613 7530 IUnknown *parent, 7531 const struct wined3d_parent_ops *parent_ops, 7614 7532 DWORD fvf); 7615 7533 … … 7619 7537 const struct wined3d_shader_signature *output_signature, 7620 7538 IWineD3DVertexShader **shader, 7621 IUnknown *parent); 7539 IUnknown *parent, 7540 const struct wined3d_parent_ops *parent_ops); 7622 7541 7623 7542 HRESULT (STDMETHODCALLTYPE *CreatePixelShader)( … … 7626 7545 const struct wined3d_shader_signature *output_signature, 7627 7546 IWineD3DPixelShader **shader, 7628 IUnknown *parent); 7547 IUnknown *parent, 7548 const struct wined3d_parent_ops *parent_ops); 7629 7549 7630 7550 HRESULT (STDMETHODCALLTYPE *CreatePalette)( … … 7645 7565 HRESULT (STDMETHODCALLTYPE *Uninit3D)( 7646 7566 IWineD3DDevice* This, 7647 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface),7648 7567 ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)); 7649 7568 … … 7775 7694 WINED3DGAMMARAMP *ramp); 7776 7695 7777 HRESULT (STDMETHODCALLTYPE *SetInd ices)(7696 HRESULT (STDMETHODCALLTYPE *SetIndexBuffer)( 7778 7697 IWineD3DDevice* This, 7779 7698 IWineD3DBuffer *index_buffer, 7780 7699 WINED3DFORMAT format); 7781 7700 7782 HRESULT (STDMETHODCALLTYPE *GetInd ices)(7701 HRESULT (STDMETHODCALLTYPE *GetIndexBuffer)( 7783 7702 IWineD3DDevice* This, 7784 7703 IWineD3DBuffer **index_buffer); … … 8117 8036 HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitive)( 8118 8037 IWineD3DDevice* This, 8119 UINT min_vertex_idx,8120 UINT vertex_count,8121 8038 UINT start_idx, 8122 8039 UINT index_count); … … 8130 8047 HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitiveUP)( 8131 8048 IWineD3DDevice* This, 8132 UINT min_vertex_idx,8133 UINT vertex_count,8134 8049 UINT index_count, 8135 8050 const void *index_data, … … 8209 8124 #define IWineD3DDevice_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent) 8210 8125 /*** 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) 8214 8129 #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) 8216 8131 #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) 8221 8136 #define IWineD3DDevice_CreateQuery(This,type,query,parent) (This)->lpVtbl->CreateQuery(This,type,query,parent) 8222 8137 #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) 8227 8142 #define IWineD3DDevice_CreatePalette(This,flags,palette_entry,palette,parent) (This)->lpVtbl->CreatePalette(This,flags,palette_entry,palette,parent) 8228 8143 #define IWineD3DDevice_Init3D(This,present_parameters) (This)->lpVtbl->Init3D(This,present_parameters) 8229 8144 #define IWineD3DDevice_InitGDI(This,present_parameters) (This)->lpVtbl->InitGDI(This,present_parameters) 8230 #define IWineD3DDevice_Uninit3D(This,destroy_s urface_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) 8231 8146 #define IWineD3DDevice_UninitGDI(This,destroy_swapchain_callback) (This)->lpVtbl->UninitGDI(This,destroy_swapchain_callback) 8232 8147 #define IWineD3DDevice_SetMultithreaded(This) (This)->lpVtbl->SetMultithreaded(This) … … 8258 8173 #define IWineD3DDevice_SetGammaRamp(This,swapchain_idx,flags,ramp) (This)->lpVtbl->SetGammaRamp(This,swapchain_idx,flags,ramp) 8259 8174 #define IWineD3DDevice_GetGammaRamp(This,swapchain_idx,ramp) (This)->lpVtbl->GetGammaRamp(This,swapchain_idx,ramp) 8260 #define IWineD3DDevice_SetInd ices(This,index_buffer,format) (This)->lpVtbl->SetIndices(This,index_buffer,format)8261 #define IWineD3DDevice_GetInd ices(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) 8262 8177 #define IWineD3DDevice_SetBaseVertexIndex(This,base_index) (This)->lpVtbl->SetBaseVertexIndex(This,base_index) 8263 8178 #define IWineD3DDevice_GetBaseVertexIndex(This,base_index) (This)->lpVtbl->GetBaseVertexIndex(This,base_index) … … 8326 8241 #define IWineD3DDevice_GetPrimitiveType(This,primitive_topology) (This)->lpVtbl->GetPrimitiveType(This,primitive_topology) 8327 8242 #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) 8329 8244 #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) 8331 8246 #define IWineD3DDevice_DrawPrimitiveStrided(This,vertex_count,strided_data) (This)->lpVtbl->DrawPrimitiveStrided(This,vertex_count,strided_data) 8332 8247 #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) … … 8348 8263 const void *data, 8349 8264 IUnknown *parent, 8265 const struct wined3d_parent_ops *parent_ops, 8350 8266 IWineD3DBuffer **buffer); 8351 8267 void __RPC_STUB IWineD3DDevice_CreateBuffer_Stub( … … 8361 8277 WINED3DPOOL pool, 8362 8278 IWineD3DBuffer **vertex_buffer, 8363 IUnknown *parent); 8279 IUnknown *parent, 8280 const struct wined3d_parent_ops *parent_ops); 8364 8281 void __RPC_STUB IWineD3DDevice_CreateVertexBuffer_Stub( 8365 8282 IRpcStubBuffer* This, … … 8373 8290 WINED3DPOOL pool, 8374 8291 IWineD3DBuffer **index_buffer, 8375 IUnknown *parent); 8292 IUnknown *parent, 8293 const struct wined3d_parent_ops *parent_ops); 8376 8294 void __RPC_STUB IWineD3DDevice_CreateIndexBuffer_Stub( 8377 8295 IRpcStubBuffer* This, … … 8403 8321 DWORD multisample_quality, 8404 8322 WINED3DSURFTYPE surface_type, 8405 IUnknown *parent); 8323 IUnknown *parent, 8324 const struct wined3d_parent_ops *parent_ops); 8406 8325 void __RPC_STUB IWineD3DDevice_CreateSurface_Stub( 8407 8326 IRpcStubBuffer* This, … … 8428 8347 WINED3DPOOL pool, 8429 8348 IWineD3DTexture **texture, 8430 IUnknown *parent); 8349 IUnknown *parent, 8350 const struct wined3d_parent_ops *parent_ops); 8431 8351 void __RPC_STUB IWineD3DDevice_CreateTexture_Stub( 8432 8352 IRpcStubBuffer* This, … … 8444 8364 WINED3DPOOL pool, 8445 8365 IWineD3DVolumeTexture **texture, 8446 IUnknown *parent); 8366 IUnknown *parent, 8367 const struct wined3d_parent_ops *parent_ops); 8447 8368 void __RPC_STUB IWineD3DDevice_CreateVolumeTexture_Stub( 8448 8369 IRpcStubBuffer* This, … … 8459 8380 WINED3DPOOL pool, 8460 8381 IWineD3DVolume **volume, 8461 IUnknown *parent); 8382 IUnknown *parent, 8383 const struct wined3d_parent_ops *parent_ops); 8462 8384 void __RPC_STUB IWineD3DDevice_CreateVolume_Stub( 8463 8385 IRpcStubBuffer* This, … … 8473 8395 WINED3DPOOL pool, 8474 8396 IWineD3DCubeTexture **texture, 8475 IUnknown *parent); 8397 IUnknown *parent, 8398 const struct wined3d_parent_ops *parent_ops); 8476 8399 void __RPC_STUB IWineD3DDevice_CreateCubeTexture_Stub( 8477 8400 IRpcStubBuffer* This, … … 8504 8427 IWineD3DVertexDeclaration **declaration, 8505 8428 IUnknown *parent, 8429 const struct wined3d_parent_ops *parent_ops, 8506 8430 const WINED3DVERTEXELEMENT *elements, 8507 8431 UINT element_count); … … 8515 8439 IWineD3DVertexDeclaration **declaration, 8516 8440 IUnknown *parent, 8441 const struct wined3d_parent_ops *parent_ops, 8517 8442 DWORD fvf); 8518 8443 void __RPC_STUB IWineD3DDevice_CreateVertexDeclarationFromFVF_Stub( … … 8526 8451 const struct wined3d_shader_signature *output_signature, 8527 8452 IWineD3DVertexShader **shader, 8528 IUnknown *parent); 8453 IUnknown *parent, 8454 const struct wined3d_parent_ops *parent_ops); 8529 8455 void __RPC_STUB IWineD3DDevice_CreateVertexShader_Stub( 8530 8456 IRpcStubBuffer* This, … … 8537 8463 const struct wined3d_shader_signature *output_signature, 8538 8464 IWineD3DPixelShader **shader, 8539 IUnknown *parent); 8465 IUnknown *parent, 8466 const struct wined3d_parent_ops *parent_ops); 8540 8467 void __RPC_STUB IWineD3DDevice_CreatePixelShader_Stub( 8541 8468 IRpcStubBuffer* This, … … 8572 8499 HRESULT STDMETHODCALLTYPE IWineD3DDevice_Uninit3D_Proxy( 8573 8500 IWineD3DDevice* This, 8574 ULONG (STDMETHODCALLTYPE * destroy_surface_callback)(IWineD3DSurface *pSurface),8575 8501 ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)); 8576 8502 void __RPC_STUB IWineD3DDevice_Uninit3D_Stub( … … 8822 8748 PRPC_MESSAGE pRpcMessage, 8823 8749 DWORD* pdwStubPhase); 8824 HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetInd ices_Proxy(8750 HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetIndexBuffer_Proxy( 8825 8751 IWineD3DDevice* This, 8826 8752 IWineD3DBuffer *index_buffer, 8827 8753 WINED3DFORMAT format); 8828 void __RPC_STUB IWineD3DDevice_SetInd ices_Stub(8829 IRpcStubBuffer* This, 8830 IRpcChannelBuffer* pRpcChannelBuffer, 8831 PRPC_MESSAGE pRpcMessage, 8832 DWORD* pdwStubPhase); 8833 HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetInd ices_Proxy(8754 void __RPC_STUB IWineD3DDevice_SetIndexBuffer_Stub( 8755 IRpcStubBuffer* This, 8756 IRpcChannelBuffer* pRpcChannelBuffer, 8757 PRPC_MESSAGE pRpcMessage, 8758 DWORD* pdwStubPhase); 8759 HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetIndexBuffer_Proxy( 8834 8760 IWineD3DDevice* This, 8835 8761 IWineD3DBuffer **index_buffer); 8836 void __RPC_STUB IWineD3DDevice_GetInd ices_Stub(8762 void __RPC_STUB IWineD3DDevice_GetIndexBuffer_Stub( 8837 8763 IRpcStubBuffer* This, 8838 8764 IRpcChannelBuffer* pRpcChannelBuffer, … … 9436 9362 HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitive_Proxy( 9437 9363 IWineD3DDevice* This, 9438 UINT min_vertex_idx,9439 UINT vertex_count,9440 9364 UINT start_idx, 9441 9365 UINT index_count); … … 9457 9381 HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitiveUP_Proxy( 9458 9382 IWineD3DDevice* This, 9459 UINT min_vertex_idx,9460 UINT vertex_count,9461 9383 UINT index_count, 9462 9384 const void *index_data, … … 9573 9495 IWineD3DClipper * STDMETHODCALLTYPE WineDirect3DCreateClipper(IUnknown *parent); 9574 9496 9497 void STDMETHODCALLTYPE wined3d_mutex_lock(void); 9498 9499 void STDMETHODCALLTYPE wined3d_mutex_unlock(void); 9500 9575 9501 /* Begin additional prototypes for all interfaces */ 9576 9502
Note:
See TracChangeset
for help on using the changeset viewer.