IDCompositionDevice2::WaitForCommitCompletion method

Waits for the composition engine to finish processing the previous call to the IDCompositionDevice2::Commit method.

Syntax


HRESULT WaitForCommitCompletion();

Parameters

This method has no parameters.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionDevice2

 

 

Show: