Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 2.44 KB

nf-d3d12video-id3d12videoprocesscommandlist-close.md

File metadata and controls

77 lines (61 loc) · 2.44 KB
UID title description helpviewer_keywords tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.redist req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d12video.ID3D12VideoProcessCommandList.Close
ID3D12VideoProcessCommandList::Close
Indicates that recording to the command list has finished. (ID3D12VideoProcessCommandList::Close)
ID3D12VideoProcessCommandList::Close
Close
ID3D12VideoProcessCommandList.Close
ID3D12VideoProcessCommandList::Close
ID3D12VideoProcessCommandList.Close
mf
2d8a7a37-32b4-4fb0-b8db-d8460624aa63
05/28/2019
ID3D12VideoProcessCommandList::Close, Close, ID3D12VideoProcessCommandList.Close, ID3D12VideoProcessCommandList::Close, ID3D12VideoProcessCommandList.Close
d3d12video.h
d3d12.dll
Windows
ID3D12VideoProcessCommandList::Close
d3d12video/ID3D12VideoProcessCommandList::Close
c++
apiref
COM
d3d12.dll
ID3D12VideoProcessCommandList::Close

ID3D12VideoProcessCommandList::Close

-description

Indicates that recording to the command list has finished.

-returns

Type: HRESULT

Returns S_OK if successful; otherwise, returns one of the following values:

  • E_FAIL if the command list has already been closed, or an invalid API was called during command list recording.
  • E_OUTOFMEMORY if the operating system ran out of memory during recording.
  • E_INVALIDARG if an invalid argument was passed to the command list API during recording.

See Direct3D 12 Return Codes for other possible return values.

-remarks

The runtime will validate that the command list has not previously been closed. If an error was encountered during recording, the error code is returned here. The runtime won't call the close device driver interface (DDI) in this case.

For an example of creating a command list, see ID3D12GraphicsCommandList::Close method

-see-also