Completes a buffered paint operation and frees the associated buffered paint handle.
Syntax
HRESULT EndBufferedPaint( HPAINTBUFFER hBufferedPaint, BOOL fUpdateTarget );
Parameters
hBufferedPaint The handle of the buffered paint context, obtained through BeginBufferedPaint.fUpdateTarget TRUE to copy the buffer to the target device context (DC).
Return Value
Returns S_OK if successful, or an error value otherwise.
Function Information
Stock ImplementationUxTheme.dllCustom ImplementationNoHeaderuxtheme.hImport libraryNoneMinimum operating systems Windows Vista