ID3D12VideoEncodeCommandList::Reset method (d3d12video.h)
Resets a command list back to its initial state as if a new command list was just created.
HRESULT Reset( ID3D12CommandAllocator *pAllocator );
A pointer to the ID3D12CommandAllocator object that the device creates command lists from.
Returns S_OK if successful; otherwise, returns one of the following values:
- E_FAIL if the command list was not in the "closed" state when the Reset call was made, or the per-device limit would have been exceeded.
- E_OUTOFMEMORY if the operating system ran out of memory.
- E_INVALIDARG if the allocator is currently being used with another command list in the "recording" state or if the specified allocator was created with the wrong type.
For additional information and examples of using this method, see ID3D12GraphicsCommandList::Reset method
|Minimum supported client||Windows 10, version 2004 (10.0; Build 19041)|
|Minimum supported server||Windows Server, version 2004 (10.0; Build 19041)|