Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 841 Bytes

d1152.md

File metadata and controls

38 lines (24 loc) · 841 Bytes
title ms.assetid description keywords topic_type api_name api_type ms.topic ms.date
D1152 Command List Closed Twice
d0dc7de3-a993-404b-bdbb-07b7dc8faee6
An attempt was made to close a command list for a second time.
D1152 Command List Closed Twice Direct2D
apiref
D1152 Command List Closed Twice
NA
reference
05/31/2018

D1152: Command List Closed Twice

An attempt was made to close a command list for a second time.

 

Possible Causes

After populating a command list, it need only be closed once. Direct2D considers subsequent calls to ID2D1CommandList::Close to be an error.

Possible Fixes

To avoid this message, ensure that a command list is only closed once. If an application uses callbacks or recursive code paths to interact with command lists, ensure that its behavior is correct.