Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EndBufferedPaint function (uxtheme.h)

Completes a buffered paint operation and frees the associated buffered paint handle.

Syntax

HRESULT EndBufferedPaint(
 HPAINTBUFFER hBufferedPaint,
 BOOL fUpdateTarget
);

Parameters

hBufferedPaint

Type: HPAINTBUFFER

The handle of the buffered paint context, obtained through BeginBufferedPaint.

fUpdateTarget

Type: BOOL

TRUE to copy the buffer to the target DC.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header uxtheme.h
Library UxTheme.lib
DLL UxTheme.dll

Feedback

Was this page helpful?

Additional resources