2 * Copyright 2000-2001 TransGaming Technologies Inc.
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.
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.
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
19 #ifndef WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED
20 #define WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED
22 HRESULT Main_DirectDrawPalette_Construct(IDirectDrawPaletteImpl* This,
23 IDirectDrawImpl* pDD, DWORD dwFlags);
24 void Main_DirectDrawPalette_final_release(IDirectDrawPaletteImpl* This);
28 Main_DirectDrawPalette_Create(IDirectDrawImpl* pDD, DWORD dwFlags,
29 LPDIRECTDRAWPALETTE* ppPalette,
31 void Main_DirectDrawPalette_ForceDestroy(IDirectDrawPaletteImpl* This);
34 DWORD Main_DirectDrawPalette_Size(DWORD dwFlags);
39 Main_DirectDrawPalette_GetEntries(LPDIRECTDRAWPALETTE iface, DWORD dwFlags,
40 DWORD dwStart, DWORD dwCount,
41 LPPALETTEENTRY palent);
43 Main_DirectDrawPalette_SetEntries(LPDIRECTDRAWPALETTE iface, DWORD dwFlags,
44 DWORD dwStart, DWORD dwCount,
45 LPPALETTEENTRY palent);
47 Main_DirectDrawPalette_Release(LPDIRECTDRAWPALETTE iface);
48 ULONG WINAPI Main_DirectDrawPalette_AddRef(LPDIRECTDRAWPALETTE iface);
50 Main_DirectDrawPalette_Initialize(LPDIRECTDRAWPALETTE iface,
51 LPDIRECTDRAW ddraw, DWORD dwFlags,
52 LPPALETTEENTRY palent);
54 Main_DirectDrawPalette_GetCaps(LPDIRECTDRAWPALETTE iface, LPDWORD lpdwCaps);
56 Main_DirectDrawPalette_QueryInterface(LPDIRECTDRAWPALETTE iface,
57 REFIID refiid, LPVOID *obj);