Export (0) Print
Expand All
Expand Minimize

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:
© 2014 Microsoft