Added LGPL standard comment, and copyright notices where necessary.
[wine] / dlls / ddraw / dclipper / main.h
1 /*
2  * Copyright 2000 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 WINE_DDRAW_DCLIPPER_MAIN_H_INCLUDED
20 #define WINE_DDRAW_DCLIPPER_MAIN_H_INCLUDED
21
22 HRESULT WINAPI DirectDrawCreateClipper(DWORD dwFlags,
23                                        LPDIRECTDRAWCLIPPER* ppClipper,
24                                        LPUNKNOWN pUnkOuter);
25 HRESULT DDRAW_CreateClipper(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppObj);
26 void Main_DirectDrawClipper_ForceDestroy(IDirectDrawClipperImpl* This);
27
28 HRESULT WINAPI
29 Main_DirectDrawClipper_SetHwnd(LPDIRECTDRAWCLIPPER iface, DWORD dwFlags,
30                                HWND hWnd);
31 ULONG WINAPI Main_DirectDrawClipper_Release(LPDIRECTDRAWCLIPPER iface);
32 HRESULT WINAPI
33 Main_DirectDrawClipper_GetClipList(LPDIRECTDRAWCLIPPER iface,LPRECT prcClip,
34                                    LPRGNDATA lprgn,LPDWORD pdwSize);
35 HRESULT WINAPI
36 Main_DirectDrawClipper_SetClipList(LPDIRECTDRAWCLIPPER iface,LPRGNDATA lprgn,
37                                    DWORD pdwSize);
38 HRESULT WINAPI
39 Main_DirectDrawClipper_QueryInterface(LPDIRECTDRAWCLIPPER iface, REFIID riid,
40                                       LPVOID* ppvObj);
41 ULONG WINAPI Main_DirectDrawClipper_AddRef( LPDIRECTDRAWCLIPPER iface );
42 HRESULT WINAPI
43 Main_DirectDrawClipper_GetHWnd(LPDIRECTDRAWCLIPPER iface, HWND* hWndPtr);
44 HRESULT WINAPI
45 Main_DirectDrawClipper_Initialize(LPDIRECTDRAWCLIPPER iface, LPDIRECTDRAW lpDD,
46                                   DWORD dwFlags);
47 HRESULT WINAPI
48 Main_DirectDrawClipper_IsClipListChanged(LPDIRECTDRAWCLIPPER iface,
49                                          BOOL* lpbChanged);
50
51 #endif