Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.