GetBufferedPaintTargetDC function (uxtheme.h)

Retrieves the target device context (DC).

Syntax

HDC GetBufferedPaintTargetDC(
  HPAINTBUFFER hBufferedPaint
);

Parameters

hBufferedPaint

Type: HPAINTBUFFER

A handle to the buffered paint context obtained through BeginBufferedPaint.

Return value

Type: HDC

A handle to the requested DC, or NULL otherwise.

Remarks

If successful, this function returns the target DC that was passed by the application to BeginBufferedPaint.

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
DLL UxTheme.dll