msi/tests: Avoid a TRUE:FALSE conditional expression.
[wine/multimedia.git] / dlls / uxtheme / buffer.c
blobf4d8229b5a2d55939f69a6efb41503eef13a6239
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;