Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming...
[wine] / dlls / ddraw / dsurface / fakezbuffer.h
1 /* Copyright 200 TransGaming Technologies Inc. */
2
3 #ifndef DDRAW_DSURFACE_FAKEZBUFFER_H_INCLUDED
4 #define DDRAW_DSURFACE_FAKEZBUFFER_H_INCLUDED
5
6 struct FakeZBuffer_DirectDrawSurfaceImpl_Part
7 {
8 };
9
10 typedef struct
11 {
12     struct FakeZBuffer_DirectDrawSurfaceImpl_Part fakezbuffer;
13 } FakeZBuffer_DirectDrawSurfaceImpl;
14
15 HRESULT
16 FakeZBuffer_DirectDrawSurface_Construct(IDirectDrawSurfaceImpl* This,
17                                         IDirectDrawImpl* pDD,
18                                         const DDSURFACEDESC2* pDDSD);
19
20 HRESULT FakeZBuffer_DirectDrawSurface_Create(IDirectDrawImpl* pDD,
21                                              const DDSURFACEDESC2* pDDSD,
22                                              LPDIRECTDRAWSURFACE7* ppSurf,
23                                              IUnknown* pUnkOuter);
24
25 void
26 FakeZBuffer_DirectDrawSurface_final_release(IDirectDrawSurfaceImpl* This);
27
28 HRESULT
29 FakeZBuffer_DirectDrawSurface_duplicate_surface(IDirectDrawSurfaceImpl* This,
30                                                 LPDIRECTDRAWSURFACE7* ppDup);
31
32
33 #endif