Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetBufferedPaintTargetRect
Collapse the table of content
Expand the table of content

GetBufferedPaintTargetRect function

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.

prc [out]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Uxtheme.h

DLL

UxTheme.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft