IDCompositionSurface::ResumeDraw method

Resumes drawing on this Microsoft DirectComposition surface object.

Syntax


HRESULT ResumeDraw();

Parameters

This method has no parameters.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code, which can include DCOMPOSITION_ERROR_SURFACE_BEING_RENDERED and DCOMPOSITION_ERROR_SURFACE_NOT_BEING_RENDERED.

Remarks

This method allows the surface update to continue unless there are other surfaces that have active, unsuspended draws.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionSurface
IDCompositionSurface::SuspendDraw

 

 

Community Additions

ADD
Show:
© 2014 Microsoft