Added LGPL standard comment, and copyright notices where necessary.
[wine] / dlls / ddraw / dsurface / fakezbuffer.h
1 /*
2  * Copyright 200 TransGaming Technologies Inc.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef DDRAW_DSURFACE_FAKEZBUFFER_H_INCLUDED
20 #define DDRAW_DSURFACE_FAKEZBUFFER_H_INCLUDED
21
22 struct FakeZBuffer_DirectDrawSurfaceImpl_Part
23 {
24 };
25
26 typedef struct
27 {
28     struct FakeZBuffer_DirectDrawSurfaceImpl_Part fakezbuffer;
29 } FakeZBuffer_DirectDrawSurfaceImpl;
30
31 HRESULT
32 FakeZBuffer_DirectDrawSurface_Construct(IDirectDrawSurfaceImpl* This,
33                                         IDirectDrawImpl* pDD,
34                                         const DDSURFACEDESC2* pDDSD);
35
36 HRESULT FakeZBuffer_DirectDrawSurface_Create(IDirectDrawImpl* pDD,
37                                              const DDSURFACEDESC2* pDDSD,
38                                              LPDIRECTDRAWSURFACE7* ppSurf,
39                                              IUnknown* pUnkOuter);
40
41 void
42 FakeZBuffer_DirectDrawSurface_final_release(IDirectDrawSurfaceImpl* This);
43
44 HRESULT
45 FakeZBuffer_DirectDrawSurface_duplicate_surface(IDirectDrawSurfaceImpl* This,
46                                                 LPDIRECTDRAWSURFACE7* ppDup);
47
48
49 #endif