ID3D12VideoDecodeCommandList::Close method (d3d12video.h)
Indicates that recording to the command list has finished.
Syntax
HRESULT Close();
Return value
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
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |
DLL | d3d12.dll |