wined3d: Pass a texture and sub-resource index to wined3d_volume_download_data().
[wine.git] / dlls / uxtheme / buffer.c
blob8583f1a704240e56d520f09013a8e072d6b6f3d8
1 /*
2 * uxtheme Double-buffered Drawing API
4 * Copyright (C) 2008 Reece H. Dunn
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "config.h"
23 #include <stdlib.h>
24 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winuser.h"
29 #include "wingdi.h"
30 #include "vfwmsgs.h"
31 #include "uxtheme.h"
33 #include "wine/debug.h"
35 WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
37 /***********************************************************************
38 * BufferedPaintInit (UXTHEME.@)
40 HRESULT WINAPI BufferedPaintInit(VOID)
42 FIXME("Stub ()\n");
43 return S_OK;
46 /***********************************************************************
47 * BufferedPaintUnInit (UXTHEME.@)
49 HRESULT WINAPI BufferedPaintUnInit(VOID)
51 FIXME("Stub ()\n");
52 return S_OK;
55 /***********************************************************************
56 * BeginBufferedPaint (UXTHEME.@)
58 HPAINTBUFFER WINAPI BeginBufferedPaint(HDC hdcTarget,
59 const RECT * prcTarget,
60 BP_BUFFERFORMAT dwFormat,
61 BP_PAINTPARAMS *pPaintParams,
62 HDC *phdc)
64 static int i;
66 TRACE("Stub (%p %p %d %p %p)\n", hdcTarget, prcTarget, dwFormat,
67 pPaintParams, phdc);
69 if (!i++)
70 FIXME("Stub (%p %p %d %p %p)\n", hdcTarget, prcTarget, dwFormat,
71 pPaintParams, phdc);
72 return NULL;
76 /***********************************************************************
77 * EndBufferedPaint (UXTHEME.@)
79 HRESULT WINAPI EndBufferedPaint(HPAINTBUFFER hPaintBuffer, BOOL fUpdateTarget)
81 FIXME("Stub (%p %d)\n", hPaintBuffer, fUpdateTarget);
82 return S_OK;
85 /***********************************************************************
86 * BufferedPaintClear (UXTHEME.@)
88 HRESULT WINAPI BufferedPaintClear(HPAINTBUFFER hBufferedPaint, const RECT *prc)
90 FIXME("Stub (%p %p)\n", hBufferedPaint, prc);
91 return E_NOTIMPL;
94 /***********************************************************************
95 * BufferedPaintSetAlpha (UXTHEME.@)
97 HRESULT WINAPI BufferedPaintSetAlpha(HPAINTBUFFER hBufferedPaint, const RECT *prc, BYTE alpha)
99 FIXME("Stub (%p %p %u)\n", hBufferedPaint, prc, alpha);
100 return E_NOTIMPL;
103 /***********************************************************************
104 * GetBufferedPaintBits (UXTHEME.@)
106 HRESULT WINAPI GetBufferedPaintBits(HPAINTBUFFER hBufferedPaint, RGBQUAD **ppbBuffer,
107 int *pcxRow)
109 FIXME("Stub (%p %p %p)\n", hBufferedPaint, ppbBuffer, pcxRow);
110 return E_NOTIMPL;
113 /***********************************************************************
114 * GetBufferedPaintDC (UXTHEME.@)
116 HDC WINAPI GetBufferedPaintDC(HPAINTBUFFER hBufferedPaint)
118 FIXME("Stub (%p)\n", hBufferedPaint);
119 return NULL;
122 /***********************************************************************
123 * GetBufferedPaintTargetDC (UXTHEME.@)
125 HDC WINAPI GetBufferedPaintTargetDC(HPAINTBUFFER hBufferedPaint)
127 FIXME("Stub (%p)\n", hBufferedPaint);
128 return NULL;
131 /***********************************************************************
132 * GetBufferedPaintTargetRect (UXTHEME.@)
134 HRESULT WINAPI GetBufferedPaintTargetRect(HPAINTBUFFER hBufferedPaint, RECT *prc)
136 FIXME("Stub (%p %p)\n", hBufferedPaint, prc);
137 return E_NOTIMPL;
140 /***********************************************************************
141 * BeginBufferedAnimation (UXTHEME.@)
143 HANIMATIONBUFFER WINAPI BeginBufferedAnimation(HWND hwnd, HDC hdcTarget, const RECT *rcTarget,
144 BP_BUFFERFORMAT dwFormat, BP_PAINTPARAMS *pPaintParams,
145 BP_ANIMATIONPARAMS *pAnimationParams, HDC *phdcFrom,
146 HDC *phdcTo)
148 FIXME("Stub (%p %p %p %u %p %p %p %p)\n", hwnd, hdcTarget, rcTarget, dwFormat,
149 pPaintParams, pAnimationParams, phdcFrom, phdcTo);
151 return NULL;
154 /***********************************************************************
155 * BufferedPaintRenderAnimation (UXTHEME.@)
157 BOOL WINAPI BufferedPaintRenderAnimation(HWND hwnd, HDC hdcTarget)
159 FIXME("Stub (%p %p)\n", hwnd, hdcTarget);
161 return FALSE;
164 /***********************************************************************
165 * BufferedPaintStopAllAnimations (UXTHEME.@)
167 HRESULT WINAPI BufferedPaintStopAllAnimations(HWND hwnd)
169 FIXME("Stub (%p)\n", hwnd);
171 return E_NOTIMPL;
174 /***********************************************************************
175 * EndBufferedAnimation (UXTHEME.@)
177 HRESULT WINAPI EndBufferedAnimation(HANIMATIONBUFFER hbpAnimation, BOOL fUpdateTarget)
179 FIXME("Stub (%p %u)\n", hbpAnimation, fUpdateTarget);
181 return E_NOTIMPL;