Note

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

Access to this page requires authorization. You can try .

GetBufferedPaintTargetRect function (uxtheme.h)

Retrieves the target rectangle specified by BeginBufferedPaint.

Syntax

HRESULT GetBufferedPaintTargetRect(
 HPAINTBUFFER hBufferedPaint,
 [out] RECT *prc
);

Parameters

hBufferedPaint

Type: HPAINTBUFFER

Handle to the buffered paint context obtained through BeginBufferedPaint.

[out] prc

Type: RECT*

When this function returns, contains the requested rectangle.

Return value

Type: HRESULT

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

Remarks

If this function fails, the RECT structure at prc is set to empty.

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