oleaut32/tests: COM cleanup for usrmarshal.c.
[wine] / dlls / uxtheme / buffer.c
1 /*
2  * uxtheme Double-buffered Drawing API
3  *
4  * Copyright (C) 2008 Reece H. Dunn
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #include "config.h"
22
23 #include <stdlib.h>
24 #include <stdarg.h>
25
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winuser.h"
29 #include "wingdi.h"
30 #include "vfwmsgs.h"
31 #include "uxtheme.h"
32
33 #include "wine/debug.h"
34
35 WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
36
37 /***********************************************************************
38  *      BufferedPaintInit                                  (UXTHEME.@)
39  */
40 HRESULT WINAPI BufferedPaintInit(VOID)
41 {
42     FIXME("Stub ()\n");
43     return S_OK;
44 }
45
46 /***********************************************************************
47  *      BufferedPaintUnInit                                (UXTHEME.@)
48  */
49 HRESULT WINAPI BufferedPaintUnInit(VOID)
50 {
51     FIXME("Stub ()\n");
52     return S_OK;
53 }
54
55 /***********************************************************************
56  *      BeginBufferedPaint                                 (UXTHEME.@)
57  */
58 HPAINTBUFFER WINAPI BeginBufferedPaint(HDC hdcTarget,
59                                        const RECT * prcTarget,
60                                        BP_BUFFERFORMAT dwFormat,
61                                        BP_PAINTPARAMS *pPaintParams,
62                                        HDC *phdc)
63 {
64     static int i;
65
66     TRACE("Stub (%p %p %d %p %p)\n", hdcTarget, prcTarget, dwFormat,
67           pPaintParams, phdc);
68
69     if (!i++)
70         FIXME("Stub (%p %p %d %p %p)\n", hdcTarget, prcTarget, dwFormat,
71               pPaintParams, phdc);
72     return NULL;
73 }
74
75
76 /***********************************************************************
77  *      EndBufferedPaint                                   (UXTHEME.@)
78  */
79 HRESULT WINAPI EndBufferedPaint(HPAINTBUFFER hPaintBuffer, BOOL fUpdateTarget)
80 {
81     FIXME("Stub (%p %d)\n", hPaintBuffer, fUpdateTarget);
82     return S_OK;
83 }