Note

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

Access to this page requires authorization. You can try .

GetBufferedPaintDC function (uxtheme.h)

Gets the paint device context (DC). This is the same value retrieved by BeginBufferedPaint.

Syntax

HDC GetBufferedPaintDC(
 HPAINTBUFFER hBufferedPaint
);

Parameters

hBufferedPaint

Type: HPAINTBUFFER

Handle of the buffered paint context, obtained through BeginBufferedPaint.

Return value

Type: HDC

Handle of the requested DC. This is the same DC that is returned by BeginBufferedPaint. Returns NULL upon failure.

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