ReactOS 0.4.15-dev-7934-g1dc8d80
buffer.c
Go to the documentation of this file.
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 "uxthemep.h"
22
23/***********************************************************************
24 * BufferedPaintInit (UXTHEME.@)
25 */
27{
28 FIXME("Stub ()\n");
29 return S_OK;
30}
31
32/***********************************************************************
33 * BufferedPaintUnInit (UXTHEME.@)
34 */
36{
37 FIXME("Stub ()\n");
38 return S_OK;
39}
40
41/***********************************************************************
42 * BeginBufferedPaint (UXTHEME.@)
43 */
45 const RECT * prcTarget,
46 BP_BUFFERFORMAT dwFormat,
47 BP_PAINTPARAMS *pPaintParams,
48 HDC *phdc)
49{
50 static int i;
51
52 TRACE("Stub (%p %p %d %p %p)\n", hdcTarget, prcTarget, dwFormat,
53 pPaintParams, phdc);
54
55 if (!i++)
56 FIXME("Stub (%p %p %d %p %p)\n", hdcTarget, prcTarget, dwFormat,
57 pPaintParams, phdc);
58 return NULL;
59}
60
61
62/***********************************************************************
63 * EndBufferedPaint (UXTHEME.@)
64 */
65HRESULT WINAPI EndBufferedPaint(HPAINTBUFFER hPaintBuffer, BOOL fUpdateTarget)
66{
67 FIXME("Stub (%p %d)\n", hPaintBuffer, fUpdateTarget);
68 return S_OK;
69}
70
71#ifndef __REACTOS__
72
73/***********************************************************************
74 * BufferedPaintClear (UXTHEME.@)
75 */
77{
78 FIXME("Stub (%p %p)\n", hBufferedPaint, prc);
79 return E_NOTIMPL;
80}
81
82/***********************************************************************
83 * BufferedPaintSetAlpha (UXTHEME.@)
84 */
86{
87 FIXME("Stub (%p %p %u)\n", hBufferedPaint, prc, alpha);
88 return E_NOTIMPL;
89}
90
91/***********************************************************************
92 * GetBufferedPaintBits (UXTHEME.@)
93 */
95 int *pcxRow)
96{
97 FIXME("Stub (%p %p %p)\n", hBufferedPaint, ppbBuffer, pcxRow);
98 return E_NOTIMPL;
99}
100
101/***********************************************************************
102 * GetBufferedPaintDC (UXTHEME.@)
103 */
105{
106 FIXME("Stub (%p)\n", hBufferedPaint);
107 return NULL;
108}
109
110/***********************************************************************
111 * GetBufferedPaintTargetDC (UXTHEME.@)
112 */
114{
115 FIXME("Stub (%p)\n", hBufferedPaint);
116 return NULL;
117}
118
119/***********************************************************************
120 * GetBufferedPaintTargetRect (UXTHEME.@)
121 */
123{
124 FIXME("Stub (%p %p)\n", hBufferedPaint, prc);
125 return E_NOTIMPL;
126}
127
128/***********************************************************************
129 * BeginBufferedAnimation (UXTHEME.@)
130 */
131HANIMATIONBUFFER WINAPI BeginBufferedAnimation(HWND hwnd, HDC hdcTarget, const RECT *rcTarget,
132 BP_BUFFERFORMAT dwFormat, BP_PAINTPARAMS *pPaintParams,
133 BP_ANIMATIONPARAMS *pAnimationParams, HDC *phdcFrom,
134 HDC *phdcTo)
135{
136 FIXME("Stub (%p %p %p %u %p %p %p %p)\n", hwnd, hdcTarget, rcTarget, dwFormat,
137 pPaintParams, pAnimationParams, phdcFrom, phdcTo);
138
139 return NULL;
140}
141
142/***********************************************************************
143 * BufferedPaintRenderAnimation (UXTHEME.@)
144 */
146{
147 FIXME("Stub (%p %p)\n", hwnd, hdcTarget);
148
149 return FALSE;
150}
151
152/***********************************************************************
153 * BufferedPaintStopAllAnimations (UXTHEME.@)
154 */
156{
157 FIXME("Stub (%p)\n", hwnd);
158
159 return E_NOTIMPL;
160}
161
162/***********************************************************************
163 * EndBufferedAnimation (UXTHEME.@)
164 */
165HRESULT WINAPI EndBufferedAnimation(HANIMATIONBUFFER hbpAnimation, BOOL fUpdateTarget)
166{
167 FIXME("Stub (%p %u)\n", hbpAnimation, fUpdateTarget);
168
169 return E_NOTIMPL;
170}
171
172#endif /* __REACTOS__ */
HDC hdcTarget
Definition: PatBlt.c:13
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
HRESULT WINAPI GetBufferedPaintBits(HPAINTBUFFER hBufferedPaint, RGBQUAD **ppbBuffer, int *pcxRow)
Definition: buffer.c:94
HDC WINAPI GetBufferedPaintTargetDC(HPAINTBUFFER hBufferedPaint)
Definition: buffer.c:113
HRESULT WINAPI EndBufferedAnimation(HANIMATIONBUFFER hbpAnimation, BOOL fUpdateTarget)
Definition: buffer.c:165
HRESULT WINAPI BufferedPaintSetAlpha(HPAINTBUFFER hBufferedPaint, const RECT *prc, BYTE alpha)
Definition: buffer.c:85
HRESULT WINAPI BufferedPaintUnInit(VOID)
Definition: buffer.c:35
HRESULT WINAPI BufferedPaintStopAllAnimations(HWND hwnd)
Definition: buffer.c:155
HDC WINAPI GetBufferedPaintDC(HPAINTBUFFER hBufferedPaint)
Definition: buffer.c:104
HRESULT WINAPI EndBufferedPaint(HPAINTBUFFER hPaintBuffer, BOOL fUpdateTarget)
Definition: buffer.c:65
BOOL WINAPI BufferedPaintRenderAnimation(HWND hwnd, HDC hdcTarget)
Definition: buffer.c:145
HRESULT WINAPI BufferedPaintClear(HPAINTBUFFER hBufferedPaint, const RECT *prc)
Definition: buffer.c:76
HANIMATIONBUFFER WINAPI BeginBufferedAnimation(HWND hwnd, HDC hdcTarget, const RECT *rcTarget, BP_BUFFERFORMAT dwFormat, BP_PAINTPARAMS *pPaintParams, BP_ANIMATIONPARAMS *pAnimationParams, HDC *phdcFrom, HDC *phdcTo)
Definition: buffer.c:131
HRESULT WINAPI GetBufferedPaintTargetRect(HPAINTBUFFER hBufferedPaint, RECT *prc)
Definition: buffer.c:122
HRESULT WINAPI BufferedPaintInit(VOID)
Definition: buffer.c:26
HPAINTBUFFER WINAPI BeginBufferedPaint(HDC hdcTarget, const RECT *prcTarget, BP_BUFFERFORMAT dwFormat, BP_PAINTPARAMS *pPaintParams, HDC *phdc)
Definition: buffer.c:44
ULONG RGBQUAD
Definition: precomp.h:59
unsigned int BOOL
Definition: ntddk_ex.h:94
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define S_OK
Definition: intsafe.h:52
static HDC
Definition: imagelist.c:92
static const RECT BP_BUFFERFORMAT
Definition: system.c:30
static HPAINTBUFFER(WINAPI *pBeginBufferedPaint)(HDC
_Out_ LPRECT prc
Definition: ntgdi.h:1658
#define TRACE(s)
Definition: solgame.cpp:4
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
#define WINAPI
Definition: msvc.h:6
unsigned char BYTE
Definition: xxhash.c:193